@GenkiGenga wrote:Hey lennaert , did you end up finding a work around for this?
For both main issues actually.
When joining an open room to join a game, the "lobby room" is just a room in the lobby, the host can broadcast a message with a new special room name ie From lobby room "Lobby-Pre-game" send out a message : Join room: "Actual-Closed-roomname"
When filtering the lobby, just not have it show the closed ones derived from the room names
This solves both issues at once. Namely closed room states and players joining later.
This solution I applied in a later stage, before that I simply had the host broadcast a room state just once upon starting a game.
If a player joined in later, the host would not hand out that gamestate again, ie "GameRunning"
As a side effect, I made the host send out "spectator" game state to players joining after the game had started, of which you can most likely guess its use