有没有办法为 OpenFeint 添加作弊保护?

发布于 2024-12-02 03:27:46 字数 166 浏览 2 评论 0原文

我最近将 OpenFeint API 添加到我的应用程序中,以分享在线排行榜高分。

我注意到,在我添加排行榜后不久,很少有记录被添加到排行榜的第一位,并且具有不可能的值,所以这一定是作弊。

有办法避免吗?保护我的应用程序免受欺诈?我试图在网络上寻找这样的解决方案,但找不到任何解决方案。

I've recently added OpenFeint API to my applications, to share online leaderboard highscores.

I've noticed that not long after i've added the leaderboard, few records has been added with impossible values to the first places in the leaderboard, so it MUST be a cheat.

Is there a way to avoid it? To protect my apps from frauds? I've tried to look for such a solution over the web but couldn't find any.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

负佳期 2024-12-09 03:27:46

您的客户可以访问他们手机上的数据以及正在传输的数据。由于这个基本事实,他们可以利用这些数据做任何他们想做的事情。

除非你开发自己的服务器,否则没有办法规避这个问题。不仅仅是一个跟踪成就和分数的服务器。但是服务器会跟踪您的游戏收到的每个用户输入。多人游戏就是一个很好的例子。 MMO、FPS 都依赖于服务器来告诉客户端应用程序“不,你现在不能执行该操作”,或者“是的,你可以执行该操作”。这样,你的分数、你的成就,一切都将保持一致,因为服务器会在每一步中授予权限。

对于简单的游戏,我只会保留每周的分数。每周擦拭它们,因为黑客每周都会把他们愚蠢的假高分放在那里。我不确定 OpenFeint 是否具有此功能,但我确信您可以构建一个简单的脚本来每周擦拭木板。

Your customers have access to the data on their phone, and the data being transmitted. Because of this fundamental fact, they can do whatever they want with that data.

There is no way to circumvent this problem unless you develop your own server. And not just a server to track achievements and scores. But a server that tracks every single user input that your game receives. A good example of this are multiplayer games. MMO's, FPS's that all rely on a server to tell the client applications 'no you can't perform that right now', or 'yes you can do that'. In this way, your scores, your achievements, everything will be in line because the server is giving out permission every step of the way.

For simple games, I would just keep weekly scores. Wipe them every week, because what hacker is going to put their stupid fake high score up there on a weekly basis. I'm not sure if OpenFeint has this feature, but I'm sure you could build a simple script that wipes the boards week by week.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文