How to create a NoMenu Hack

Posts 1–8 of 8 · Page 1 of 1
How to create a NoMenu Hack
Hey MPGH Community!


Today I'm going to show you how to create a WarRock NoMenu Hack. I've havent seen many tutorials on MPGH on how to create a NoMenu WarRock hack so I decided to create my own.I'm currently using visual studio c++ 2010 but this will work with all. Lets get started!

First open c++ and click on File -> New -> Project.
Now click on Win32 and select Win32 Project.
Enter the name and the location you would like to save the project. In this case we will name it "NoMenu TUT".




Now click OK and Next.
Now select DLL and Check Empty Project then click Finish.




Now look to your left or right and you will see Header Files and other files.
Right click on source files and click add and new item.
Now select C++ File .cpp and name that "main" then hit add.
Now you should see a blank page.
At the top type this.


#ifndef Base_CPP // We will need this at the end
#include <windows.h> // Include the windows header file
#include "Addresses.h" // Include the addies
Now right click on Header Files this time and add a new item.
Select headers file .h and name it "Addresses.h"
Now double click on Addresses.h at the left and type this.


then after "#define" type the name of your addie. In this tut we will be making NoFallDamage and Superjump so type this. For these hacks we will need the Playerpointer but for the heck of it, I'll give you the Player and Serverpointer.

#define ADR_PLAYERPOINTER
#define ADR_SERVERPOINTER
#define OFS_Z
#define NFD
OFS_Z is the offset for Superjump.
We will need to define every addie. BTW: Addie is short for Address.
Now we need to give the actual address. Im giving the Up2Date addies but when WarRock updates, you will need to find the updated addresses. Type 0x00 before the actual addie. Thats the prefix. So type this.


#define ADR_PLAYERPOINTER 0x00ABD750
#define ADR_SERVERPOINTER 0x00943D98
#define OFS_Z 0x000102E4
#define NFD 0x000102C4
So this means that the actual addie for OFS_Z is 0102E4 but with the Prefix it is 0x000102E4. Same with NFD.
Now go down and type this.


int Superjump = 1;
Then means that Superjump is on. 1 is ON ... 0 is OFF


Now go back to main.cpp and under


#ifndef Base_CPP
#include <windows.h>
#include "Addresses.h"
type

void Hack(void){
for(;{
DWORD Servercall = *(DWORD*)ADR_PLAYERPOINTER;
DWORD Playercall = *(DWORD*)ADR_SERVERPOINTER;
Now instead of typing "ADR_SERVERPOINTER", We can just type "Servercall". They both are the same.
Now under that we type the Hack Functions. We are creating Superjump and NFD so under


DWORD Playercall = *(DWORD*)ADR_SERVERPOINTER;
Type

// Superjump
{
if(Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
if(Playercall != 0){
*(float*)(Playercall+OFS_Z) = 2500;}}}
}

// NFD
{
*(float*)(Playercall+NFD) =- 13948;
}
If you type "//" before something, this means its just text and doesnt affect the hack in anyway.
It's used to know what you did if you forgot.
Pretty much, use the "//" if you want to look back on how you did something.
Now under



// Superjump
{
if(Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
if(Playercall != 0){
*(float*)(Playercall+OFS_Z) = 2500;}}}
}

// NFD
{
*(float*)(Playercall+NFD) =- 13948;
}
You can place all your other hack functions like 5th slot and teleport. Those are just some examples.
Now we create the HackThread. Without this, the hack will just not work.
So type


Sleep(10);
}
}

BOOL WINAPI DllMain(HINSTANCE hModule,DWORD dwReason,LPVOID lpvReserved){
if(dwReason==DLL_PROCESS_ATTACH){
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Hack,0,0, 0);}
return TRUE;}
#endif


Now debug it.
After you are done debugging, save all then exit.
Now go to where you saved it and click on "NoMenu TUT" and then "DEBUG" and you will see "NoMenu TUT.dll"
That's your hack, now just inject it and have fun hacking!


<3 Shunnai <3
nice, but you should explain what all of those parts do
Quote Originally Posted by AeroMan View Post
nice, but you should explain what all of those parts do
As if the people that wanna code nowadays will actually want to understand what the code means, they just C+P so they can release and get thanks.

Good tut by the way Bar, it came out nice
Quote Originally Posted by Terell. View Post
As if the people that wanna code nowadays will actually want to understand what the code means, they just C+P so they can release and get thanks.

Good tut by the way Bar, it came out nice
agreed with that,then they come ask me for help because they DONT LEARN
already posted by alex_agnew........
thanks for info ^^
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?