且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在谷歌玩游戏服务假分数

更新时间:2023-02-01 20:13:26

两种技术,我建议......

Two techniques I would recommend...

  1. 最大值和最小值添加到开发者控制台的排行榜。如果你有一个排行榜总星和只有180分的比赛中,设置180为最大值。这将确保骗子最终不会添加这些假冒看分数。
  2. 查看 players.hide()调用。这将隐藏球员和他/她的得分来自公众排行榜,以便其他人可以看到它们。请注意,这REST调用不内置移动图书馆;你需要创建自己的小型网络应用程序(或直接进行卷曲电话)使用此电话。
  1. Add a maximum and minimum value to your leaderboard in the Developer Console. If you have a leaderboard for total stars and there are only 180 stars in the game, set 180 as the maximum value. That will ensure cheaters don't end up adding these fake looking scores.
  2. Check out the players.hide() call. This will hide a player and all of his/her scores from the public leaderboard so that nobody else can see them. Please note this REST call is not built into the mobile libraries; you'll need to create your own mini web app (or make curl calls directly) to use this call.