Hi, I'd like to know if there's any way to remove the limit on the number of players who can connect to a lobby.
Viewing post in Impostor Alert Template comments
Hello :)
You can remove that limit, but i do not recommond doing it, because the game codes handles 7 players only currently, player 8 and above will break everything in the game, you will have to handle all players in the codes in order to make them not break the game rules.
Open the Lobby scene events → Server code event → Spawning players → A client has connected event → State.HowManyPlayersHasJoinedTheLobby → currently its 7, change that to the number of players you want. to be in the lobby.
Thanks a lot, friend. Now I was wondering if it's possible to have a lobby that's always open. that doest depend on a player being online
Since it normally depends on the player who created the lobby being connected to that lobby, in order for others to be in that lobby, if there were a way for a lobby to always be open.
As you can see, for now I'm interested in lobby interaction, hehe.
Thanks in advance.
The template uses THNK-P2P extension for online multiplayer, P2P in general requires 1 player at less to open a lobby on his side, in P2P the host player is basically the server, if he leaves, the server will close, in order to make a room open forever, you actually need to host a paid server (there is many online) then connect it with gdevelop, the template currently doesn't support that :)