Code:
if (CH_Anti==0)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x35c) = 0.0f;
}
}
else
{
if (CH_Anti==1)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x35c) = 5.0f;
}
}
}
if (site)
{
if(GetAsyncKeyState(VK_F12) &1)
{
ShellExecute(NULL, "open", "www.ultimate-gamerz.net",
NULL, NULL, SW_SHOWNORMAL);
}
}
if (CH_Nospread==1)
{
*(int*)(spread_addie1) = 0;
}
if (CH_Norecoil)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x2F4) = 0;
*(float*)(dwPlayerPtr+0x2F8) = 0;
*(float*)(dwPlayerPtr+0x2FC) = 0;
}
}
if (Stamina)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x2A4) = 100;
}
}
if (Jump)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x190) = 2000;
}
}
}
if (NFD)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x27C) = -20000;
}
}
if ( CH_Dig )
{
if(GetAsyncKeyState(VK_F3) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x190) = -2000;
}
}
}
if (CH_Spawn)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)spawn_Addie1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)spawn_Addie1, &t , sizeof(t));
VirtualProtect((void*)spawn_Addie1, sizeof(t), Protection, 0);
VirtualProtect((void*)spawn_Addie2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)spawn_Addie2, &t , sizeof(t));
VirtualProtect((void*)spawn_Addie2, sizeof(t), Protection, 0);
}
if (Weapons==1)//So for your next weapon it will be: Weapons==2
{
if(GetAsyncKeyState(VK_F5) &1)//With Numpad 1 as Hotkey
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x4C) = 70;
}
}
}
if (CH_Adren)
{
if(GetAsyncKeyState(VK_F6) &1)//change to your hot key
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x4C) = 82;//new weapon id will bring shotgun out
}
}
}
if (CH_Skywalk==1){
DWORD dwPlayerPointer = *(DWORD*)Player_Pointer;
if(dwPlayerPointer != 0)
{
*(float*)(dwPlayerPointer + 0x190) = 2000.0f;
}
}
if (Mapname)
{
sprintf (maapname, "Mapname = %s", (ADR_MAPNAME));
DrawText(maapname, 400,50, D3DCOLOR_ARGB( 255,160,32,240 ), cba4321);
}
if (CH_Nobounds)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)nobounds_Addie1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)nobounds_Addie1, &t , sizeof(t));
VirtualProtect((void*)nobounds_Addie1, sizeof(t), Protection, 0);
VirtualProtect((void*)nobounds_Addie2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)nobounds_Addie2, &t , sizeof(t));
VirtualProtect((void*)nobounds_Addie2, sizeof(t), Protection, 0);
}
if (premium==1)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x364) = 0;
}
}
if (premium==2)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x364) = 1;
}
}
if (premium==3)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x364) = 2;
}
}
if (premium==4)
{
DWORD dwPlayerPtr = *(DWORD*)Server_Addie1;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x364) = 3;
}
}
if (sleath_stamina == 1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 0) {
*(float*)(dwPlayerPtr+0x2A4) = 0;
}
}
}
if (sleath_stamina == 2)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 10) {
*(float*)(dwPlayerPtr+0x2A4) = 10;
}
}
}
if (sleath_stamina == 3)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 20) {
*(float*)(dwPlayerPtr+0x2A4) = 20;
}
}
}
if (sleath_stamina == 4)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 30) {
*(float*)(dwPlayerPtr+0x2A4) = 30;
}
}
}
if (sleath_stamina == 5)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 40) {
*(float*)(dwPlayerPtr+0x2A4) = 40;
}
}
}
if (sleath_stamina == 6)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 50) {
*(float*)(dwPlayerPtr+0x2A4) = 50;
}
}
}
if (sleath_stamina == 7)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 60) {
*(float*)(dwPlayerPtr+0x2A4) = 60;
}
}
}
if (sleath_stamina == 8)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 70) {
*(float*)(dwPlayerPtr+0x2A4) = 70;
}
}
}
if (sleath_stamina == 9)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 80) {
*(float*)(dwPlayerPtr+0x2A4) = 80;
}
}
}
if (sleath_stamina == 10)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 90) {
*(float*)(dwPlayerPtr+0x2A4) = 90;
}
}
}
if (sleath_stamina == 10)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
if(*(float*)(dwPlayerPtr+0x2A4) <= 100) {
*(float*)(dwPlayerPtr+0x2A4) = 100;
}
}
}
if (superjump==1)
{
}
if (superjump==2)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x190) = 500;
}
}
}
if (superjump==3)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x190) = 1000;
}
}
}
if (superjump==4)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Player_Pointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x190) = 1500;
}
}
}
if (CH_DoCrosshair==0)( LPDIRECT3DDEVICE8 )pDevice
;{
D3DCOLOR xcolor = D3DCOLOR_ARGB( 255, 255, 0, 0 ); //set color
int size = 18, strong = 3; // size and width/length
int iCenterX = GetSystemMetrics( 0 ) / 2;
int iCenterY = GetSystemMetrics( 1 ) / 2;
if( iCenterX < 20 && iCenterY < 20 )
{
iCenterX = ( GetSystemMetrics( 0 ) / 2 );
iCenterY = ( GetSystemMetrics( 1 ) / 2 );
}
D3DRECT rec2 = { iCenterX- size, iCenterY, iCenterX+ size, iCenterY+ strong};
D3DRECT rec3 = { iCenterX, iCenterY- size, iCenterX+ strong,iCenterY+ size};
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, xcolor, 0, 0);
pDevice->Clear(1, &rec3, D3DCLEAR_TARGET, xcolor, 0, 0);
}
if (RM)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(long*)(dwPlayerPointer + OS_ROOMMASTER) = *(long*)(dwPlayerPointer + OS_PLAYER);
}
}
if (SM)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(long*)(dwPlayerPointer + OS_SUPERMASTER) = *(long*)(dwPlayerPointer + OS_PLAYER);
}
}
if (Moreexp)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(long*)(dwPlayerPointer + OS_50EXP) = 5;
}
}
if (Moredinner)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(long*)(dwPlayerPointer + OS_50DINAR) = 5;
}
}
if (sp10)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(int*)(dwPlayerPointer + sp10_Addie1) = *(int*)(dwPlayerPointer + OS_PLAYER); //hmmm might be int
}
}
if (clip)
{
DWORD dwPlayerPointer = *(DWORD*)Server_Addie1;
if(dwPlayerPointer != 0)
{
*(int*)(dwPlayerPointer + assualt_Addie1) = *(int*)(dwPlayerPointer + OS_PLAYER);
}
}
if (CH_fullbright)
{
long t=1092779973;
unsigned long Protection;
VirtualProtect((void*)bright_Addie1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)bright_Addie1, &t , sizeof(t));
VirtualProtect((void*)bright_Addie1, sizeof(t), Protection, 0);
VirtualProtect((void*)bright_Addie2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)bright_Addie2, &t , sizeof(t));
VirtualProtect((void*)bright_Addie2, sizeof(t), Protection, 0);
VirtualProtect((void*)bright_Addie3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)bright_Addie3, &t , sizeof(t));
VirtualProtect((void*)bright_Addie3, sizeof(t), Protection, 0);
}
if (speed == 1)
{
}
if (speed == 2)
{
float t=100;
unsigned long Protection;
VirtualProtect((void*)ADR_SPEED, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SPEED, &t , sizeof(t));
VirtualProtect((void*)ADR_SPEED, sizeof(t), Protection, 0);
}
if (speed == 3)
{
float t=200;
unsigned long Protection;
VirtualProtect((void*)ADR_SPEED, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SPEED, &t , sizeof(t));
VirtualProtect((void*)ADR_SPEED, sizeof(t), Protection, 0);
}
if (speed == 4)
{
float t=300;
unsigned long Protection;
VirtualProtect((void*)ADR_SPEED, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SPEED, &t , sizeof(t));
VirtualProtect((void*)ADR_SPEED, sizeof(t), Protection, 0);
}
if (speed == 5)
{
float t=400;
unsigned long Protection;
VirtualProtect((void*)ADR_SPEED, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SPEED, &t , sizeof(t));
VirtualProtect((void*)ADR_SPEED, sizeof(t), Protection, 0);
}
if (speed == 6)
{
float t=500;
unsigned long Protection;
VirtualProtect((void*)ADR_SPEED, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SPEED, &t , sizeof(t));
VirtualProtect((void*)ADR_SPEED, sizeof(t), Protection, 0);
}






