[Tutorial] Complete source for warrock hack!

Posts 1–15 of 26 · Page 1 of 2
[Tutorial] Complete source for warrock hack!
Hi all,

Steps:

- Start Visual C++.
- Create new project, win32 dll.
- When created new project, create a new source file (by example main.ccp).
- Then paste this:

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

/// Adress List \\\

#define Playerpointer						Outdated
#define Serverpointer						Outdated
#define Fast_Ammo							Outdated
#define Fast_Health							Outdated
#define Fast_Repair							Outdated
#define Fast_Flag							Outdated
#define No_Spread							Outdated
#define No_Water							Outdated
#define Speed								Outdated
#define Near_Fog							Outdated
#define GlassWalls_FarFog					Outdated
#define Full_Bright_1						Outdated
#define Full_Bright_2						Outdated
#define Full_Bright_3						Outdated
#define No_Bounds_1							Outdated
#define No_Bounds_2							Outdated
#define ADR_QUICKSPAWN1						Outdated
#define ADR_QUICKSPAWN2						Outdated
#define Stamina_10Porcent					Outdated
#define Extra_Ammo_1						Outdated
#define Extra_Ammo_2						Outdated
#define Stamina_OffSet						Outdated
#define NoRecoil_1_OffSet					Outdated
#define NoRecoil_2_OffSet					Outdated
#define NoRecoil_3_OffSet					Outdated
#define OFS_X								Outdated
#define OFS_Y								Outdated
#define OFS_Z								Outdated
#define Slot5_OffSet						Outdated
#define NFD_Player_OffSet					Outdated
#define Premium_OffSet						Outdated
#define Super_Master_OffSet					Outdated
#define ADR_ANTIKICK						Outdated

int Telx = 1;
int Tely = 1;
int Telz = 1;

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

// Hack Codes \\

void Supermaster ()
{
DWORD dwSrvrPtr = *(DWORD*)Serverpointer;
if(dwSrvrPtr != 0){
*(int*)(dwSrvrPtr+Super_Master_OffSet) = 1;
}
}

void Spawn ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QUICKSPAWN1, &t , sizeof(t));
VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QUICKSPAWN2, &t , sizeof(t));
VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), Protection, 0);
}

void Teleport ()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;   /// Player Pointer Addie 
if(dwPlayerPtr != 0)
{
float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;
	PositionX = *(float*)(dwPlayerPtr + OFS_X);
	PositionY = *(float*)(dwPlayerPtr + OFS_Y);
	PositionZ = *(float*)(dwPlayerPtr + OFS_Z);
  if(GetAsyncKeyState(VK_NUMPAD4)&1){
		Telx = PositionX;
		Tely = PositionY;
		Telz = PositionZ;}
  if(GetAsyncKeyState(VK_NUMPAD5)&1){
		*(float*)(dwPlayerPtr + OFS_X) = Telx;
		*(float*)(dwPlayerPtr + OFS_Y) = Tely;
		*(float*)(dwPlayerPtr + OFS_Z) = Telz;}
  if(GetAsyncKeyState(VK_NUMPAD6)&1){
	  *(float*)(dwPlayerPtr + OFS_X) += 30;}}}

void FastAll ()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)Fast_Repair = 10.0f;
*(float*)Fast_Health = 5.0f;
*(float*)Fast_Flag = 10.0f;
*(float*)Fast_Ammo = 5.0f;
}}

void fullbright () //fullbright
{
	if(GetAsyncKeyState(VK_NUMPAD9) &1<< 0xF)
	{
*(int*)(Full_Bright_1) = 1092779973;
*(int*)(Full_Bright_2) = 1092779973;
*(int*)(Full_Bright_3) = 1092779973;
}
}

void nofog () //no fog
{
*(float*)0x00B0E148 = 1166127104;//far fog address
*(float*)0x00B0E144 = 0; //nearfog addres
}

void speedon1 ()
{
	if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(Speed) = 200.0f;
}
}

void speedon2 ()
{
	if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF)
{
*(float*)(Speed) = 300.0f;
}
}

void speedon3 ()
{
	if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF)
{
*(float*)(Speed) = 500.0f;
}
}

void speedoff ()
{
	if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(float*)(Speed) = 100.0f;
}
}

void jump () //super jump
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}
}

void stamina () //stamina
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+Stamina_OffSet) = 100;
}
}

void norecoil () //norecoil
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+0x00) = 0;
*(float*)(dwPlayerPtr+0x04) = 0;
*(float*)(dwPlayerPtr+0x08) = 0;
}
}

void nfd () //NFD
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000;
}
}

void nobounds () //nobounds
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)No_Bounds_2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)No_Bounds_2, &t , sizeof(t));
VirtualProtect((void*)No_Bounds_2, sizeof(t), Protection, 0);

VirtualProtect((void*)No_Bounds_2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)No_Bounds_2, &t , sizeof(t));
VirtualProtect((void*)No_Bounds_2, sizeof(t), Protection, 0);
}

void nowater () //no water
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)No_Water, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)No_Water, &t , sizeof(t));
VirtualProtect((void*)No_Water, sizeof(t), Protection, 0);
}

void PXItemSP2 ()
	{
		*(int*)(Stamina_10Porcent)   = 1;
	}//+ 5% hp

void Dig()
{
if(GetAsyncKeyState(VK_MENU) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = -2000;
}
}
}

void ExtraAmmo ()		//we want extrea clip allways =)
	{
		*(int*)(Extra_Ammo_1)   = 1;
	}

void ExtraAmmo2 ()		//we want extrea clip allways =)
	{
		*(int*)(Extra_Ammo_2)   = 1;
	}

