Help at Hack

Posts 1–15 of 16 · Page 1 of 2
Help at Hack
i create a hack but that wont work can anybody see a mistake ? please help me
Code:
#include <windows.h>

// Adress List //

#define Playerpointer 0x00B04E10 
#define Serverpointer 0x00AFF5D8
#define OFS_Z 0x10310
#define ADR_AUTOMEDIC 0x00507C28
#define ADR_Spread 0x00B094BC

DWORD *ingame= (DWORD*)Playerpointer;
DWORD *outgame= (DWORD*)Serverpointer;

void Jump() // superjump if hit control button
{
if(GetAsyncKeyState(VK_LCONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1500;
}
}
}

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 spread () // no spread
{
*(float*) ADR_Spread = 0;
}

void HackThread() 
{
for(;; ) 
{
if(*ingame) //check if we are ingame.. prevent crashs
{
Jump();
}
if(*outgame)
{
}
Sleep(200); //prevent for overloading the cpu
}
}

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
	if(dwReason == DLL_PROCESS_ATTACH)
	{

            CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
	}
	return TRUE;
}
Make sure your Address is correct. and add this to your ingame. spread(); & automedic();
ouch thanke you that was epic fail but i have problem with addies because i can't dump warrock.exe i have win7 64bit kernel detective and pe tools won't works
use CHimpREC.
Analysis of process failed!
Quote Originally Posted by kikiloki View Post
Analysis of process failed!
Then you need to select warrock.exe again until CHimpREC analyses it properly.
is there any addies logger that works?
but CHimpREC analyses everythink just Warrock.exe won't be analysed
Just like @AeroMan said.
Quote Originally Posted by AeroMan View Post
When the loader is open press game start, then quickly open chimprec and select + dump it.
You have to be really fast.
ty ty ty Jhem you are so cool
just one more question how can find ServerPointer and PlayerPointer ty
Quote Originally Posted by kikiloki View Post
just one more question how can find ServerPointer and PlayerPointer ty
You have to find a function that checks if you are in or outgame.
It's hard to explain if you never really studied assembly and know what everything means.
But that check is a pointer.

for example.
Code:
mov eax, 9994C <- pointer
mov esi, [eax+0Ch] <- store the pointer + ofs in esi
eax then would be the pointer.
I hope this helps in some way, if not tell me.
yes ty Jhem and Mayion
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us