mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-04 20:37:59 -06:00
9 lines
582 B
Plaintext
9 lines
582 B
Plaintext
These scripts are for debugging sync errors. Sync errors are caused by one
|
|
of the clients going out of sync with the other clients in an multiplayer game.
|
|
Since multiplayer is done as a synchronized simulation, all clients must have
|
|
exactly the same simulation state. Each client uploads a hash to the server of
|
|
the simulation state. For each game step, the server checks the hashes for all
|
|
clients and if there is a mismatch, tells the clients and they upload their
|
|
state to the sync error url. This state can be parsed with these tools to find
|
|
where the state divergence occured.
|