Code: Select all
RoomSettings settings = new RoomSettings ( "Table" );
On my room extension after the client created a room i call
Code: Select all
@Override
public void init() {
Room room = getParentRoom();
room.setName(room.getName()+room.getId()); //i add the generated id for monitoring purpose
}
take note that i enabled room settings permission AllowNameChange = true
the room name is changed on my client and also on the SmartFox Zone Monitor but the problem is.
whenever i create room again with the RoomSettings ( "Table" ) the server throws an Error
Room creation error. A room with the same name already exists: Table
even i've changed the first created Room name to Table+id