Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > Online Gaming > WarRock

WarRock Discuss anything about WarRock. WarRock Hacks


How to make Dll hack

WarRock


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-11-2009, 08:04 AM   #1
kvdirect
Registered User
 
Last Online: 11-18-2009 09:12 AM
Join Date: Nov 2008
Location: Ohio
Posts: 83
Rep Power: 2
Rep Points: 11
kvdirect is on a distinguished road
Feedback: (0)
Points: 21,508.76
Bank: 0.00
Total Points: 21,508.76
How to make Dll hack

After reading alot of the post here and getting alot of questions about how to make a dll hack I decided to make a tutorial on it.

Things needed
1. Visuial C++ 6.0 (pm me if you need this)
2. Addie finder ( Nearons should work for you)
3. SDK Summer 2004 Download here [Only registered and activated users can see links. ]
4. Injector (Any hack you have downloaded comes with one.)


Step 1

Open Visual C++
Press File-->New Select Win32 Dynamic-Link Library and enter a project Name
Select An Empty DLL Project
Press File-->New Select C++ Source File Give it a name

Now you are ready to get started

Copy and Paste this code Start Below Here:

/*
Project : Public HACK Tutorial
Author : KVDIRECT AKA:Sniper8ce
*/
#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 snip()
{
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, "YOUR NAME HERE", "Credits", MB_OK); // Put your
//name where Your Name Here is but leave the ""
MessageBoxA(NULL, "Sniper8ce's Base Code", "Credits", MB_OK); // Do not
// edit this
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); //create
// the hackthread
}
return TRUE;
}


Stop Copy Above Here!!!!!!!!!!!!
Now you can goto Build-->Compile "?.cpp"
If no errors then Build-->Build "?.dll"
Then goto your project folder and click the debug folder. In there you should fine the DLL file. Copy and Paste it in the same folder as your injector. Make sure they have the same name.
Exp- test.exe(injector) test.dll(DLL File)

Look over the hacks and build off of them this will get you started but its a very simple hack. I will check this post every day and try to get back to your questions ASAP.

Remember if you use my base code then you can atleast do 2 things for me.
1. Give me Credit
2. Press the Thanks Button

Have fun with this and keep in touch with any updates to the hack you have added. Im interested to see how far you can get with it.

Last edited by kvdirect; 08-13-2009 at 11:30 AM. Reason: Adding links
kvdirect is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

All times are GMT -7. The time now is 11:52 AM.

 

Copyright ©2009, GamerzPlanet.Net
Visits: