Forum C# Game code doesn't run on CreateRoom.

Game code doesn't run on CreateRoom.

Postby Emalton » April 23rd, 2018, 5:09 pm

PlayerIO game code isn't ran when someone does CreateRoom. This is problematic when normal users do CreateJoinRoom and join a room under the wrong room type.

Is there a way to disable CreateRoom altogether, or allow server sided code to be ran on CreateRoom? If not, what's an alternative?

Emalton
Emalton
 
Posts: 69
Joined: June 28th, 2013, 3:49 am

Re: Game code doesn't run on CreateRoom.

Postby Henrik » May 16th, 2018, 3:42 am

Yes, you can disable "Create Multiplayer Room" under the connection settings in your PlayerIO control panel. Note that that setting applies to everyone using that Connection, so you will have to have another "admin" connection that is allowed to create rooms, and you have to have something that makes sure all your rooms exist, since your regular players now can't create rooms when needed.
Henrik
.IO
 
Posts: 1832
Joined: January 4th, 2010, 1:53 pm


Return to C#



cron