As you stated, you need to check everything on the server. Regardless of whether you release source code (remember Reflector!), you must never trust the client for anything (including its own integrity).
Note, however, that (ideally) you don't need to make cheating impossible; you just need to make it harder to accomplish a task by cheating than it is to accomplish that task legitimately. Rational people will not cheat to accomplish something if they can do it more easily without cheating.
However, some people will cheat for the challenge of the hack, even if it's harder than doing it normally.
发布评论
评论(1)
正如您所说,您需要检查服务器上的所有内容。
无论您是否发布源代码(记住 Reflector!),您都绝不能信任客户端的任何事情(包括其自身的完整性)。
但请注意,(理想情况下)您不需要让作弊成为不可能的事情。你只需要让通过作弊来完成任务比合法完成任务更困难即可。
如果理性的人能够在不作弊的情况下更容易地完成某件事,那么他们就不会通过作弊来完成某件事。
然而,有些人会为了黑客的挑战而作弊,即使这比平常更难。
As you stated, you need to check everything on the server.
Regardless of whether you release source code (remember Reflector!), you must never trust the client for anything (including its own integrity).
Note, however, that (ideally) you don't need to make cheating impossible; you just need to make it harder to accomplish a task by cheating than it is to accomplish that task legitimately.
Rational people will not cheat to accomplish something if they can do it more easily without cheating.
However, some people will cheat for the challenge of the hack, even if it's harder than doing it normally.