Today i tried to make my own hack with C++
and i dont know if its working
download will take up to 2-3 hours and i write here...
i have made one header ( Addresses.h )
and in Source files a .cpp ( Core.cpp )
See my Source Code:
Core.cpp:
Code:
void Hack_Thread() { while (true) { if (Player != NULL) { // No Recoil *(float*)(Player + OFF_NORECOIL_1) = 0.0f; *(float*)(Player + OFF_NORECOIL_2) = 0.0f; *(float*)(Player + OFF_NORECOIL_3) = 0.0f; // No Spread *(int*)(ADR_SPREAD) = 1; //Speed Hack *(float*)(ADR_SPEED) = (96 * YOURSPEED); } if (Server != NULL) { // Do Server Hacks Here } Sleep(80); } } BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ){ if ( dwReason == DLL_PROCESS_ATTACH ){ HANDLE hThread; DWORD dwReason; CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hack_Thread, NULL, NULL, NULL); CloseHandle(hThread); } return TRUE; }
Code:
#define ADR_PLAYER 0x000000 #define ADR_SERVER 0x000000 /// OFFSETS /// #define OFF_NORECOIL_1 0x000 #define OFF_NORECOIL_2 0x000 #define OFF_NORECOIL_3 0x000 /// Adresses // #define ADR_SPEED 0x000000 #define ADR_SPREAD 0X000000