Forum Multiplayer Keeping Room Active

Discussion and help relating to the PlayerIO Multiplayer API.

Keeping Room Active

Postby dushyantK » July 8th, 2021, 8:03 am

Hello,

When a room is created with a player and a fluctuation occurs in the network, the room is destroyed immediately.

Is it possible that the room will not destroy by itself i.e the room will remain active? or some other option that a user is created by the server scripts for resolution of this issue.
dushyantK
 
Posts: 2
Joined: June 1st, 2019, 10:26 am

Re: Keeping Room Active

Postby Emalton » July 16th, 2021, 9:43 pm

You'd have to have another user join the room for it to be there still, otherwise you'll need to save the room state in BigDB and load when it's created again.
Emalton
 
Posts: 86
Joined: June 28th, 2013, 3:49 am

Re: Keeping Room Active

Postby junitacowart » October 1st, 2021, 10:48 am

Emalton wrote:You'd have to have another user join the room for it to be there still, otherwise you'll need to save the room state in BigDB and load when it's created again.

Thank you, great help.
junitacowart
 
Posts: 1
Joined: October 1st, 2021, 10:48 am


Return to Multiplayer