Hi, is it possible this has not been fixed or has regressed in 1.6.6.
I create two rooms, one in the config.xml named "y" with a variable "type=y", then other room I create in a java Task which I expect to be named "c2" with a variable "type=c".
While the "type=y" of the initially created room is seen by both the client and the server, the "type=c2" of the extension created room "c2" is seen by the server but not the client.
Perhaps I've misunderstood private, owner, etc?:
In the config/xml:
Code: Select all
<Room name="y" maxUsers="100"
isPrivate="false" isTemp="false"
uCountUpdate="true" autoJoin="true" limbo="true">
<Vars>
<Var name="type" type="s" private="true">y</Var>
</Vars>
</Room>
In Java Extension:
Code: Select all
Room nwRoom = new Room("c", 10, false, "z");
int id = nwRoom.getId();
nwRoom.setName("c" + id);
nwRoom.setVariable("type", RoomVariable.TYPE_STRING,
"c", true, true, null, true); // and other boolean variations
In client AS:
Code: Select all
logMessage("type/id/name: " +
r.getVariable("type") + "/" +
r.getId() + "/" +
r.getName());
Server side logs:
Client side logs:
Any thoughts?