Simple protection against memory hacking – part 2

Last time I was writing about how cheating with leaderboards is possible in mobile games. There are applications that allow cheater to search memory for the interesting value and change it during the game runtime. This is obvious that those values can’t be stored in memory as themselves. How to encrypt them and in the same time make the whole mechanism easy to use?

Simple protection against memory hacking – part 1

While playing video games with leaderboards you might notice that sometimes there are players with enormous, impossible scores.


Impossible scores!

As you probably guess those ones weren’t scored by playing a game the fair way.
There are three (known to me) ways to do such a terrible thing:

Simple hex picker

Using hexes instead of square fields gives strategy games more depth and variety in creating interesting, tactical situations. But, because of its shape, it is slightly more challenging to implement them. This article will show how to nicely pick the proper hex tile using a mouse.

First of all, let’s look at the interesting properies of the hexagon.