I think u need a bypass.
The hack I made happens to be not working. I didn't really make it as much as copy and paste but I know a bit of c++ anyways. Here is code, I am using tom's injector that was just released. When I open warrock and everything nothing happens but when I get in a game warrock closes. Help?
Code (also tell me if this is right current addies, should be)
//
#include <stdio.h>
#include <windows.h>
//
// Addresses
#define Playerpointer 0x00CD98C0
#define Serverpointer 0x00BE2A30
#define OFF_NFD 0x00000320
#define OFS_STAMINA 0x00B18425
#define OFS_Z 0x0000025C
// End Addresses
/////////////////
DWORD *ingame= (DWORD*)Playerpointer;
DWORD *megame= (DWORD*)Serverpointer;
////////////////
// HACK CODES //
void Stamina()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
}
}
void Jump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 2500;
}
}
}
void NFD()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFF_NFD) = -20000;
}
}
void HackThread()
{
for(;
{
if(*ingame) //check if we are ingame.. prevent crashs
{
NFD();
Jump();
Stamina();
}
if(*megame)
{
// Add the PX Items here.
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); //create the hackthread
}
return TRUE;
}
Ty and hope this is right section
I think you need to f*ck off and learn C++ first
Ah we-a blaze the fyah, make it bun dem!
Matrix_NEO006 (01-07-2010)