Fake Variable Values Example1.1

This example shows how to fake a value of a variable while storing it into an .ini file.

We basically write the same variable twice, but with different manipulation algorithms. Then we read the variables with an inversed algorithm to get a valid value. If the player now changes the values, and they don’t match, a manipulation of values (cheating) will be detected.

Make sure you don’t use too simple manipulation algorithms like multiplication or division, since these are easy to reverse engineer.

Note
  • Only makes it more difficult to manipulate values. Reverse engineering of actual values still possible, but might be hard.
2xdsoft
Fake Variable Values Example
Download 1.1