sfs.joinRoom error

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

Moderators: Lapo, Bax

Post Reply
Gaurav
Posts: 24
Joined: 19 Apr 2010, 07:09

sfs.joinRoom error

Post by Gaurav »

Hello all,

I am having a problem in the functionality of sfs.joinRoom. I am using Java client side api. I am doing as follows:

1) connect to server
2) login in one zone
3) join the room in zone
4) specific operations
5) leave room
5) logout
6) login into another zone
7) join room for another zone.

But this time I am not able to join the room it shows that ROOM LIST IS EMPTY. ACTION CAN"T BE PERFORMED WHILE ROOM LIST IS EMPTY.

Hence I just want to ask that why I am facing this type of problem. Please help me regarding this. I am not getting useJoin fired but in step 3 join room I am getting that. Thanks in advance.

Gaurav

:?
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Looks like you're missing a step between 2 and 3, getting the room list from the server. It is required after login in order to carry out any other operations to the server
Smartfox's forum is my daily newspaper.
Gaurav
Posts: 24
Joined: 19 Apr 2010, 07:09

Post by Gaurav »

Hello BigFish,

Thanks a lot. It really helps me a lot and my problem is now solved.

Thnaks
Gaurav :D
Post Reply