https://github.com/AwesomeMc101/Constelli
Video link: https://www.youtube.com/watch?v=45qdE_o4xK0
-
As shown in the video, this tutorial will use the example of a process called "fake game.exe" and writing to and reading from a player's gold.
-
The game initially prints out the memory address the gold is stored at, saving us the time of using Cheat Engine to find it.
openprocess("fake game.exe");
- You can only have
1
global handle (process) opened at one time.
Now, let's read the memory initially stored as our gold.
The game told us the address was at 00F7FCBC
. So, we can read it doing this:
readmemory("00F7FCBC");
To write memory, it's the same with another argument.
writememory("00F7FCBC", 1000000);
Lastly, we close our process simply calling:
closeprocess;