Simple proof of concept on how to draw to an overlay through the use of GDI in Assault Cube.
-
WHAT IS THIS:
-
HOW TO RUN THE HACK:
- If using Visual Studio then Right Click on the project -> Properties
- -> Advanced -> Character Set -> Make sure you use 'Use Multi-Byte Character Set'
- Build the hack (platform: Win32)
- Enter AssaultCube
- Start the hack
- If using Visual Studio then Right Click on the project -> Properties
-
OTHER RELEVANT INFO:
- Base address and offsets for entities (names, positions, health etc.) are found through OllyDbg and Cheat Engine.
- Relevant WinAPI functions:
FindWindowA
,GetWindowThreadProcessId
,OpenProcess
,ReadProcessMemory
-
CREDITS:
- WorldToScreen: Guidedhacking.com
-
DISCLAIMER:
- Run this in singleplayer mode ONLY. This hack should never be used to ruin the game for other players. This serves solely as a purpose for learning and to better understand the workings of memory forensics and the WinAPI.