-
Notifications
You must be signed in to change notification settings - Fork 169
Operating efficiency is extremely poor #34
Comments
hello, |
what is causing the crashing? |
While no input from other players is received, the simulation is in "prediction"-mode, so the client predicts that there is no input from other players and just continues running the simulation. (Input can be anything, e.g. a packet with just a framenumber in it, it must not necessarily be a keystroke) Now if the simulation receives an input from the very past, the prediction was wrong and the simulation has to rollback to the inputframe and fast-forward to the latest frame. Depending on the number of frames this can be a huge hit on performance. And while fast-forward is running, another input from the past can arrive so the whole process repeats itself. So if there is one client always lagging behind he forces every other player to rollback because his input does not arrive in time. |
Hi
I ran with my computer and found that it was inefficient and often crashed, and it was also hard to run, so it looked bad. My computer configuration is quite high.
The text was updated successfully, but these errors were encountered: