Page 1 of 1

Admin tool, can't refresh rooms in a zone with Reload Zone

Posted: 21 Nov 2006, 19:17
by Bru
I can't refresh (add, remove or update) the rooms inside a zone when I press the Reload Zone button in the admin tool. It only seems to refresh the zone properties (like maxUsers).

Am I doing something wrong?

Is this feature suppose to work?

I am using Smarfox Server PRO 1.4 on windows.

Thanks!

Posted: 21 Nov 2006, 20:50
by Lapo
hi Bru,
not all the Zone parameters can be refreshed at runtime. One of them is the room list. If you need to alter the boot-time room list you will need to restart the server.

I can also suggest a better approach for controlling rooms at runtime: create a Zone for your application with no rooms defined and then have your extension create all the necessary rooms in the init() method.

This allows you to better control server owned and dynamic rooms from your extension without the need to restart

hope it helps