Every client, waiting for join a game, may visualize a list of the others available rooms and, in case, choose a particular position (from 1 to 4).
We're facing some problems trying to update the list and especially the positions already selected. In fact:
- after a player choose his favorite position, the others outside the room should be updated. Using getAllRooms() function we can "read" the new rooms list, but we are not
able to access to the updated roomVars values. Using getRoomList() instead we get updated roomVars but also a lot of warnings/errors, how explained in several topics, for
multiple calls to that function.
- to avoid such problem, we decided to move createRoom() and joinRoom() on the server side via extension. Also in this case we're in trouble because joinRoom(), unlike as
described in the manual, don't succeed in updating the clients outside the room. Our hope is that, after the join call, the server could update the other clients with
the updated values of roomVars.
We are italians developers (excuse our English
Best regards