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

Lobby updates do not work as expected #36

Open
jchv opened this issue Jul 6, 2023 · 2 comments
Open

Lobby updates do not work as expected #36

jchv opened this issue Jul 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jchv
Copy link
Contributor

jchv commented Jul 6, 2023

When users leave and join rooms and exit and enter the lobby, the user list is very prone to falling out of sync. Pangbox likely handles the lobby incorrectly.

The lobby sync we do after you exit a game does not seem to work. I suspect that the lobby updates are supposed to continue even when you are in a game, which is annoying. We could potentially just make a diff of the state from before and do a minimal update when a game ends, but it'd be better to just follow what the game does, even if it seems unnecessary. Probably need to check pantrant.

@jchv jchv added the bug Something isn't working label Jul 6, 2023
@hex-agon
Copy link
Contributor

hex-agon commented Jul 6, 2023

Just chiming in that it is indeed the case, here's a pcap from pangya th:
image
As highlighted in blue, those are the packets sent when starting a game and while i'm still in the game i am receiving user & room census packets (highlighted in orange)

@jchv
Copy link
Contributor Author

jchv commented Jul 6, 2023

Thanks! I'll just fix the lobby behavior at some point...

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

2 participants