I am trying to figure out why SFSEvent.USER_COUNT_CHANGE is not firing when I join the room from Serverside, I have not tried to rewrite the code to join the room from client side yet but its definately not working when I join the room from server side.
I have Lobby room (non game type room) that has all permissions and events selected, and what I do is as soon as user joins the zone, I am manually joining that user into the zone from Server side.
Code: Select all
getApi().joinRoom(theUser, lobby);
in admin under room monitor it shows correct number of users joineed.
but I am not getting SFSEvent.USER_COUNT_CHANGE on the client side
the only event I am getting is USER_JOIN and USER_ENTER events.
I tried with two clients (both local but different usernames ) I am not sure if that is related .
do I have to join the room from client side for USER_COUNT_CHANGE that event to fire? if so
what other option do I have to know whenever user count changes?
I am using SF2 RC3.
any suggestion would be appreciated.
Kind Regards