Room Delete issue with 1.6.7 api
Posted: 19 Apr 2010, 09:26
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,
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,