Welcome to the Tutorial !
Now i will teach u how to create a No Menu Hack for Warrock with C++!
To create a Hack, you need :
-A Brain
-Microsoft Visual C++ 2010 or 2008 (I use 2008 )
//Start teaching//
//Start Install & Creating a Project//
1.Install Microsoft Visual C++
2.Launch Microsoft Visual C++
3.Create a Project
-Click on the left side on WIN32
-Click to WIN32-Project
-Call your Project Warrock Hack
-Click on OK
4.Now a Window will open
-Click on Next
-Click on the Circle behind DLL
-Click on the Checkbox behind Empty Project
-Click on Finish
5.Your Hack Base Will apear now!
-Right Click on the Folder Source Files
-Click on Add->New Item
Now another Windows will appear
-Click on C++ File (.cpp)
-Call it main
-Click on ADD
//End Install & Creating a Project.//
-
-
-
//Start Coding the Hack.//
Now a blank document will appear.
//This is where the real NoMenu hack building starts//
-Insert the following Code
Code:
#include <windows.h>
#include <stdio.h>
//Addys//
#define Addr_Playerpointer 0xD284E8
#define Addr_Serverpointer 0xC24B10
#define NoSpawn1 0xBDDFD8
#define NoSpawn2 0xBDDFE0
#define NoSpawn3 0xBDDFDC
#define Slot5 0x1021A4
#define Ofs_Z 0x102D8
#define Ofs_nfd 0x103A4
//Defines//
DWORD *ingame= (DWORD*)Addr_Playerpointer;
DWORD *outgame= (DWORD*)Addr_Serverpointer;
//Source Codes//
void jump () //super jump
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+Ofs_Z) = 2000;
}
}
}
void nfd () //NFD
{
DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+Ofs_nfd) = -20000;
}
}
void Slots5 ()
{
DWORD dwPlayerPtr = *(DWORD*)Addr_Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+ Slot5) = 1;
}
}
void Spawn ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)NoSpawn1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawn1, &t , sizeof(t));
VirtualProtect((void*)NoSpawn1, sizeof(t), Protection, 0);
VirtualProtect((void*)NoSpawn2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NoSpawn2, &t , sizeof(t));
VirtualProtect((void*)NoSpawn2, sizeof(t), Protection, 0);
}
//Hacktread//
void HackThread()
{
for(;; )
{
if(*ingame) //All ingame Hacks like superjump,nfd,scoop etc.//
{
jump();
Spawn();
nfd();
Slots5();
}
if(*outgame)//All outgame hacks like Prmeium,supermaster etc.
{
Slots5();
}
}
Sleep(200);
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
MessageBoxA(NULL,"Hack by Taylan","Creditz",MB_OK);//
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
break;
}
return TRUE;
}
{
Build the Hack ( press the green arrow or press F5)
Now open the directory where u saved your Project and inejct the dll file.