The additional variables attached to a room are not sent on the standard room list. If you need one or more of these parameters you must walk the list and get the room's full detail.
It seems to me that a single parameter that the server considered part of the 'base' parameters and sent with the roomList response would be very useful.
A 'note' or 'memo' field for example would be little extra weight and would allow me to attach the games version number (a crucial parameter for populating my available games board). As it stands now, I must walk the game list to get this single variable.
For the time, I've tucked it away as maxSpectators since i dont need that parameter and its included in the base list of rooms. Is there a better way or would a single user defined field be a good idea? If you really needed two or three values, you could put them into this memo field as a delimited list.
Extra Room Variables
-
stmulligan
- Posts: 52
- Joined: 05 May 2006, 04:06
- Contact:
They are if you set to true the roomListVars attribute of the Zone containing the room.The additional variables attached to a room are not sent on the standard room list.
Check this page for all the details -> http://www.smartfoxserver.com/docs/docP ... basics.htm