#include <windows.h>
#include <stdio.h>
#include <stdafx.h>
// Adress List //
#define Playerpointer 0x00CB11C8
#define Serverpointer 0x00B39BE0
#define ADR_AUTOMEDIC 0x00690F60
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *outgame= (DWORD*)Serverpointer;
void automedic()
{
if(GetAsyncKeyState(VK_NUMPAD7) &1)
{
DWORD dwProtect;
const BYTE nop[6] = {0x90,0x90,0x90,0x90,0x90,0x90};
VirtualProtect((void*)(ADR_AUTOMEDIC), 6, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)ADR_AUTOMEDIC, &nop, 6);
VirtualProtect((void*)(ADR_AUTOMEDIC), 6, dwProtect, NULL);
}
}
void HackThread()
{
for(;; )
{
if(*ingame) //check if we are ingame.. prevent crashs
{
automedic()
;}
Sleep(200); //prevent for overloading the cpu
}
}


#include <windows.h>
#include <stdio.h>
#include <stdafx.h>
// Adress List //
#define Playerpointer 0x00CB11C8
#define Serverpointer 0x00B39BE0
#define ADR_AUTOMEDIC 0x00690F60
DWORD *ingame;
DWORD *outgame;
void automedic()
{
if(GetAsyncKeyState(VK_NUMPAD7) &1)
{
DWORD dwProtect;
const BYTE nop[6] = {0x90,0x90,0x90,0x90,0x90,0x90};
VirtualProtect((void*)(ADR_AUTOMEDIC), 6, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)ADR_AUTOMEDIC, &nop, 6);
VirtualProtect((void*)(ADR_AUTOMEDIC), 6, dwProtect, NULL);
}
}
void HackThread()
{
while(1)
{
ingame=(DWORD*)Playerpointer;
if(*ingame) //check if we are ingame.. prevent crashs
{
automedic()
;}
Sleep(200); //prevent for overloading the cpu
}
}