Page 1 of 1

Room Delete issue with 1.6.7 api

Posted: 19 Apr 2010, 09:26
by Rohit Sharma
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,

Posted: 19 Apr 2010, 11:46
by BigFIsh

Posted: 18 May 2010, 08:23
by Lapo
Hi,
the problem was solved with the latest AS 2/3 API release 1.6.3
http://forums.smartfoxserver.com/viewtopic.php?p=30434