As for making a game cheat-proof, it is nearly impossible. There are hacks for WoW, Counter-Strike, BattleField 3, etc. Thus, if the entire collective programming skill at Blizzard, Valve, and EA cannot stop hacker, then a small indie company like us has no chance.
What we can do is make it obvious though, so cheaters can be either banned by admins or you can leave the server:
- Your client knows the max possible stats possible for other players, so if you see a broken health bar like the above screenshot, it may be a cheater.
- Due to compression and de-compression, the net code does not accept very large numbers. For example, if someone hacked their gun to do "1 million damage", the server and other clients would receive that as some garbage value, and likely ignore it.
- The server public stats board can help reveal cheaters as well.