#include <windows.h>
//////////IS THE ADDIES UPDATED?//////
#define ADR_PlayerPointer 0x00AD4600
#define ADR_ServerPointer 0x009CE9B8
#define ADR_ExtraAmmo_1 0x00952CD4
#define ADR_ExtraAmmo_2 0x00952CD5
float posiY;
float posiX;
float posiZ;
HANDLE WarRock;
DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;
void ExtraAmmo_1()
{
*(int*)(ADR_ExtraAmmo_1) = 1;
}
void ExtraAmmo_2()
{
*(int*)(ADR_ExtraAmmo_1) = 1;
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
ExtraAmmo_1();
ExtraAmmo_2();
}
if(*outgame)
{
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "_________", "Done", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
@
rey00120 MAKE SURE YOUR ADDIES IS UPDATED IF NOT IT WONT WORK