create temp room

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

create temp room

Postby corwin » 11 Dec 2009, 07:57

Hi, I couldn't find how to set if the room is temporary when creating it server side with java. When just create with isGame=true, the isTemp check returns false, and the room is NOT destroyed when all users leave.

P.S. When the frontend ninja creates a game room and set isTemp param to true the game is destroyed when all users leave, but in the current case I need to create it server side...
corwin
Posts: 77
Joined: 17 Jul 2009, 08:19

Postby corwin » 11 Dec 2009, 08:07

Found it:

creator - the "owner" of the room. null = Server owned. A Server owned Room will be ignored by the default room management system and will be never removed, unless you it manually from your code.

Works when set creator to one of the players.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 49 guests