It should be possible to recover/resync the game state in the event of a disconnection #2

Open
opened 2026-02-25 19:37:58 +00:00 by jmaguire · 0 comments

A netsplit could occur, with the parser on one side of the split, and the monopoly game & players on the other side. In this scenario, the game state will move forward but the monop-state parser bot will not be aware of it. We should try to resync on .print, .holdings, etc. As part of tackling this issue, determine which state is possible to resync and any edge cases that may be difficult or impossible to handle.

If it's not possible to resync the state using the existing monop game commands, we should also consider adding the ability to provide log files to resync the game.

A netsplit could occur, with the parser on one side of the split, and the monopoly game & players on the other side. In this scenario, the game state will move forward but the monop-state parser bot will not be aware of it. We should try to resync on `.print`, `.holdings`, etc. As part of tackling this issue, determine which state is possible to resync and any edge cases that may be difficult or impossible to handle. If it's not possible to resync the state using the existing monop game commands, we should also consider adding the ability to provide log files to resync the game.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jarvis/monop-state#2
No description provided.