I'm trying to evaluate SFS2X to use on a large Facebook game we're going to develop. However I'm having some quite serious problems with groups which are essential for us.
I create a group (group1) using the Zone Configurator, save and restart the server. Everything is OK according to the console log:
Code: Select all
20:50:28,727 INFO [main] managers.SFSZoneManager - Creating room: (default) The Lobby
20:50:28,727 INFO [main] api.SFSApi - Room created: [ Room: The Lobby, Id: 3, Group: default, isGame: false ]
20:50:28,727 INFO [main] managers.SFSZoneManager - Creating room: (group1) GameRoom
20:50:28,728 INFO [main] api.SFSApi - Room created: [ Room: GameRoom, Id: 4, Group: group1, isGame: false ]
20:50:28,728 INFO [main] managers.SFSZoneManager
But then when doing something like:
Code: Select all
public function get roomList() : Array
{
return _smartFoxServer.getRoomListFromGroup("group1");
}
I get an empty array. I also get an error saying the group doesn't exist if I try to subscribe it.
Can someone please help?