I have been playing an RPG Game in the last two days. Because I have no money to spend on it, I have called Kingsoft ranger and modified it, so I have created a mechanism to prevent modification.
The idea of money: The game uses a variable to store the amount of money. The variable has its address in the memory, so when its value changes,
Use a function (or method) to apply for a new memory address for this variable and release the old address at the same time. So as to prevent Modification
Purpose.
It's just an idea. I don't know whether it can be implemented or whether it can occupy system resources. Hope you can give me some advice ~!
Game modifier principle: (using Kingsoft Ranger 2002 as an example)
In the game, call the modifier to search for all addresses with the value of money (N results can be obtained), and then return to the game.
Find a way to change the amount of money, such as buying and selling items, and then find and change the last n results in the modifier.
The following value is the same as the current number of money. You can search for the address several times in this way, and only the result is fixed until several values are reached, then modify it to make money burst.