TombeY (11-17-2009),vuurbeker66 (11-25-2011),why06 (09-15-2009)
Hello all i'm typing out this hole tut! xD
Things needed:
C++ express
summer 2004 sdk https://www.microsoft.com/downloads/details...;displaylang=en
Ok you have just made a dll :P
now to make it into a warrock hackwe are going to use croners way of a nomenu his is perfect and easy to understand
![]()
in stdafx.h place this code !
//exported hack voids
void ServerHacks(void);
void PlayerHacks(void);
void StaticHacks(void);
now you must "add a new item"
there you added addys.h now
place all the addys you have into it
there you go you added all the addys you need// - warrock offsets
#define OFS_X 0x260
#define OFS_Y 0x264
#define OFS_Z 0x268
#define OFS_NOFALL 0x024c
#define OFS_STAMINA 0x0028
#define OFS_PREMIUM 0x374
#define OFS_5SLOT 0xD11E4
#define OFS_6SLOT 0xD11E5
#define OFS_7SLOT 0xD11E6
#define OFS_8SLOT 0xD11E7
//- warrock addies
#define ADR_PLAYERPTR 0xC8CDE8
#define ADR_SERVERPTR 0xB15998
#define ADR_SPEED 0x97AC08
#define ADR_NOWATER 0x9F50C4
#define ADR_NOSPREAD 0xAD1CBC
#define ADR_FASTAMMO 0xAD1C74
#define ADR_FASTREPAIR 0xAD1C70
#define ADR_FASTHEALTH 0xAD1C78
#define ADR_FASTFLAG 0xAD1C7C(update them)
Now add
into your project source (AKA) the main dll as in i named mine dll! Double click on dll.cpp that would be your source#include "addys.h"
// 0 = offf / 1 = on
int Slots = 1;
int Speed = 1;
int Premium = 1;
int NoWater = 1;
int SuperJump = 1;
int NoFall = 1;
int Stamina = 1;
int NoRecoil = 1;
int NoBounds = 1;
int NoSpread = 1;
int FastHAFR = 1;
Ok after that put this under all the "int"
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void ServerHacks(void)
{
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPTR;
if(dwServerPointer != 0) {
if(Slots){
*(int*)(dwServerPointer + OFS_5SLOT) = 1;
*(int*)(dwServerPointer + OFS_6SLOT) = 1;
*(int*)(dwServerPointer + OFS_7SLOT) = 1;
*(int*)(dwServerPointer + OFS_8SLOT) = 1;
}
if(Premium){
*(int*)(dwServerPointer+OFS_PREMIUM) = 3;//gold
}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void PlayerHacks(void)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0){
if(Stamina){//stealh stamina , refull when its below 35
if (*(float*)(dwPlayerPtr+OFS_STAMINA)<35.0F)
{*(float*)(dwPlayerPtr+OFS_STAMINA) = 50.0F;}
}
if(GetAsyncKeyState(VK_CONTROL) &1){//jump when u press control
if(SuperJump){
*(float*)(dwPlayerPtr+OFS_Y) = 2000.0F;
}
}
if (NoFall)
{*(float*)(dwPlayerPtr+OFS_NOFALL) = -35000.0F;}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void StaticHacks(void)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0){
if(Speed){
*(float*)(ADR_SPEED) = 240.6F;
}
if(FastHAFR){
*(float*)(ADR_FASTAMMO) = 0;
*(float*)(ADR_FASTHEALTH) = 0;
*(float*)(ADR_FASTREPAIR) = 0;
*(float*)(ADR_FASTFLAG) = 0;
}
if(NoSpread){
*(float*)(ADR_NOSPREAD) = 0;
}
if(NoWater){
*(int*)(ADR_NOWATER) = 0;
}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
put this into dll main.cpp!!
there you go now build it and debuggvoid hDllMain(void)
{
while(true){
PlayerHacks();
ServerHacks();
StaticHacks();
Sleep(30);
}
}
DWORD dwID1 = 0;
HANDLE hThread1 = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)hDllMa in, NULL, NULL,&dwID1 );
CloseHandle(hThread1);
Credits:
Croner
me
TombeY (11-17-2009),vuurbeker66 (11-25-2011),why06 (09-15-2009)
I re-uploaded them
It's game hacker
This isn't really a tutorial. If a beginner saw this he would just copy and paste code into the compiler and learn nothing. Explain the code if you will![]()
Goals In Life:
[X] Become an Advanced Member
[X]Release a tut on mpgh
[0]Post 300 posts
[X]Make a working hack
[X] Learn c++
doens't work for me. I get a building error:
------ Build started: Project: Warzone, Configuration: Debug Win32 ------
Compiling...
dllmain.cpp
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(31) : error C2065: 'hDllMa' : undeclared identifier
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(31) : error C2146: syntax error : missing ')' before identifier 'in'
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(31) : error C2059: syntax error : ')'
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(32) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(32) : error C2365: 'CloseHandle' : redefinition; previous definition was 'function'
c:\program files\microsoft sdks\windows\v6.0a\include\winbase.h(4624) : see declaration of 'CloseHandle'
c:\documents and settings\administrator\mijn documenten\visual studio 2008\projects\warzone\warzone\dllmain.cpp(32) : error C2440: 'initializing' : cannot convert from 'HANDLE' to 'int'
There is no context in which this conversion is possible
Build log was saved at "file://c:\Documents and Settings\Administrator\Mijn documenten\Visual Studio 2008\Projects\Warzone\Warzone\Debug\BuildLog.htm"
Warzone - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Sorry for my chooby question but where do i find the C++ Express in my PC???
the maindll is messed up. The codes are wrong
Thts CA
img]https://www.pokeplushies.com/images/adoptables/1837749.gif[/img]
Click here to feed me a !
Get your own at Dinomon!
srry for the choob question im experience with C++ just not the hacking but anyways how do i get offsets and how do i get the addies in warrock without getting detected
it would be real nice if u would just tell us how to search for memory address i mean ammo
health are easy but how about the other ones can u tell me what tactics u use to find those memory addresses ?
copy n paste sucks
<o>