The list of players is not cleared correctly

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
anonemejo
Posts: 15
Joined: 08 Jan 2010, 23:35

The list of players is not cleared correctly

Post by anonemejo »

Hi,

We have SFS PRO 1.6.2 on a linux Debian server. We use Mysql as db.

We had a problem with the number of connected user, both with the client function that retrieve this number and the Server Administration program.

The count was to 2000 approx when instead the connected players were only about 700.

Do you reported any similar error before?

Ty in advance for your help
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

The count was to 2000 approx when instead the connected players were only about 700
Is the '2000' count coming from the AdminTool and the other one coming from a client function? If so, how do you get the user count from your client function? Lastly, do you have multiple zone definitions?
Smartfox's forum is my daily newspaper.
anonemejo
Posts: 15
Joined: 08 Jan 2010, 23:35

Post by anonemejo »

2000 is coming from the client function and we got the number with the following function:

<<< var request:String = '<msg t="sys"><body r="-1" action="zInfo">gzone</body></msg>';

700 from the admin tool, the strange thing was that 2000 counter was growing and growing and without a server restart i'm pretty sure it would have kept growing.


We don't have multiple room definitions

Ty
anonemejo
Posts: 15
Joined: 08 Jan 2010, 23:35

Post by anonemejo »

I've got the following error on sfs logs:
18:16:37.335 - [ WARNING ] > Exception during client disconnection: java.lang.NullPointerException
INFO | jvm 1 | 2011/06/16 18:16:37 | java.lang.NullPointerException
INFO | jvm 1 | 2011/06/16 18:16:37 | at it.gotoandplay.smartfoxserver.data.Room.getAllPlayers(Room.java:602)

starting from this point, sfs logs are full of the following messages:

18:18:17.748 - [ WARNING ] > SystemHandler: Invalid login request > java.lang.NullPointerException
INFO | jvm 1 | 2011/06/16 18:18:27 | 18:18:27.309 - [ WARNING ] > Exception during client disconnection: java.lang.NullPointerException
Post Reply