Code:#include <Windows.h> #define ADR_AutoHeadShot 0x00 #define ADR_FarFog 0x00 #define FullBright_1 0x00 #define FullBright_2 0x00 #define FullBright_3 0x00 #define ADR_Scope 0x00 #define ADR_NoWater1 0x00 #define ADR_NoWater2 0x00 #define ADR_AutoRepair 0x00 #define ADR_AntiAfk 0x00 #define ADR_Virtualjump 0x00 #define ADR_FastPlant 0x00 #define Playerpointer 0x00 #define Serverpointer 0x00 DWORD *ingame= (DWORD*)Playerpointer; DWORD *outgame= (DWORD*)Serverpointer; void Auto() { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)ADR_FastPlant =7; *(int*)(FullBright_1) = 1092779973; *(int*)(FullBright_2) = 1092779973; *(int*)(FullBright_3) = 1092779973; *(float*)(ADR_FarFog) = 1166127104; } } void NoWater() { if(GetAsyncKeyState(VK_F8)) { *(int*)(ADR_NoWater1) = 0; *(int*)(ADR_NoWater2) = 0; } if(GetAsyncKeyState(VK_F9)) { *(int*)(ADR_NoWater1) = 1; *(int*)(ADR_NoWater1) = 1; } } void autohead () { if(GetKeyState(VK_HOME)) *(long*)ADR_AutoHeadShot = 1235; else { *(long*)ADR_AutoHeadShot = 1237; } } void Scope () { if(GetAsyncKeyState(VK_RBUTTON)) { *(int*)(ADR_Scope) = 1; } else { *(int*)(ADR_Scope) = 5; } } void snip() { for(;; ) { if(*ingame) { Auto(); Scope(); autohead(); NoWater(); } //if(*outgame) { //Visual(); } Sleep(30); } } BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) { if(dwReason == DLL_PROCESS_ATTACH) { MessageBoxA(NULL, " WarRock7 ", "Credits", MB_OK); VirtualProtect((void *)snip,0,PAGE_READWRITE,&dwReason); CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); VirtualProtect((void*)snip,0,dwReason,&dwReason); } return TRUE; }
ung sa Autorepair and virtual jump di ko alam eh sorry