OnRoomVariablesUpdate

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
gen4
Posts: 7
Joined: 24 Jul 2007, 14:58

OnRoomVariablesUpdate

Post by gen4 »

Hi there!

I have a lobby - room with list of game-rooms.
Each room have a different numbers of players.
So i need to display how much users in each room at the moment and dynamicly change this and another params. (gameStarted for example) - i using roomVariables for it.

But(!) onRoomVariablesUpdate works only if i joined to room.

i need to recive a onRoomVariablesUpdate in zone without joining.

Please, give me advice - how i can do what i need to?

Thanks
gen4
Posts: 7
Joined: 24 Jul 2007, 14:58

Post by gen4 »

up
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Post by patso »

The server side extension can keep all clients updated by sending messages.
jigidyjim
Posts: 39
Joined: 06 Nov 2007, 21:48

Post by jigidyjim »

Isn't this what the ucount setting is for?

http://www.smartfoxserver.com/docs/inde ... yList2.htm
mauroluz
Posts: 3
Joined: 02 Mar 2009, 17:17

Post by mauroluz »

up up, i have the same problem :(
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

This particular use case is discussed in detail here:
http://forums.smartfoxserver.com/viewto ... 2388#12388
if anything is unclear let me know
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply