get room properties without connencting to room

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

Moderators: Lapo, Bax

Post Reply
dream
Posts: 21
Joined: 21 Aug 2006, 13:54
Location: Bucharest, Romania
Contact:

get room properties without connencting to room

Post by dream »

or to be more specific ... how can i get the number of users connected to a certain zone without loging in into that zone ? of any info for that matter

Also Is it possible to manually close a room from the Admin Tool?

Thank you
nature has a funny way of breaking what does not bend
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

or to be more specific ... how can i get the number of users connected to a certain zone without loging in into that zone ? of any info for that matter
You have to be logged in the zone.
1 - log as guest in the zone
2 - request the roomList
3 - cycle through the list of rooms and sum the number of users in each room.

Since this has been requested many times, we'll add an easier way to get this value. :)
Also Is it possible to manually close a room from the Admin Tool?
Not yet, it will in the next, upcoming release. It should be out in a couple of weeks

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
delany
Posts: 27
Joined: 10 Dec 2007, 00:32

Post by delany »

Did this feature of an easier way to get the number of users in each room get added? I can't find any reference to it ... ?

Thanks,

Alex
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

This is a quite old post.
Check this article -> http://www.smartfoxserver.com/docs/docP ... /index.htm
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply