My WarRock AutoMedic Hack - What's wrong?
I tried to create a hack and used the new addys.
This is my Code:
Code:
#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
}
}
What's wrong?
Thx
Denny101
I don't know, but try proof reading.
I think ur server/player pointers are wrong
theres no Dll main method? where u planning to inject this? Because I think u need a DLL Main.
Thx... How can I make a Menu Hack?
Denny
You'll need to learn some D3D
Can u give me a link to a Video tutorial or something? i only find english tuts, please post a german tutorial.
Thank You!
Wow that makes 3 or 4 ppl that speak german now. I think I am becoming a minority!!! D:
Automedic need a off button because its a vip function so it will be detected... I think with the code you wirte it suppose to work BUT i'm not sure but you could add the end part of WR hack, you should
I'm french and from Canada,Quebec !! Oui Criss