PDA

View Full Version : AssaultCube Info.


Tim0n
05-14-2008, 09:44 PM
Ok for all you guys who haven't bothered cause you don't want to find the adresses/offsets heres some. If ya need any clarification feel free to ask.

*translated to work with the public warrock trainer just change the following:*

//Form1.cpp
hWnd = FindWindow( NULL, "AssaultCube" );

//Change GetPointer address to 0045E71C.

//Timer...form1.h

int i_HealthArmor = 10000;
int i_Nades = 100;

memcpy_ex( (void*)((GetPointer()) + 0xC0), &i_HealthArmor, sizeof(int)); //Health
memcpy_ex( (void*)((GetPointer()) + 0xC4), &i_HealthArmor, sizeof(int)); //Armor
memcpy_ex( (void*)((GetPointer()) + 0x120), &i_Nades, sizeof(int)); //Nades

Little bit of info here:

0045E71C is your entity pointer :D
Z offset is 0x8.

P.S. there is other ways to do this of course such as by nopping where your ammo decreases etc.