pixel game sfs pro java extension not working properly

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

Moderators: Lapo, Bax

sabarish.rock@gmail.com
Posts: 2
Joined: 17 Oct 2011, 04:09

pixel game sfs pro java extension not working properly

Postby sabarish.rock@gmail.com » 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 .
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 18 Oct 2011, 16:34

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.
Smartfox's forum is my daily newspaper.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 26 guests