Spectator not working in _server.joinRoom()
Posted: 22 Dec 2011, 18:27
Hi,
I am trying to have users join a room as spectators via server side.
The room is created with following parameters:
User joins room with following parameters:
No matter what, user doesn't join as spectator.
The user.isSpectator() returns always false, and when 4 players are there, user can't join.
Am I missing something?
thank you very much
I am trying to have users join a room as spectators via server side.
The room is created with following parameters:
Code: Select all
var TABLE_ROOM_PARAMS = {
name:"GameRoom",
isGame:true,
maxU:4, // Set in creation
maxS:9999, // Set in creatioin
isLimbo:false,
uCount:true,
xtName:"RoomExt",
xtClass:"RoomFunTable.as"
}; Code: Select all
var spectator = true;
_server.joinRoom(user, oldId, leaveOld, roomId, null, false, true, null, spectator);The user.isSpectator() returns always false, and when 4 players are there, user can't join.
Am I missing something?
thank you very much