Can't create room because room list is empty?
Posted: 08 Mar 2010, 04:09
I have successfully connected and logged in. Now just trying to create a room.
Here's the code I'm using, straight from the docs:
And here is the error I get:
How can I populate the list if I can't create a room? Is there anything I need to do first in order to be able to create a room?
Here's the code I'm using, straight from the docs:
Code: Select all
var roomObj:Object = new Object();
roomObj.name = "The Test Room";
roomObj.isGame = true;
roomObj.maxUsers = 15;
_smartFox.createRoom(roomObj);Code: Select all
****************************************************************
Warning:
The room list is empty!
The client API cannot function properly until the room list is populated.
Please consult the documentation for more infos.
****************************************************************