I´m having trouble creating rooms to use in OpenSpace.
A - static room
B - Dynamic room
C - Dynamic room
1) I´m in A, create a room B and os.loadMap(B).
2) I return to the A and de B does not destroy itself (looking from admin tool).
3) I´m in A, create a room B and os.loadMap(B). Create a room C and loadMapt(C). Return to B but the map does not renderize using the same methods as used before.
Problem 1 - Room does not destroy automatically.
Problem 2 - Map does not renderize.
Any help.
Create room
Create room
Fabio Colombini
Brazil
Brazil
Re: Create room
Sorry for the late reply, I missed your message (actually it would have been better to post it in the OpenSpace section of the forum).
The Room is not auto-removed because (I suppose) it is not a Room of type "game". Standard Rooms are removed when their creator disconnects, while game Rooms are removed when no more users are inside.
What if you try setting it's type to "game" when creating the Room? It should disappear when leaving it, but what if you create it again? Still no rendering?
The Room is not auto-removed because (I suppose) it is not a Room of type "game". Standard Rooms are removed when their creator disconnects, while game Rooms are removed when no more users are inside.
What if you try setting it's type to "game" when creating the Room? It should disappear when leaving it, but what if you create it again? Still no rendering?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: Create room
Hi Bax,
I created a removeRoom() method in extension side that is called when a user leave the room and the method checks if there is nobody inside it.
It´s working ok now.
thanks.
I created a removeRoom() method in extension side that is called when a user leave the room and the method checks if there is nobody inside it.
It´s working ok now.
thanks.
Fabio Colombini
Brazil
Brazil
Re: Create room
Great, that would have been my next suggestion.
Again, sorry for the late reply.
Again, sorry for the late reply.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 35 guests