Page 1 of 1

pixel game sfs pro java extension not working properly

Posted: 17 Oct 2011, 04:37
hi ,i am new to sfs,i have addes 3 rooms in config files.
while using pixel game with java extension .it is not showing room list .only for the very first time server started its showing the roomlist.

once i exit and login again.the room list is got disabled..

please help me to get clear .

Posted: 18 Oct 2011, 16:34
by BigFIsh
There may be a problem with your workflow. Have you had a look at existing examples provided?

Basically this what should happen:

1. Login
2. Get room list.
3. Join a room
4. While in a room, listen for 'room added' or 'room deleted' event to update your room list locally.
5. After joining and leaving a game, you will need to fetch the entire room list again.
6. Join a room.
7. Logout
8. Login
9. Back to step #2 above.