Hi,
When a user is in a game room, he does not get a roomdelete event when another game room gets deleted.
Now if the user comes back to lobby, his client side room list will still have the deleted room.
To overcome this issue, I started calling getRoomList() whenever I come back to lobby to get latest rooms.
Now, I am seeing a new problem with 1.6.7 API. In the earlier API's clearRoomList() was called as soon as a roomlistupdate comes, and the room list always contained the latest rooms.
With the 1.6.7 api, the clearRoomList() was commented out and now room list merging occurs. Because of this, if I come back to lobby, I always end up getting the deleted room because onroomdelete event does not come, and onroomlistupdate() does not remove non-existing rooms.
Please let me know if I a missing something or there is something else I need to do to overcome this issue.
Thanks,
Room Delete issue with 1.6.7 api
-
Rohit Sharma
- Posts: 31
- Joined: 05 Nov 2008, 05:27
- Location: Delhi,India
- Contact:
Sounds similar to: http://forums.smartfoxserver.com/viewtopic.php?t=7027
Smartfox's forum is my daily newspaper.
Hi,
the problem was solved with the latest AS 2/3 API release 1.6.3
http://forums.smartfoxserver.com/viewtopic.php?p=30434
the problem was solved with the latest AS 2/3 API release 1.6.3
http://forums.smartfoxserver.com/viewtopic.php?p=30434