Page 1 of 1

way to cmd reload room ext on the fly?

Posted: 28 Nov 2008, 19:07
by kyle
Hi Lapo,

Wondering if there is a way to 'load room extension on the fly' from maybe console level batch? From 'remote admin tool' I can just browse to a room, and toggle or reload the extension without restarting the server like ./sfs restart....so is there away i can reload a room extension?

Posted: 02 Dec 2008, 07:56
by Lapo
You can do it only from the Admin Tool

Posted: 03 Dec 2008, 15:48
by kyle
it is so true...lol...

But is there a way to strip it out to a shell script or sth like that, imagine if had to admin tool to the 200 servers and reload the extension one by one?

ps,
also seems reload on the fly only works for .as extension? .java extension always require sfs restart to make it effective, am i right?

Posted: 03 Dec 2008, 16:17
by Lapo
But is there a way to strip it out to a shell script or sth like that, imagine if had to admin tool to the 200 servers and reload the extension one by one?
Nope there isn't anything like that available, I am sorry.
Btw, if you reload an extension you will loose the current state, which is breaking the current game.

A good approach is to simply deploy the new extension and that's it. New rooms will start using the new code, and those who already exist will keep finishing their life-cycle with the current code.
also seems reload on the fly only works for .as extension? .java extension always require sfs restart to make it effective, am i right?
Nope it works for all supported languages: Java, AS, and Python