Hey,
Thank me if you like !
Code:
if (CH_PanicKey == 1)
{
if( GetAsyncKeyState( VK_CONTROL))
{
if( GetAsyncKeyState( VK_SPACE))
{
ExitGame(0);
}
}
}
Code:
if(CH_teleport == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;
PositionX = *(float*)(dwPlayerPtr + OFS_X);
PositionY = *(float*)(dwPlayerPtr + OFS_Y);
PositionZ = *(float*)(dwPlayerPtr + OFS_Z);
if(GetAsyncKeyState(VK_F10)&1){
Telx = PositionX;
Tely = PositionY;
Telz = PositionZ;}
if(GetAsyncKeyState(VK_F11)&1){
*(float*)(dwPlayerPtr + OFS_X) = Telx;
*(float*)(dwPlayerPtr + OFS_Y) = Tely;
*(float*)(dwPlayerPtr + OFS_Z) = Telz;
}
}
}
Code:
if (CH_SP==1)
{
*(int*)(ADR_STAM5) = 1;
}
if (CH_SP==2)
{
*(int*)(ADR_STAM10) = 1;
}
Code:
if(CH_WeaponHack == 1)
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;
}
}
}
Code:
if(CH_Fog == 0)
{
*(float*)OFS_NOFOG = 1166127104;//far fog address
*(float*)OFS_NEARFOG = 1166127104; //nerfog addres
}
Code:
if(CH_RollSpeed == 1)
{
*(float*)(ADR_SPEEDROLL)= 250;
}
Code:
if(CH_Dig == 1)
{
if(GetAsyncKeyState(VK_HOME) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
*(float*)(dwPlayerPtr+OFS_Z) = -2000;
}
}
Code:
if(CH_Gravity == 1)
{
{
*(float*)(ADR_PLAYERPOINTER+OFS_GRAVITY) = 800.0f;
}
}
Code:
if(CH_Fastrepair == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTREPAIR = 5000000;
}
}
Code:
if(CH_Fasthealt == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTHEALTH = 5000000;
}
}
Code:
if(CH_Fastflag == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTFLAG = 5000000;
}
}
Code:
if(CH_Fastammo == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTAMMO = 5000000;
}
}
Code:
if(CH_fullbright == 1)
{
*(int*)(ADR_FULLBRIGHT1) = 1092779973;
*(int*)(ADR_FULLBRIGHT2) = 1092779973;
*(int*)(ADR_FULLBRIGHT3) = 1092779973;
}
Code:
if(CH_Nospawn ==1)
{
*(float*) ADR_NOSPAWN1 = 0;
*(float*) ADR_NOSPAWN2 = 0;
*(float*) ADR_NOSPAWN3 = 0;
}
Code:
if(CH_speedhack == 1)
{
*(float*) ADR_SPEED = 250;
}
Code:
if(CH_Superjump == 1)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 500;
}
}
}
Code:
if(CH_nobound == 1)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOBOUNDS3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS3, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS3, sizeof(t), Protection, 0);
}
Code:
if (CH_WTW==1){
DWORD dwPlayerPointer = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPointer != 0){
WriteAsm((void *)ADR_WTW,NOPS,3);
}
}else {
if (CH_WTW==0){
WriteAsm((void *)ADR_WTW,WTWOFF,3);
}
}
Code:
if(CH_slot == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_5SLOT) = 1;
}
}
Code:
if(CH_level == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_LEVEL) = 1400000;
}
}
Code:
if(CH_dinar == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_DINAR) = 0;
}
}
Code:
if(CH_Prone == 0)
{
WriteAsm((void *)ADR_PRONE,PRONEOFF,2);
}
if (CH_Prone==1)
{
WriteAsm((void *)ADR_PRONE,NOPS,2);
}
Code:
if(CH_nowater == 1)
{
*(int*)(ADR_NOWATER) = 0;
}else{
*(int*)(ADR_NOWATER) = 1;
}
Code:
MEMwrite((void *)(EhSvc+0x2B598),(void*)(PBYTE)"\x31",1);
Thanks me if you like it!, also visit my other thread with source codes!