I'm trying out the Tic Tac Toe example in my local machine.
I'm able to start the server and I changed the gameID
However, running the swf I get the following error:
Sucessfully connected to player.io
false
Got Error: Sorry, but you can't set room data when using createJoinRoom with roomId==null
the createJoinRoom call in the Lobby.as file has roomId as null
- Code: Select all
private function createGame(name:String):void{
hideCreateRoom();
showLoader()
_client.multiplayer.createJoinRoom(
null, //Room id, null for auto generted
_serverType, //DLL type to spawn, bounce is a simple bounce server
true, //Hide room from userlist
{name:name}, //Room Join data, data is returned to lobby list. Variabels can be modifed on the server
{}, //User join data.
handleJoin, //Join handler
_handleJoinError //Error handler
)
Should that be null or should I change that with something like "tictactoe"?