How to Write a no menu Hack

Posts 1–4 of 4 · Page 1 of 1
How to Write a no menu Hack
Hey guys in this Tutorial I want to show you
How to Write a no menu hack!

Requirements:

- C++ Compiler / IDE
- A Brain
- Addies
- C++ Knowledge
- ASM


Tutorial:

I'll Post the Code ans i will explain all!

Code:
#include <windows.h> // Needed for the DLL

#define NoReload 0x0000 // (Put address here)
#define ..... (etc.) // Other #defines
#define PlayerPtr 0x0000000 // This pointer is needed for the NoReload offset

DWORD *InGame = (DWORD*)PlayerPtr;  // Checks, if ingame

void NoReloadHack()   // Hack function
{
dwPlayer = *(DWORD*)PlayerPtr; // define the PlayerPtr;
if(dwPlayer != 0)  // Checks, if the PlayerPtr can be used.
{
for(;;) // Unlimited loop. (for holding the value)
{
Sleep(100); // No Crash
*(float*)(dwPlayer+NoReload) = 100; // Value for no reload. 
}
}
}

void Thread01()
{
for(;;)  // Unlimited Loop, btw to hold the value.
{
if(*ingame)  // Clearly?
{
NoReloadHack();  (Starts the function)
}
}
}

// DLL MAIN

BOOL WINAPI DllMain(HINSTANCE mod, DWORD Reason, LPVOID res) // Standard Dll Main
{
switch(Reason)
{
case 1: // When dll is attached to process 
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Thread01, NULL, NULL, NULL); // do that (It creates our thread and starts all functions of our no menu code // //           // on           INJECTION)
break;
}
return TRUE;
}
when ?????
Quote Originally Posted by dungzkii View Post
when ?????
Good job, keep it up. The code's correct. Oops wrong person
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us