Hi guys,
I have this use case where the players get their current location from the onAuth method. Each map in my game has its own Room to connect to. For now I created MapRoom and TownRoom, the problem is the client doesn't know which one to connect to. So I figured maybe create a third Room called LobbyRoom and let all clients connect to that first, get the location data and send it to the client so the client connect to the correct room. Is this even safe? I don't want the client to be able to connect to any Room they want. Is this even a good practice? Or maybe it is possible to initiate TownRoom from LobbyRoom without sending a message to the client to reconnect (haven't found such options).
Any thoughts on this?
Thanks in advance!