void premium () //Gold Premium
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; // 1 = bronze  2 = silver 3 = gold
}
}

void spread () //no spread
{
*(float*) No_Spread = 0;
}

void Slots5 ()
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{	
*(long*)(dwPlayerPtr+Slot5_OffSet) = 1;
}
}

void AntiKick ()
  {
const BYTE KICKON [] = {0xEB, 0x0D};
{
DWORD dwProtect;
VirtualProtect((void*)(ADR_ANTIKICK), 1, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)(ADR_ANTIKICK), &KICKON, 1);
VirtualProtect((void*)(ADR_ANTIKICK), 1, dwProtect, NULL);}}

void HackThread() 
{
for(;; ) 
{
if(*ingame)
{
jump();
nfd();
premium();
spread();
nowater();
nobounds();
norecoil();
stamina();
speedon1();
speedon2();
speedon3();
speedoff();
nofog();
Dig();
fullbright();
FastAll();
Teleport();
Slots5();
Spawn();
AntiKick();
}
if(*outgame)
{
premium();
ExtraAmmo();
ExtraAmmo2();
Slots5();
PXItemSP2();
Supermaster();
AntiKick();
}
}
Sleep(200); //prevent for overloading the cpu
}

BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0); //create the hackthread
break;
}
return TRUE;
}
- Last step, edit addies.

Use this source to study! This is the basics of programming WarRock hacks.

All enjoy, Noxit.



Credits:
Noxit & Legendary, A thank is the least thing you can do
but you need more to make a hack right?
Visual Basic C++ eh? I lol'd... ch00b xD
Quote Originally Posted by jopopino View Post
but you need more to make a hack right?
Yeh. The right compiler >_> ... And ofcourse the right addresses to replace the outdated ones.

Anyway I suppose nice copy and paste. I did want a complete source to look at so thanks for that. Atleast he wrote in that the addresses were outdated...
Quote Originally Posted by jopopino View Post
but you need more to make a hack right?
No. This is a NOMenu hack.
Quote Originally Posted by Hell_Demon View Post
Visual Basic C++ eh? I lol'd... ch00b xD
Edited
Quote Originally Posted by why06 View Post
Yeh. The right compiler >_> ... And ofcourse the right addresses to replace the outdated ones.

Anyway I suppose nice copy and paste. I did want a complete source to look at so thanks for that. Atleast he wrote in that the addresses were outdated...
A tahnk would be nice, And the credits go to me and LEGENDARY, read fucking fr00bs.
Quote Originally Posted by Noxit View Post
A tahnk would be nice, And the credits go to me and LEGENDARY, read fucking fr00bs.
I did read it. And I do appreciate any source I can get my hands on. thanks.
BTW: who is legendary? and Noxit?
Did u copy and paste from like diff sources o.O? The functions are inconsistent some functions have capitals and some dont. You use a virtual protect wrapper for some functions and dont for other functions. The source is really messy and needs some cleaning up.
Quote Originally Posted by why06 View Post
I did read it. And I do appreciate any source I can get my hands on. thanks.
BTW: who is legendary? and Noxit?
Im called Noxit and djonidjo, now on everyfrorum I join I call myself Noxit, legendary is a good coder/friend of mine.

Quote Originally Posted by zhaoyun333 View Post
Did u copy and paste from like diff sources o.O? The functions are inconsistent some functions have capitals and some dont. You use a virtual protect wrapper for some functions and dont for other functions. The source is really messy and needs some cleaning up.
Well, edit it in youre way, and I'll take a look at it, maybe I'll edit it than
Quote Originally Posted by Noxit View Post
Im called Noxit and djonidjo, now on everyfrorum I join I call myself Noxit, legendary is a good coder/friend of mine.
Hmmm just noticed it said that in ur sig o_O. Too bad I turn sigs off Or I wouldn't have had to asked that :l
Legendary only put 'm together, The codes are made by Peontzk and phenomand, And where for is your part of the credits ^^?
Quote Originally Posted by Oompa loompa View Post
Legendary only put 'm together, The codes are made by Peontzk and phenomand, And where for is your part of the credits ^^?
Posting this shit here, and fixing some english grammer, and code fixes, that gave me erros
Nice! But following Errors:


1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(46) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(48) : error C2065: 'Super_Master_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(56) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(57) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(58) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(60) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(61) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(62) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(67) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(71) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(72) : error C2065: 'OFS_Y': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(73) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(75) : error C2065: 'Telx': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(76) : error C2065: 'Tely': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(77) : error C2065: 'Telz': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(79) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(79) : error C2065: 'Telx': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(80) : error C2065: 'OFS_Y': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(80) : error C2065: 'Tely': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(81) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(81) : error C2065: 'Telz': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(83) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(87) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(148) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(151) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(158) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(161) : error C2065: 'Stamina_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(167) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(178) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(181) : error C2065: 'NFD_Player_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(216) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(219) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(236) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(239) : error C2065: 'Premium_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(250) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(253) : error C2065: 'Slot5_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(262) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(263) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(264) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(270) : error C2065: 'ingame': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(293) : error C2065: 'outgame': nichtdeklarierter Bezeichner
Quote Originally Posted by Denny101 View Post
Nice! But following Errors:
note how they all say OUTDATED
fucking copy pasters...
Quote Originally Posted by Hell_Demon View Post
note how they all say OUTDATED
fucking copy pasters...
I hate to sound mean, but i have to admit, that was a pretty damn big fail.
Lol i cant read german, I'll help you later.
Posts 1–15 of 26 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?