
Originally Posted by
YoavX
Hello, im a programming with C++, and i'd like to create some hacks :P
first of all, how does it works?
if i'll get an example of hack code for a game i would be grateful.
Wouldn't we all xD. Well I can tell you how it works, but you need certain things to go about, and what you need depends on what type of hack you are making.
Depending on what you want to alter about the game there's different ways to get it done. A popular way is memory hacking.
For memory hacking you need:
1. Some way to find the memory addresses that you want to change.
2. Some way to change those values.
Well that's about it, but the first part might be harder then you would think depending on the countermeasures taken on by the game designers...
After that you would just make a program to change these values. You would need to use functions such as WriteProcessMemory... etc. Taking a good look at a Warrock hack may give you a basic idea of how memory hacks are designed.
Anyway after all that the only problem is deciding how to implement your hack. Almost everyone uses .DLL for memory hacks. because then your hack is part of the game and can read keystrokes and other things without to many complex calls and dealing with scope of windows, etc.