Things needed
1. Visuial C++ 6.0
2. Addie finder ( Nearons should work for you)
3. SDK Summer 2004
http://www.microsof*****m/downloads/d...displaylang=en
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