private status?

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

Moderators: Lapo, Bax

Post Reply
FragOnly
Posts: 2
Joined: 20 Jul 2009, 15:43

private status?

Post by FragOnly »

Hello

I was wondering if its possible to toggle or make a room private (password protected) after it has been created?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

No, it is possible to do it upon creation.
Lapo
--
gotoAndPlay()
...addicted to flash games
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Really? Not even possible?

What about via server side? i.e. setPassword(String)
Smartfox's forum is my daily newspaper.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes, you can do it from server side but it will go out of synch with the client which will anyways see the Room as not password protected.

FYI: this is going to change with our next major release where Rooms will be dynamically rename-able, resizeable and password lock/unlock-able.

Stay tuned for more news on this in the next months
Lapo
--
gotoAndPlay()
...addicted to flash games
FragOnly
Posts: 2
Joined: 20 Jul 2009, 15:43

Post by FragOnly »

Thanks for the replies,

is there another method of somehow notifying the clients that a room is no longer available to join?

I am using it as a game room, when the game is started it should not be join-able any longer.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes, this can be done from server side.
You should inhibit the possibility joining Rooms from client side (by configuring the <DisabledSysActions> in your Zone) and perform the join from server side, via extension calls.
This way you can add your custom logic before joining and check whether a Room is joinable etc...
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply