java - 手游服务端如何验证客户端的传回的战斗结果(战报)?
伊谢尔伦
伊谢尔伦 2017-04-18 09:41:30
0
1
282

如果把战斗都放到客户端,战斗结束后服务端如何验证客户端返回的战斗结果?如刀塔传奇,求详解,thx:)

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (1)
大家讲道理

The calculations and return results that occur on the client may be changed. If you really think that it cannot be changed, you may get the quantum computer era.

So games like Dota Legend are all calculated by the server, and then the local only does the previous display.

Of course, if the calculation does not involve pseudo-random numbers, the result is certain. Multiple client runs can be considered and comprehensively adopted.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!