使用自动点击器阻止用户
我遇到了一些问题,用户通过使用宏以某种顺序自动单击屏幕上的某些点来欺骗我的在线游戏,从而自动执行各种任务,而无需实际玩游戏。是否有任何方法可以用来阻止此类活动,而不必在整个网站上粘贴验证码并破坏诚实用户的体验?
编辑:我忘了提,这是一个基于网站的游戏,不使用 Flash。
I'm having some problems with users cheating my online game by using macros to automatically click certain spots on the screen in a certain order to automate various tasks without having to actually be playing the game. Are there any methods that can be used to block this kind of activity without having to plaster CAPTCHAs all over the site and ruin the experience for the honest users?
Edit: I forgot to mention, this is a website-based game, and not using flash.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
作为一名程序员,我建议寻找点击量或时间的模式。简单的机器人会以非常有规律的时间间隔到达完全相同的地点,并且比人类更快地完成任务。这使得模式相当容易识别。
作为一名游戏玩家和游戏设计师,我建议修复你的游戏,这样它就不会那么盲目。虽然总会有一些强力游戏玩家会不惜一切代价取得成功,但如果超过百分之一左右的玩家群体采取这种做法,那可能是因为你让他们重复一些令人麻木的无聊内容任务的次数可笑。让你的游戏变得有趣,人们将更有可能真正玩它,而不是让机器人代替他们。由于使其变得有趣通常涉及构建比仅仅“一遍又一遍、一遍又一遍地点击这三个点……”更加多样化的游戏玩法,那么这自然也会使游戏更能抵抗机器人,因为不会有机器人。对于机器人来说,这是一个简单的重复模式。
As a programmer, I say to look for patterns in volume or timing of clicks. Simple bots will hit the exact same spots at very regular intervals and do it much faster than a human would be able to. This makes for fairly easily-identified patterns.
As a gamer and game designer, I say fix your game so it's not so mindless. Although there will always be a few power gamers who will do anything to get ahead, if more than a percent or so of your player base is resorting to this kind of thing, it's probably because you're making them repeat some mind-numbingly boring task a ridiculous number of times. Make playing your game fun and people will be more likely to actually play it instead of having bots stand in for them. Since making it fun typically involves building gameplay that is more varied than just "click these three spots over and over and over and over and...", then this will also naturally make the game more bot-resistant, since there won't be such a trivial pattern for the bot to repeat.
正如 Dave Sherohman 所说,让游戏变得更有趣。
如果您做不到这一点,您可以做一些事情。可以通过某些方式更改用户界面,以便机器人不能只是重复点击。如果这不现实,您可以尝试通过识别模式来检测机器人,然后更改 UI 或提供验证码,有点像 StackOverflow 的做法。这不应该让用户太烦恼,因为除非他们是机器人,否则他们几乎永远不会看到它。
As Dave Sherohman said, make the game more fun.
If you can't do that, there are a few things you could do. It may be possible to change the UI in certain ways so that the bots can't just repeatedly click. If that isn't realistic, you could try to detect the bots by recognizing the patterns, and then alter the UI or give a CAPTCHA, sort of like how StackOverflow does it. This shouldn't annoy users too much, as they should almost never see it unless they are a bot.
是的,你的游戏的问题是手腕杀人、头脑麻木、RSI 诱导“非内容”。
您可以通过让游戏变得有趣而不是令人痛苦来轻松解决问题。
任何人都不应该被迫像猴子一样一遍又一遍地点击同一个按钮才能在游戏中取得领先——实际上,我为所有通过充分利用大脑来使用机器人来解决这个糟糕的游戏问题的人鼓掌。
事实上,我想,对机器人进行编程比愚蠢的点击更有趣,并且会导致更少的 RSI。
Yes, the issue with your game is wrist - killing, mind - numbing, RSI - inducing "non - content".
You can fix the issues easily by making the game fun instead of a terrible grind.
No one should be forced to click the same button over and over again like a monkey to get ahead in a game - and I actually APPLAUDE everyone who fixed this bad gameplay issue by using his brains well enough to use a bot.
Actually, programming the bot is more fun than stupid clicking I guess and causes much less RSI.