Please
Great summery but I would like to add one very import requirement for General Game-Hacking.Quote:
- Get IDE and compiler
- Learn programming + stuff about windows processes
- Find game you want to cheat on
- Find values you want to change and their address in memory (you'll understand this once you learned programming and stuff about windows processes)
- Overwrite the value at the desired address in the memory of the game's process
optional (not required for a console): add a GUI (you'll know what this is once you learned programming) to make it look better
The whole process might take you about 1-10 years
#include <Windows.h>
#include <string.h>
#include <string>
#include <iostream>
#include <tlhelp32.h>
#pragma comment(lib,"psapi")
using namespace std;
DWORD GetProcName(const char * ProcName)
{
PROCESSENTRY32 pe;
HANDLE thSnapShot;
BOOL retval, ProcFound = false;
thSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
if(thSnapShot == INVALID_HANDLE_VALUE)
{
//MessageBox(NULL, "Error: Unable <strong class="highlight">to</strong> create toolhelp snapshot!", "2MLoader", MB_OK);
cout <<"Error: Unable to create toolhelp snapshot!";
return false;
}
pe.dwSize = sizeof(PROCESSENTRY32);
retval = Process32First(thSnapShot, &pe);
while(retval)
{
if(strstr(pe.szExeFile, ProcName))
{
return pe.th32ProcessID;
}
retval = Process32Next(thSnapShot, &pe);
}
return 0;
}
int main()
{
DWORD value = 45;////value to enter
DWORD Pid = GetProcName("game.exe");///process name
HANDLE Open = OpenProcess(PROCESS_ALL_ACCESS,false,Pid);
WriteProcessMemory((void*)(0x000000),&value,sizeof(value),0);
return false;
}