Page 1 of 1

Zone User Count

Posted: 18 Apr 2012, 14:21
by Bosskafett
How do you count the amount of users in a zone?

thanks,
Jack

Re: Zone User Count

Posted: 19 Apr 2012, 16:41
by Bosskafett
Anybody??? i havent figured it yet.

Re: Zone User Count

Posted: 19 Apr 2012, 22:33
by rjgtav
Hey
Firstly, don't stress if we don't answer in the same day as you post your question ;)
Well, you have 2 ways to achieve this:

1) You can use a simple Zone Extension, and retrieve the user count by doing Zone.getUserCount(). For more information you can check the Server-Side ActionScript API Documentation.

2) You can also retrieve the Zone's info (name and user count) by using a php/asp/jsp file or by sending a simple xml message from the client to the server. This feature is called "External Zone Info", and you can find more information about it on this chapter of the docs.