Number of users in a Zone

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

Moderators: Lapo, Bax

User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Number of users in a Zone

Postby frcol » 11 Aug 2016, 16:48

Is there a way to get the number of users in a zone before or after login?

I wanna see if there are a certain number of users in a specific zone (more than 30 for example), if there are, I will login him in other Zone.

There is a way to make that kind of "Choose your server to connect" Showing how many users there are in each one?

thanks
Fabio Colombini
Brazil
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Number of users in a Zone

Postby Lapo » 16 Aug 2016, 07:21

Hi,
sorry for the delay.

You can add an Extension that every minute (or less) updates the zone count in your database and then you can publish the information in any of your web pages.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 30 guests