CodePudding user response:
Can try the game starts, traversal process, detect whether there are in the process of change gear, so, the game automatically quit,CodePudding user response:
I have an idea is to use web services to outGame every 1 second contracted out to a server (web service post/get also line), it is best to long connection.
Then the server judge two intervals.
CodePudding user response:
That if I meet with network latency, how to determine is a network problem, or change gear deceleration?CodePudding user response:
Local time, the network time (NTP) server, take time to perform a right condition needs a much longer time to operation, such as a few seconds, local time, again the network time (NTP) server take time, compare the difference of two period of time, if greater than a certain threshold, 50 milliseconds, for example, what is it that isCodePudding user response:
That if the game fixed speed from the start, such as 0.5 times? The threshold is not a start is wrong?CodePudding user response:
It won't change from the time the server time, this time from the network server to take time, and the Windows date and time set in the Internet is the same time,