Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Attempting to set ready state for a non active player #7

Open
elondaits opened this issue Mar 28, 2024 · 1 comment
Open

Error: Attempting to set ready state for a non active player #7

elondaits opened this issue Mar 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@elondaits
Copy link
Collaborator

One report surfaced of a rare attempt to transition a non active player to the ready state right after a new storyline began:

https://imaginary-mathematics.sentry.io/issues/5110130498/

@elondaits elondaits self-assigned this Mar 28, 2024
@elondaits elondaits added the bug Something isn't working label Mar 28, 2024
@elondaits
Copy link
Collaborator Author

A player is “Active” when it has joined the game (i.e. they pressed a button to indicate they want to play).The “Ready” state is when the player or station is signals that they’re ready to move on to the next state… e.g. when the game is at the “Ending” state every player has to signal “Ready” by pressing the button and then the game ends for all.… So this means that a station signaled ready, but the player was not part of the game.

This probably happened because the action button was pressed to end the game, the iPad sent this to the server, but by the time the message arrived the server had timed out (because it wasn’t pressed for N seconds) and transitioned to the next state on its own, where the player was removed from the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant