Hi,
I set up a small test app that listens for the 'Room Join Success' (RJS) and 'User Enter Room' (UER) events and reports the value of 'getUserCount' from 'room' in the event object.
When I visit the page in the first browser window the RJS event reports the user count as 1, and when I visit in the second window the RJS event in there reports 2. However if I go back to the first window then the UER has successfully fired but the user count is reported as 1.
Am I missing something? Shouldn't the user count be reported as the number including the new user when they've entered a room?
Cheers,
Tom
User Count from 'User Enter Room' is incorrect
-
- Posts: 2
- Joined: 13 Sep 2013, 16:29
Re: User Count from 'User Enter Room' is incorrect
Thanks to your report we found a possible bug. We are looking into it. Thank you.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: User Count from 'User Enter Room' is incorrect
We just published a new version of the API fixing this bug.
Please visit the download page.
Please visit the download page.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
- Posts: 2
- Joined: 13 Sep 2013, 16:29
Re: User Count from 'User Enter Room' is incorrect
Thanks Paolo!
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 21 guests