Page 1 of 1

SFS Temp Rooms Not Fully Deleting

Posted: 28 Feb 2011, 14:50
by Gloryride
====
PROBLEM FIXED
====



Mr. Bax, Lapo,

Again, thanks for ALL your help and support on this forum. Once again, here I am, trying to solve a problem.

I've collected a couple images and hosted them in an EASILY viewable, chronological album - the sole purpose of this album is so that you can easily see what's going on with the SFS AdminTool while I debug our game.

----------
The album (4 images): SFS Room Hosting

Each image is displaying 3 different views. First panel is always user "alow", second panel is user "student", and third panel is SFS AdminTool.swf.

Image One: user "alow" has hosted a room. He is currently in his lobby. User "student" is looking at the lobby browser, he sees that user "alow" made a room. AdminTool reports that there exists a temp room "room123" and user "alow" is currently in it.

Image Two: the same as above, except user "student" has joined the room "alow" is in. AdminTool reports that both players are in temp room "room123".

Image Three: both players are playing the minigame. AdminTool is the same as above.

Image Four: game is over, BOTH users called sfs.leaveRoom() and have exited the minigame. User "alow" is back at the game browser screen just for debug purposes.
----------

Here is what is weird. AdminTool reports that the room "room123" still exists. It also correctly reports that no one is in it. Additionally, user "alow" cannot see the game in the game browsers list (effectively meaning its gone). Problem is, its not. The room is still alive on SFS. A new user cannot make a room called "room123" until the original is destroyed. Another interesting problem is that if a NEW user logs on, and looks at the room browser, they WILL see "room123" listed with 0 players.

My guess is SFS is deleting the room halfway, but not all the way. It is effectively gone for both users "alow" and "student", but it exists for any new users who log on. AdminTool oddly reports the temp room still exists but does not have players in it.

Any ideas as to why this is guys? Again, thanks a ton for your help.

Posted: 28 Feb 2011, 20:04
by BigFIsh
This sounds like an old known bug. Please try upgrading your Smartfox to the latest version (1.6.9) and see if the problem still persists.

Posted: 28 Feb 2011, 21:25
by Gloryride
Thanks for the tip, BigFIsh, but unfortunately we're running version 1.6.9.

However, our lead has just discovered a bug in one of our Extensions that may or may not be related. He'll be looking into that as soon as possible and we'll report back.

Posted: 28 Feb 2011, 21:49
by Gloryride
Aha, either through our Extension being fixed - or some other bug fixing, our guess was an exception was being thrown during the middle of all the logic that is ran when a user exits a room. This exception was probably blocking the last of the code from running. It appears to be fixed now. :)