SFS Temp Rooms Not Fully Deleting

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Gloryride
Posts: 17
Joined: 26 Oct 2010, 14:50

SFS Temp Rooms Not Fully Deleting

Post 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.
Last edited by Gloryride on 28 Feb 2011, 21:48, edited 2 times in total.
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post 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.
Smartfox's forum is my daily newspaper.
Gloryride
Posts: 17
Joined: 26 Oct 2010, 14:50

Post 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.
Gloryride
Posts: 17
Joined: 26 Oct 2010, 14:50

Post 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. :)
Post Reply