I believe I've located the problem to roomData not being stored (or something):
In Flash (AS3), Im initialising the room with:
- Code: Select all
Connect.client.multiplayer.createRoom(
null, //id
Connect.serverType, //DLL to spawn
true, // visible
{name:str, players:pl, width:bw, height:bh, timer:time }, //roomData
roomCreated,
roomError);
then join the room with
- Code: Select all
Connect.client.multiplayer.joinRoom( connection, { playername:Main.playerName }, handleJoin, handleError);
In C#, I try this:
- Code: Select all
public override bool AllowUserJoin(Player player)
{
foreach(var kv in RoomData) {
Console.WriteLine("RoomData[" + kv.Key + "] = " + kv.Value );
}
}
and nothing happens. Apparently, all my room data has disappeared.
Anyone able to shed some light on this?