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

Gdevelop multiplayer server thinks you are still in a lobby if you don't use the "back to lobbies" button #6709

Closed
1 task done
TheRealSoloLeo opened this issue Jun 23, 2024 · 3 comments

Comments

@TheRealSoloLeo
Copy link

Is there an existing issue for this?

Describe the bug

If you press the image button (go back to previous page button) and you're in a multiplayer lobby that hasn't started you are sent back in the "game name - Lobbies" menu, but the server thinks you are still in the lobby until you reload the page.

Steps to reproduce

  1. Create a simple game with the new multiplayer features
  2. Export it in a gdevelop test build
  3. Open the test build in a browser
  4. Join a lobby
  5. Click on the image button (go back to previous page button) (it's next to the refresh page button)

GDevelop platform

Desktop, Web, Mobile

GDevelop version

5.4.204

Platform info

Windows 11

Works on chromium browsers (and probably firefox)

Additional context

It probably works on html and published gd.games games too because they're the same type of export.

@ClementPasteau
Copy link
Collaborator

Hi @TheRealSoloLeo
Thanks for reporting the issue. I can indeed confirm I reproduce the problem with those steps, it's a really strange behavior!
We'll work on a fix.

@ClementPasteau
Copy link
Collaborator

Fix has been pushed, this should not happen anymore

@deftrashu
Copy link

please add cursor/D-pad or Enter/return button support while online lobby.

Example: accept to READY by Enter or Arrows.
thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants