gschup / ggrs

GGRS is a reimagination of GGPO, enabling P2P rollback networking in Rust. Rollback to the future!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rollback when remote player disconnects

gschup opened this issue · comments

When we receive information that a player has disconnected on a certain frame, we should rollback to that frame and resimulate the game with correct input information. This is currently simply not happening and we wrongly have a few frames of input prediction in the game simulation.

This can lead to desyncs in sessions with more than two players.

Relevant code section