GodotSteam / MultiplayerPeer

An ecosystem of tools for Godot Engine and Valve's Steam. For the Windows, Linux, and Mac platforms.
https://godotsteam.com
MIT License
3 stars 2 forks source link

Joining with connect_lobby() throws this error : CONNECTION ATTEMPTED BY PLAYER NOT IN LOBBY!? #5

Open Sheppowed opened 4 months ago

Sheppowed commented 4 months ago

Describe the bug I use the SteamMultiplayerPeer for etablishing connections between peers. When a peer tries to join a lobby/session , the error : CONNECTION ATTEMPTED BY PLAYER NOT IN LOBBY!? is thown into the console

EDIT : This error appears : Global.gd:181 @ _process(): Connection terminated. See ESteamNetConnectionEnd for reason #5003. and ESteamNetworkingConnectionState for connection state GodotSteam/GodotSteam#4

To Reproduce

  1. setup a SteamMultiplayerPeer based connection system (with connect_lobby() and create_lobby() etc)
  2. host/create a lobby and then try to join this lobby with another account/friend
  3. the error will be thrown in the output when the user will try to join the lobby

Expected behavior The other user should just join the lobby/session with no issues.

Desktop (please complete the following information):

Version of Godot: 4.2.2.stable

Version of GodotSteam: GodotSteam 4.9 pre-compiled in godot

Gramps commented 4 months ago

Hey there! Unfortunately, I did not work on MultiplayerPeer and am unfamiliar with how it works. I do somewhat recognize the error; you may have better luck checking our Discord's MultiplayerPeer channel.