QuestionOPK

Posts 1–14 of 14 · Page 1 of 1
OPK
hi im trying to make OPK

Code:
struct CPlayer
{ 
    char ch_unknown1 [50236]; 
    float Recoil1; 
    float Recoil2; 
    float Recoil3; 
    char ch_unknown2 [96]; 
    float Gravity_Y; 
    char ch_unknown3 [15904]; 
    float FallDamage; 
    char ch_unknown4 [20]; 
    float pos1; 
    char ch_unknown5 [4]; 
    float pos2; 
    char ch_unknown6 [4]; 
    float pos3; 
};

struct CBase
{
         CPlayer* local;         
        char unknown0[72];      
         CPlayer** player;        
};


DWORD Playerp = *(DWORD*)ADR_PLAYERPTR;
CBase* pBase = (CBase*)Playerp;

 for(int i = 0; i < 32; i++)
		 {
			CPlayer* pPlayer = pBase>player[i];
			pPlayer->pos1=0;
			pPlayer->pos3=0;
			pPlayer->pos2=0;
         }
but when im trying to open opk it crasht. Can anyone help me?
You need new Structs dude.
can you help me.How can i find structs. or can you give me^^
Code:
struct CPlayer
{
		char unknown0[50320]; //0x0000
	BYTE index; //0xC490  
		char unknown50321[27]; //0xC491
	CVehicle* pVehicle; //0xC4AC  
		char unknown50352[15588]; //0xC4B0
	float pitch; //0x10194  
	float yaw; //0x10198  
		char unknown65948[156]; //0x1019C
	BYTE state; //0x10238  
		char unknown66105[19]; //0x10239
	float pos1; //0x1024C  
	float pos2; //0x10250  
	float pos3; //0x10254  
		char unknown66136[136]; //0x10258
	float zombie1; //0x102E0  
		char unknown66276[4]; //0x102E4
	float zombie2; //0x102E8  
		char unknown66284[4]; //0x102EC
	float zombie3; //0x102F0  
		char unknown66292[16716]; //0x102F4
};//Size=0x17C40(97344)
CBase highly private. Find UserPtr and do it urself. The general answer is "learn to code".
We do not give anything if we do not receive somethings.
You are register here only for ask help for OPK. Help other user, and u get help also.
I have UserPtr what i must do now
and char unknown0[50320]; how can i find this numbers(50320)
Hex 0xC490 = Dec 50320
I know that my question is

char unknown65948[156];
why 156??
char unknown66105[19];
or why 19 what it means? Thx
That numbers are the Offset converted in Decimal.
OK thx .......
On Warrock.exe. Learn to use OllyDgb and go to find them.
struct CBase
{
CPlayer* plocal; //0x000000
char unknown0[1169876]; //0x000004
CPlayer** player; //0x11D9B4
};
CBase* pBase = (CBase*)0x9E27B0;

OPK:

void OPKThread()
{
for(;
{
DWORD Playerx = *(DWORD*)ADR_PLAYERPOINTER;
if(Playerx== 0) Sleep(20);


if(nPlayerOPK==0)Sleep(20);
if (Playerx != 0)
{
if (nPlayerOPK == 1)
{
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayer = pBase->player[i];
pPlayer->pos1=0;
pPlayer->pos3=0;
pPlayer->pos2=0;
}
}
}
}
}

Have Fun :P
thanks so much,SK1LL0R you are best
Thread closed.
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us