How to code your own no-menu base

Posts 1–15 of 35 · Page 1 of 3
How to code your own no-menu base
Since i have been coding for months, ppl asked me over & over how to code their own 'NoMenu Base' without any Copy & Paste.


This tutorial explains:
1- How all the functions operate.
2- What to include
3- The Sleep method

first we include our windows header file:
Code:
#include <windows.h> // We include our windows header file.
then we include our adresses:
Code:
#define ADR_PLAYERPOINTER0x00
#define ADR_SERVERPOINTER 0x00
Then we make the module, what will include the hacks:
Code:
void source_codes(){ // We define our 'Source Codes' in here.
DWORD *dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD *dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
//Hack here
} // Make sure your stay before this line, else it will lead to errors as result.
Then we gonna make our module thread, also called 'HackThread'
Code:
void Module_Thread(){// We define our 'Modules' in here, So it will run the feathurs included into our project.
for(;;){ //for 'nothing' we going to run the following functions:
source_codes(); // We are going to run the 'source codes' module, it will run all the items added into 'source codes'.
} // End the include of our Modules.
Sleep(200); // Prevents the CPU from overrunning.
} // End our Module_Thread.
Then we make our hack start with this code:
Code:
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
{ // Begin our module running
if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH) // If our dll is attached to a process were are going to run a thread.
{ // Begin our Thread Running
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Thread/*We run our ModuleThread to start the whole process*/,0,0,0);
} // End our Thread Running
return TRUE; // We let the process run over again, if we dont do this, the dll will not work.
} // End our Module Running



in the end it will look like this:
Code:
/*
 * Basic Base by AeroMan
 * Source coded & guided by AeroMan
 * www.mpgh.net
 */

#include <windows.h> // We include our windows header file.

#define ADR_PLAYERPOINTER 0x00
#define ADR_SERVERPOINTER 0x00

void source_codes(){ // We define our 'Source Codes' in here.
DWORD *dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD *dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
//Hack here
} // Make sure your stay before this line, else it will lead to errors as result.

void Module_Thread(){// We define our 'Modules' in here, So it will run the feathurs included into our project.
for(;;){ //for 'nothing' we going to run the following functions:
source_codes(); // We are going to run the 'source codes' module, it will run all the items added into 'source codes'.
} // End the include of our Modules.
Sleep(200); // Prevents the CPU from overrunning.
} // End our Module_Thread.

BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
{ // Begin our module running
if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH) // If our dll is attached to a process were are going to run a thread.
{ // Begin our Thread Running
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Thread/*We run our ModuleThread to start the whole process*/,0,0,0);
} // End our Thread Running
return TRUE; // We let the process run over again, if we dont do this, the dll will not work.
} // End our Module Running
this small tut is nothing, all works fine if you write it correctly like 'DllMain'
Only 'D' & 'M' must be big letters.



Goodluck
Hope this answers all your questions
Thx man :P
Already know it, but I think it will be usefull.
Btw, we need to know a bit about prog. to understand the whole tut I think( thats only my opinion). You explain everything, that's pretty cool.

If someone don't know anything about coding, he just need a brain to understand the explanation, and to make the hacks' functions. Really easy now you all have the "base" of every noMenu.
its helped me it help others who wants code
also i quited its hard for me
I'm getting this error:
Code:
------ Build started: Project: HTR NoMenu, Configuration: Release Win32 ------
Compiling...
HTR NoMenu.cpp
.\HTR NoMenu.cpp(20) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(21) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(22) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(23) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(24) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(25) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(26) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(27) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(28) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Build log was saved at "file://c:\Users\HackTesteR\Documents\Visual Studio 2008\Projects\HTR NoMenu\HTR NoMenu\Release\BuildLog.htm"
HTR NoMenu - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Nice !

You explain everything perfectly !
It's still a C&P but your learn what the code does/m-ean

offtopic : LOG ON MSN ! xD

God job !
Quote Originally Posted by gamernuub View Post
Go cry then ...


All you need is in this post -.-
Quote Originally Posted by Rainscape View Post
I'm getting this error:
Code:
------ Build started: Project: HTR NoMenu, Configuration: Release Win32 ------
Compiling...
HTR NoMenu.cpp
.\HTR NoMenu.cpp(20) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(21) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(22) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(23) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(24) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(25) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(26) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(27) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\HTR NoMenu.cpp(28) : error C2440: 'initializing' : cannot convert from 'DWORD' to 'DWORD *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Build log was saved at "file://c:\Users\HackTesteR\Documents\Visual Studio 2008\Projects\HTR NoMenu\HTR NoMenu\Release\BuildLog.htm"
HTR NoMenu - 9 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Read that dude... jeez
Quote Originally Posted by Rainscape View Post




Read that dude... jeez
Don't C/P dude..try to understand how it build..just review your works..nice try...
Note: addies/offsets shoud not be empty..
Good job bro!
Come to msn
Great job man, thanks.
Nice, helped me
Nobody cares to help me... :/...
Quote Originally Posted by Rainscape View Post
Nobody cares to help me... :/...
Go cry then ...


All you need is in this post -.-
Could someone please give me an example of what I have to make on the place where: // hack here stands.
no menu base?
what does a no menu base do, what is it?
Posts 1–15 of 35 · Page 1 of 3
This thread is closed for replies.

Tags for this Thread

None

Talk with us