User 1 creates game.
User 2 enters game.
User 1 leaves game.
User 3 joins LIMBO...
User 2 who is in limbo and the game room throws this error the instant user 3 joins LIMBO room... Yes, a user joining a limbo room is causing a client who has joined a limbo and a game room to crash...
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at battleTanksGame/::onUserVariablesUpdate()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleUserVarsUpdate()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at it.gotoandplay.smartfoxserver.handlers::SysHandler/handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/::xmlReceived()
at it.gotoandplay.smartfoxserver::SmartFoxClient/::handleMessage()
at it.gotoandplay.smartfoxserver::SmartFoxClient/::handleSocketData()
It seems that there is a bug where when a user is in a game and a limbo room, and a user joins a limbo room... The user in the game receives a bad broadcast...
Update: I made it so users leave the limbo room as soon as they join a game, and there is no errors at all! Everything seems to be good now. I kinda wanted to leave my users in limbo too though...