user already in limbo room

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
anonemejo
Posts: 15
Joined: 08 Jan 2010, 23:35

user already in limbo room

Post by anonemejo »

A user is no longer able to join a game room because of the following error message:

[Sending]: <msg t='sys'><body action='joinRoom' r='-1'><room id='15' pwd='undefined' spec='0' leave='1' old='-1' /></body></msg>

[Received]: <msg t="sys"><body action="joinKO" r="0"><error msg="User is already in this room!" /></body></msg>

I opened the server admin and i saw that even if this player was disconnected he still was present in the limbo room of the game he was playing on.

I tried to force the disconnection from the admin panel but without any help...
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

1. Are you able to replicate the problem?
2. Does your application allow users to join multiple rooms simultaneously?
3. When the joinRoom method was called, was the user in an existing room or is this during login phase?
4. Are you joining a room via client or server side?
5. Are you creating a room via client or server side?
Smartfox's forum is my daily newspaper.
IKA
Posts: 35
Joined: 04 Dec 2007, 12:27

Post by IKA »

hi i work with anonimejo and i reply to the questions:
BigFIsh wrote:1. Are you able to replicate the problem?
2. Does your application allow users to join multiple rooms simultaneously?
3. When the joinRoom method was called, was the user in an existing room or is this during login phase?
4. Are you joining a room via client or server side?
5. Are you creating a room via client or server side?
1 no
2 yes
2 error happens during login
4 client
5 server
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Some more questions:

1. Have you checked that the room id is valid (i.e. not re-joining the same room)?
2. Do you know the workflow in which the problematic user did to generate the warning message? If not, are you able to provide us incoming/outgoing message prior to the joinRoom command?
Smartfox's forum is my daily newspaper.
IKA
Posts: 35
Joined: 04 Dec 2007, 12:27

Post by IKA »

1) room is -1. we are talking about join room after login, so there is no room where i can already be when i log in.
2) simply login with custom login and join limbo room.

It happened just once. Then we stopped and restarted the application and never happened again.

It happened to all users that day. No user could logout and login again without recieving that blocking message.
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

It happened just once. Then we stopped and restarted the application and never happened again.

It happened to all users that day. No user could logout and login again without recieving that blocking message.
Strange..

Do you have AutoReloadExtension enabled in the production environment? If so, it is recommended that it is turned off.

Let us know if you see this behaviour again.
Smartfox's forum is my daily newspaper.
anonemejo
Posts: 15
Joined: 08 Jan 2010, 23:35

Post by anonemejo »

No, autoReloadExtesion is turned off :(
Post Reply