SmileI have a problem...

Posts 16 of 6 · Page 1 of 1
I have a problem...
Hi Guys !

am trying to learn how to make a warrock hack in visual c++ express edition
But i cant get it working !

Pls tell me if it is enything wrong with this source:

#include <stdio.h>
#include <windows.h>

//Address go Here
#define Playerpointer 0x00CB11C8 //these are current
#define Serverpointer 0x00B39BE0 // as of 8-11-09
#define OFS_X 0x0000023C // on Warrock int
#define OFS_Y 0x00000244 // change them when needed
#define OFS_Z 0x00000240
#define ADR_FAST_HEALTH 0x00AF5404
#define ADR_FAST_AMMO 0x00AF5400
#define ADR_FAST_FLAG 0x00AF5408
#define ADR_FAST_REPAIR 0x00AF540C
#define ADR_SPEED 0x0099ADA8
#define ADR_SPAWN_1 0x00C48320
#define ADR_SPAWN_2 0x00CACF2C
#define ADR_BOUNDS_1 0x00C5DF9C
#define ADR_BOUNDS_2 0x00C5DFA0
#define ADR_SCOPE 0x00AF53F6
#define ADR_Spread 0x00AF5458


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

//Hack Codes Go Here
//Fast All
void Fastall()
{
*(float*) ADR_FAST_HEALTH = 5000000;
*(float*) ADR_FAST_AMMO = 5000000;
*(float*) ADR_FAST_FLAG = 50000;
*(float*) ADR_FAST_REPAIR = 5000000;
}
//Speed
void speed() // insert key, speed on
{
if(GetAsyncKeyState(VK_INSERT) &1)
{
*(float*) ADR_SPEED = 1500;
}
}
void speedoff() // delete key, speed normal
{
if(GetAsyncKeyState(VK_DELETE) &1)
{
*(float*) ADR_SPEED = 100;
}
}
//No Spawn Wait
void nowait()
{
*(float*) ADR_SPAWN_1 = 0;
*(float*) ADR_SPAWN_2 = 0;
}
//No Boundries
void nobound()
{
//if (nobound)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_BOUNDS_1, &t , sizeof(t));
VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_BOUNDS_2, &t , sizeof(t));
VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), Protection, 0);
}
}
//Scope
void scope()
{
if(GetAsyncKeyState(VK_RBUTTON))
{
int t=1;
unsigned long Protection;
VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SCOPE, &t , sizeof(t));
VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);
}
else
{
int t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_SCOPE, &t , sizeof(t));
VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);
}
}
//No Spread
void Spread()
{
*(float*) ADR_Spread = 0;
}

//Any other hacks you decide to add go above here
//Hack are put into the game here
void HackThread()
{
for(;; )
{
if(*ingame) //check if we are ingame.. prevent crashs
{
Fastall();
speed(); // player hacks go here
speedoff();
scope();
}
if(*outgame)
{
Spread();
nowait(); //server hacks go here
}
Sleep(200); //prevent for overloading the cpu
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Brunrompes", "Credits", MB_OK); // Put your
//name where Your Name Here is but leave the ""
MessageBoxA(NULL, "Brunrompe's Base Code", "Credits", MB_OK); // Do not
// edit this
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hack, 0, 0, 0); //create
// the hackthread
}
return TRUE;
}


I dont get 1 single errror!
but when i injected it in warrock warrock craches when hackshield loading!!!


I dont know why!
and where can i get new addresses???
plsss ned all the help a can get!
You need a bypass to get pass hacksheild.
How do i get a Bypass????????
Can i make 1 ?? is it eny tutorial??
I didnt think it was nessaery with bypass since this is dll....
Hey listen you don't need a post for each sentence ok?!

But it's obvious that ur hack is somehow detected. I don't know how your going to get a bypass that's for you to figure out. Try searching around in the same place you copied this code.

You have no idea how this works and you just throw the whole thing in our face and expect us to make it work for you. That's like having your tutor do the work for you. We are here to help not do the work for you, otherwise what have you really accomplished? Copying and pasting someone elses work.

Why don't you just download one of the hundreds of public hacks for warrock already out there? I have no idea why you would want to cut and paste your own together?
Posts 16 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?