Auto-Reload room extension

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
User avatar
janheuninck
Posts: 68
Joined: 23 Nov 2011, 01:35
Location: Vancouver BC, Canada

Auto-Reload room extension

Post by janheuninck »

Hi guys,

I configured both my zone as my rooms to auto-reload the server extension library when this is updated. I receive the init() and destroy() function calls within the zone extension, but the rooms don't seem to get these function calls. Is there a way to auto-reload the rooms as well? I read on the forum that existing rooms don't get updated, but newly created rooms will be created with the new room extension. Is this correct? If so, what do you guys suggest to fix this?

Should I destroy the existing rooms in the destroy() function of the zone extension and create them myself in the init() function?


Thanks!

Jan
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Auto-Reload room extension

Post by rjgtav »

Hi,

If you want to reload a Room-Level extension from the existing rooms, you have to do it manually from the AdminTool, by going to the Zone Browser, navigating to your Room, change the view to Extensions View, select the extension and click the "reload ext." button.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Post Reply