#include <windows.h>
#include <stdio.h>
//--------------------------Define Hacks--------------------------//
#define ADR_PLAYERPOINTER 0x00C3F068
#define ADR_SERVERPOINTER 0x00B3E548
#define OFS_Z 0x00000264
//--------------------------End Define Addies--------------------------//
//--------------------------Define HackThread--------------------------//
DWORD *ingame= (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame= (DWORD*)ADR_PLAYERPOINTER;
//--------------------------End Define HackThread--------------------------//
//--------------------------Start Hacks--------------------------//
void superjump () //super jump
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}
}
//--------------------------End Hacks--------------------------//
//-------------------------HackThread--------------------------//
void HackThread()
{
for(;; )
{
if(*ingame)
{
superjump();
}
if(*outgame)
{
}
}
Sleep(200); //prevent for overloading the cpu
}
//--------------------------End HackThread--------------------------//
//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
}
//--------------------------End--------------------------//
da is kein fehler das is immer schon so gemacht
hab nfd nicht drin da hab ich keinen code gefunden -.-