Thanks Lapo.
You can see in our code I posted we do remove all players from the rooms first, then after all players are confirmed removed we add them to their new room assignments.
I just found out the USER_ENTER_EVENT and USER_EXIT_EVENT were turned off on the parent room. (not the table rooms, which are also getting duplicated in the array) Would that cause issues with the joinedRooms array?
SmartFox.joinedRooms problem - lists rooms I already left, and admin tool is correct
Re: SmartFox.joinedRooms problem - lists rooms I already left, and admin tool is correct
Yes, because if those events are not fired the client side will not keep an updated list of users inside a Room.
Re: SmartFox.joinedRooms problem - lists rooms I already left, and admin tool is correct
Lapo wrote:Yes, because if those events are not fired the client side will not keep an updated list of users inside a Room.
Thanks!
We'll continue to try to figure out the joinedRooms array issue. Though with our work-around it is less pressing for us.
Cheers.
Return to “SFS2X ActionScript 3 API”
Who is online
Users browsing this forum: No registered users and 51 guests