Hi,
I'm building a java mobile game and i need to prevent people from hacking the score via the memory. I thought of maybe like this,
-Instead of using numbers in the score's main variable, we use Alphabets like 1=AG, 2=RE
-So the canvas or display just reads the score's alphabets and translate it to a number.
Will this work? If no, do you any better idea?
Melv
If you are going to go along this line maybe put a checksum in there as well. The best disincentive is to have a system check that looks for a change which doesn't match the checksum and permanently disables the game requiring a reinstall. Then the effort invoved in testing the hack is outweighed by the effort of reinstalling.
Bear in mind though that most gamers are not programmers. Because games programmers do both they can easily get caught building in defences against hacking which only a minority of players will be capable of.