Possible BUG (wrong message) on SFSEvent.ROOM_JOIN_ERROR

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
NewJersey
Posts: 27
Joined: 12 Mar 2012, 07:56

Possible BUG (wrong message) on SFSEvent.ROOM_JOIN_ERROR

Post by NewJersey »

private function onRoomJoinError(evt:SFSEvent):void
{
trace("Room joining failed: " + evt.params.errorMessage);
}

Error Code is 19
Error Message is : User game already joined in Room

Should refactor game to name, right?

Cheers,

NewJersey
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Possible BUG (wrong message) on SFSEvent.ROOM_JOIN_ERROR

Post by Bax »

I think in your example the username was "game". In fact the error message is User {0} already joined in Room, where {0} is substituted with the actual username.
Paolo Bax
The SmartFoxServer Team
Post Reply