社区
移动开发其他问题
帖子详情
单机游戏中防止用户通过修改本地时间达到作弊效果
后起的黑马
2014-07-09 05:00:29
单机游戏中如何防止用户通过修改本地时间来达到作弊的效果,有没有什么C调用可以取到正确时间的,我是调用的time(0)函数
...全文
1174
1
打赏
收藏
单机游戏中防止用户通过修改本地时间达到作弊效果
单机游戏中如何防止用户通过修改本地时间来达到作弊的效果,有没有什么C调用可以取到正确时间的,我是调用的time(0)函数
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
yjryym
2015-02-02
打赏
举报
回复
Windows用timeGetTime或QueryPerformanceCounter/QueryPerformanceFrequency。 Android用SystemClock.elapsedRealtime。 其它用C库的clock。
变速齿轮——
单机游戏
变速
加速
单机游戏
进程。如CS,war 3等等!
QQ农场单机版(带源码转)
这是从别的地方转来的,赚点辛苦分!可以自己种自己的菜!!!
高仿cf单机版登陆器
高仿CF登录器,目前最高仿,cf单机版必备,支持ck竞技之王
CE5.6.1汉化
比较好用的一款CE工具
Time-cheat prevention1.6.zip
unity游戏防
修改
时间
作弊
源码(
防止
单机手游
修改
本地
时间
作弊
) Time-cheat prevention (unity 2020 android 10亲测可用) Mobile (iOS, Android) native plugin to prevent cheating by changing phone time in settings. Does not require server and internet connection - works completely offline! Many mobile games use timer mechanics: restoring lives, delivering upgrades, training units, breeding monsters, etc. But it is very easy to cheat just by changing device time. (OK, sometimes you must turn off internet connection first) Now it is possible to make reliable timers even without server and internet connection. This plugin uses internal low-level API to retrieve time data that is agnostic to local device time changes. Package contains: 1) iOS native plugin 2) Android native plugin 3) C# wrapper class with method to return current unbiased time 4) Optional sc ript that uses ntp pool when connected to network. This feature requires .NET sockets (Unity Pro on mobile) 5) Sample project (C#). YouTube demo:
移动开发其他问题
791
社区成员
13,279
社区内容
发帖
与我相关
我的任务
移动开发其他问题
移动平台 其他移动相关
复制链接
扫一扫
分享
社区描述
移动平台 其他移动相关
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章