How to prevent cheating with Gamecih?

前端 未结 10 1556
孤独总比滥情好
孤独总比滥情好 2021-01-31 12:07

Background

I\'ve had problems for quite a while now with players cheating in my android game. For a strict single-player game this wouldn\'t be a big is

10条回答
  •  南笙
    南笙 (楼主)
    2021-01-31 12:21

    You should store a hash (eg crc32 or md5) of the health etc. everytime you update the value, do a hash check on the currently set value. In this case, the cheaters would have to write a seperate app that handles the hashes. Possible, but this will stop the script-kiddy cheaters soon enough.

提交回复
热议问题