Hey guys you always wanted to make your own Nomenu based ? well here it is, this thread will explain what you need & what it means, also since Aeroman's tutorial it's kinda old now so i thought i make a fresh new on!, btw i tested this 100% and the nomenu base works any problems post a comment
Date Made:
1st November Tuesday 2011
Ok so we going to goto our C++ and create a new project
Code:
File->New Project->Win32->Win32 Project->Project Name->Ok->(Window Pop-Up)Next->Application Type, DLL, Additional Options Empty Project->Finish
Now we created a new project, we can get started
So we are now going to delete two folders, the folders name should be:
Header Files
Resource Files
Source Files
Delete any two, then rename the last one left, anything i will name it, "******* Nomenu Project" then just click of the folder, next step
Code:
right-click and click, Add->New Item->Code->C++ File (.cpp)->Name "Base.cpp"->Ok
then we going to add two more files:
Code:
right-click and click, Add->New Item->Code->Header File (.h)->Name "Addies.h"->Ok
Code:
right-click and click, Add->New Item->Code->Header File (.h)->Name "Thread.h"->Ok
Then were good now click on Base.cpp!.
Ok so first we can now get started coding.
so, now at the top of the Base.cpp (.cpp), we are going to defines windows header, and define our thread.h, and we define our Addies.h, so type in: (Addies.h doesn't matter if it's included or not)
Code:
/* Wizdom-x ********* NoMenu Base Tutorial*/
#include <windows.h> //We will define our windows header
#include "Thread.h" //This will include our Thread.h to our Base.cpp
#include "Addies.h" //This will include our Addies.h to our Base.cpp
Now we going to make our HackThread
, this will have a sleep function in it, to stop lagg's and other causes.
So, we are going to do this:
Code:
void MPGHThread()
{ //we define our Hackthread, so our functions can work
for(;;)
{ //For Functions below
MPGH_Hacks(); // MPGH_Hacks will enable our Thread.h
} // This is the End of our HackThread
Sleep(150); // Reduces lagg, and also prevents the CPU from overunning the system
} // This is the End of our HackThread or Close HackThread
now we, will make our BOOL WINAPI, witch will inject into warrock allowing our nomenu to work, so we can hack.
so we will do this:
Code:
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Wizdom-x_Base,LPVOID lpvReserved)
{ // This starts our Module Running
if(Wizdom-x_Base == DLL_PROCESS_ATTACH) // If the .DLL, is attached to a process, our nomenu will run/begin a thread.
{ // The, Beginning of our Thread Running
CreateThread(0,0,(LPTHREAD_START_ROUTINE)MPGHThread/*
We run our HackThread to start the process*/,0,0,0);
} // End of our Thread Running
return TRUE; // This allow's the nomenu to go over & over again, without this our .DLL will not work.
} // End of our Module Running
Now, we have done our Base.cpp it should look like this:
Code:
/* Wizdom-x ******* NoMenu Base Tutorial*/
#include <windows.h> //We will define our windows header
void MPGHThread()
{ //we define our Hackthread, so our functions can work
for(;;)
{ //For 'Hacks' the hacks are below
HL_Hacks(); // HL_Hacks will enable our Thread.h
} // This is the End of our HackThread
Sleep(150); // Reduces lagg, and also prevents the CPU from overunning the system
} // This is the End of our HackThread or Close HackThread
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD MPGH_Base,LPVOID lpvReserved)
{ // This starts our Module Running
if(MPGH_Base == DLL_PROCESS_ATTACH) // If the .DLL, is attached to a process, our nomenu will run/begin a thread.
{ // The, Beginning of our Thread Running
CreateThread(0,0,(LPTHREAD_START_ROUTINE)MPGHThread/*
We run our HackThread to start the process*/,0,0,0);
} // End of our Thread Running
return TRUE; // This allow's the nomenu to go over & over again, without this our .DLL will not work.
} // End of our Module Running
Next we will do our Thread.h, this is where all our Functions will be in the hack!.
So again, at the top of our Thread.h we are going to define windows header file, addies header file & Base C++ file.
Code:
#include "Addies.h" // We only need addies.h, because base.cpp is included to see so this already has <windows.h>
Then we are going to make the Module for our hacks so type in:
Code:
#include "Addies.h"
void MPGH_Hacks()
{ // We define our Functions in here.
DWORD dwPlayer = *(DWORD*)Adr_PlayerPointer; // It means dwPlayer, will be PlayerPointer, it's a shortcut.
DWORD dwServer = *(DWORD*)Adr_ServerPointer;
if (dwPlayer != 0)
{// Start of our PlayerPointer Hacks
/*Our Functions will go in here*/
if(GetAsyncKeyState(VK_CONTROL) &1)
{
*(float*)(dwPlayer+OFS_Z) = 500;
}
/*Example*/
if(GetAsyncKeyState(VK_F7/*Your Key*/) &1)
{
*(/*int, BYTE, double, float, long*/ long*)/*Addie Here*/Adr_Example = 0; /*Vaule here*/
}
}
if (dwServer != 0)
{//Start of our ServerPointer Hacks
/*Our Functions will go in here*/
}
} // Stay behind this like, or unless if you dont it leads to erro's that you could not fix. this is also the End of our define Functions
Now we have done that it time to add our Addies.h
so goto Addies.h, and we are going to add addies:
Code:
/*R3d_L!n3 Addies*/
/*26-10-2011*/
#define Adr_PlayerPointer 0x009E57D4
#define Adr_ServerPointer 0x009E5770
#define Adr_Example 0x00
#define OFS_X 0x00102E0
#define OFS_Y 0x00102F0
#define OFS_Z 0x00102E8
Then your DONE!, you finaly made your first nomenu, credits:
R3d_L!n3, for the addies.
Me, for tutorial & 100% Coding it.
I have tested it and it work 100%!
Now once we done you should have the following things:
Base.cpp:
Code:
/* Wizdom-x ******** NoMenu Base Tutorial*/
#include <windows.h> //We will define our windows header
#include "Thread.h" //This will include our Thread.h to our Base.cpp
#include "Addies.h" //This will include our Addies.h to our Base.cpp
void MPGHThread()
{ //we define our Hackthread, so our functions can work
for(;;)
{ //For 'Hacks' the hacks are below
HL_Hacks(); // HL_Hacks will enable our Thread.h
} // This is the End of our HackThread
Sleep(150); // Reduces lagg, and also prevents the CPU from overunning the system
} // This is the End of our HackThread or Close HackThread
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD MPGH_Base,LPVOID lpvReserved)
{ // This starts our Module Running
if(MPGH_Base == DLL_PROCESS_ATTACH) // If the .DLL, is attached to a process, our nomenu will run/begin a thread.
{ // The, Beginning of our Thread Running
CreateThread(0,0,(LPTHREAD_START_ROUTINE)MPGHThread/*
We run our HackThread to start the process*/,0,0,0);
} // End of our Thread Running
return TRUE; // This allow's the nomenu to go over & over again, without this our .DLL will not work.
} // End of our Module Running
Addies.h:
Code:
/*R3d_L!n3 Addies*/
/*26-10-2011*/
#define Adr_PlayerPointer 0x009E57D4
#define Adr_ServerPointer 0x009E5770
#define Adr_AssClip 0x009E537E
#define Adr_Example 0x00
#define OFS_X 0x00102E0
#define OFS_Y 0x00102F0
#define OFS_Z 0x00102E8
Thread.h:
Code:
#include "Addies.h"
void MPGH_Hacks()
{ // We define our Functions in here.
DWORD dwPlayer = *(DWORD*)Adr_PlayerPointer; // It means dwPlayer, will be PlayerPointer, it's a shortcut.
DWORD dwServer = *(DWORD*)Adr_ServerPointer;
if (dwPlayer != 0)
{// Start of our PlayerPointer Hacks
/*Our Functions will go in here*/
if(GetAsyncKeyState(VK_CONTROL) &1)
{
*(float*)(dwPlayer+OFS_Z) = 500;
}
/*Example*/
if(GetAsyncKeyState(VK_F7/*Your Key*/) &1)
{
*(/*int, BYTE, double, float, long*/ long*)/*Addie Here*/Adr_Example = 0; /*Vaule here*/
}
}
if (dwServer != 0)
{//Start of our ServerPointer Hacks
/*Our Functions will go in here*/
}
} // Stay behind this like, or unless if you dont it leads to erro's that you could not fix. this is also the End of our define Functions
Any erro's Post a comment!