//BigHig\'s Public No Menu Hook//
#include <windows.h>
#include <stdio.h>
////////////Address list\\\\\\\\\\\\
#define Playerpointer 0x00CC4778
#define Serverpointer 0x00BCE110
#define Fast_Ammo 0x00B04250
#define Fast_Health 0x00B04254
#define Fast_Repair 0x00B04258
#define Fast_Flag 0x00B0425C
#define No_Spread 0x00B042B0
#define Speed 0x009A7E04
#define Stamina_OffSet 0x10
#define NoRecoil_1_OffSet 0x0
#define NoRecoil_2_OffSet 0x4
#define NoRecoil_3_OffSet 0x8
#define OFS_X 0x23C
#define OFS_Y 0x244
#define OFS_Z 0x240
#define Slot5_OffSet 0xE0ABC
#define NFD_Player_OffSet 0x308
#define Premium_OffSet 0x374
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *outgame= (DWORD*)Serverpointer;
//////////// Hack Codes \\\\\\\\\\\\
void FastAll ()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)Fast_Repair = 10;
*(float*)Fast_Health = 5;
*(float*)Fast_Flag = 10;
*(float*)Fast_Ammo = 5;
}}
void speedon ()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1)
{
*(float*)(Speed) = 300;
}
}
void speedoff ()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1)
{
*(float*)(Speed) = 100;
}
}
void jump ()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}
}
void stamina () /////Unl.Stamina
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+Stamina_OffSet) = 100;
}
}
void norecoil () /////No Recoil
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x00) = 0;
*(float*)(dwPlayerPtr+0x04) = 0;
*(float*)(dwPlayerPtr+0x08) = 0;
}
}
void nfd () /////No Fall Damage
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000;
}
}
void premium () //Gold Premium
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; /////3 = Gold Premium
}
}
void spread () /////No Spread
{
*(float*) No_Spread = 0;
}
void Slots5 ()
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+Slot5_OffSet) = 1;
}
}
/////////hackthread\\\\\\\\\\
void HackThread()
{
for(;; )
{
if(*ingame)
{
jump();
nfd();
premium();
spread();
norecoil();
stamina();
speedon();
speedoff();
FastAll();
Slots5();
}
if(*outgame)
{
premium();
Slots5();
}
}
Sleep(200);
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
}
return TRUE;
}