Page 1 of 1

Get online players

Posted: 26 Nov 2012, 21:24
by amarkovits
Is there a method to get the number of online users in my current zone?

Andrei

Re: Get online players

Posted: 26 Nov 2012, 23:47
by rjgtav
Hi,

The client doesn't have access to those values. You have to get it from the server-side.
The most efficient ways are to run a timer, at a fixed rate, on the server-side which updates a database or a file on the webserver with the zones' userCount, or to use a servlet approach.
You should check this topic, where this question is discussed.