Strategies to Defeat Memory Editors for Cheating - Desktop Games
- by ashes999
I'm assuming we're talking about desktop games -- something the player downloads and runs on their local computer. Many are the memory editors that allow you to detect and freeze values, like your player's health.
How do you prevent cheating via memory-modifiation? What strategies are effective to combat this kind of cheating?
For reference, I know that players can:
- Search for something by value or range
- Search for something that changed value
- Set memory values
- Freeze memory values
I'm looking for some good ones. Two I use that are mediocre are:
Displaying values as a percentage instead of the number (eg. 46/50 = 92% health)
A low-level class that holds values in an array and moves them with each change. (For example, instead of an int, I have a class that's an array of ints, and whenever the value changes, I use a different, randomly-chosen array item to hold the value)