My nomenu warrock hack tut

Posts 1–15 of 29 · Page 1 of 2
My nomenu warrock hack tut
Hello all i'm typing out this hole tut! xD

Things needed:

C++ express
summer 2004 sdk http://www.microsoft.com/downloads/details...;displaylang=en










Ok you have just made a dll :P

now to make it into a warrock hack we 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

// - 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
there you go you added all the addys you need (update them)

Now add
#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;
into your project source (AKA) the main dll as in i named mine dll! Double click on dll.cpp that would be your source

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!!

void 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);
there you go now build it and debugg







Credits:
Croner
me
Imges have been deleted??
I re-uploaded them
Quote Originally Posted by Techtonic View Post
I re-uploaded them
kk thanks, and what is GH in ur user name thing??
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
Quote Originally Posted by rwkeith View Post
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
Case and point.
Quote Originally Posted by jopopino
doens't work for me. I get a building error:
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 ==========
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
Quote Originally Posted by jopopino View Post
the maindll is messed up. The codes are wrong
You are wrong.
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 ?
Posts 1–15 of 29 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

Talk with us