防止“时间变化”在游戏中作弊 [英] Preventing "Time Change" Cheating in Game

查看:227
本文介绍了防止“时间变化”在游戏中作弊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

iOS中是否有可以使用的时钟,用户无法更改

我知道许多iOS游戏中的任务需要花费时间(即10小时直到动物完成繁殖),可以进入设置并更改时间以加快任务的完成。在我正在开发的游戏中,我不希望用户这样做,所以我试图实现一个系统来防止这种类型的作弊。我已经考虑了很多,但无法提出解决方案。基本上,我的问题是如何在不依赖系统时钟(可以轻易操作)的情况下跟踪时间以防止用户作弊?

I know in many iOS games that have tasks that take time (i.e. "10 hours until animal done breeding"), one can go into "Settings" and change the time to speed up the completion of the task. In the game I'm developing, I don't want users to do this, so I'm trying to implement a system to prevent this type of cheating. I've put a lot of thought into this, but can't come up with a solution. Basically, my question is how do I keep track of time without relying on the system clock (which can easily be manipulated) for the purpose of preventing users from cheating?

推荐答案

将我的评论转换为答案。

transforming my comment into an answer.

不依赖于用户或设备,而是依靠外部资源提供无偏见的时间。时间服务器,服务器等。如果你不信任....

Instead of relying on a user or device, rely on an external source for providing unbiased time. A time server, your server, etc. If you don't trust....

这篇关于防止“时间变化”在游戏中作弊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