need clarification.

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

need clarification.

Postby itsmylifesoham » 03 Nov 2011, 07:08

* USER_ENTER_EVENT: toggles the notification of a new user joining the Room (default is true)
* USER_EXIT_EVENT: toggles the notification of a user leaving the Room (default is true)
* USER_COUNT_CHANGE_EVENT: toggles the notification of user and spectator count for all Rooms in the subscribed groups (default is true)
* USER_VARIABLES_UPDATE_EVENT: toggles the notification of User Variable updates (default is true)

Above is mentioned at http://docs2x.smartfoxserver.com/Develo ... chitecture

Now point 3 says this event is fired to all clients subscribed to that room group in which the user_count_change_event occured.
But what about the other events? Do they also get updated at zone level?
I mean if there are roomA roomB IN groupC and roomA is joined by another users then will the people who are subcribed to groupC be notified of this event?

Or is this event local to roomA only unlike the user_count_change_event?
*******************************

Also this is mentioned :

An user could initially subscribe to the Lobby group and receive Room updates (such as newly created or removed rooms, user count changes and Room Variables updates)

at http://docs2x.smartfoxserver.com/Overvi ... chitecture

So are these the only events updated at zone level?? Its very confusing which event is fired to clients at room level, and which one at group/zone level.

****************************
Also need one more clarifcation, when a user joins a room, does he even get subscribed to that room group??
If not, then when a user_count_change_event occurs in that room, then will the user who has joined the room but not sunscibed to its groupID be notified?

thanks :)

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 96 guests