Server Autorestart Script

Discussions which are Out of Character.
Post Reply
User avatar
Oberon
Lost One
Posts: 900
Joined: Fri Apr 15, 2011 1:47 pm

Server Autorestart Script

Post by Oberon »

First off, this script's implementation is really cool as I haven't seen the Temple server suffer from that odd low framerate bug with slideshowy fans/doors/waterfalls and bouncy sabers in quite some time now.

However the only thing I could suggest would be a more convenient time for it to restart the server. Twice now has it kicked off 6+ people who were midst RP.

Right now the restart occurs at 0300 Galactic, could it be changed? Maybe something can be measured server side to gauge where a consistent gap of zero-server population is to place the restart script. If you agree, when do you think would be the best time to change it to?
User avatar
Delmi N'jork
Jedi Master
Posts: 3941
Joined: Wed May 20, 2009 11:53 pm
Location: Duneeden
Contact:

Re: Server Autorestart Script

Post by Delmi N'jork »

I agree, would it be possible to (mind you I know nothing of scripts, so I could be speaking completely out of ignorance here) to have the script test for players connected and if there are players using the server, it won't execute the restart command until it is empty?
Image
|Age_187|Height_7'3|Weight_427lb|Race_Nelvaan|Mentor_Maloush Paroveid|Padawans_Aurien Uriah_Amoné Fayden_Tergos Zemnos_Esth Me'sku_Virtuo Alegan_Tweek Etimau_Dithaal_Sirius Invictus_Aqua Sol_Ina'eo'nekri
User avatar
Soh Raun
Jedi Master
Posts: 2455
Joined: Tue Aug 23, 2005 5:15 am
Contact:

Re: Server Autorestart Script

Post by Soh Raun »

Delmi wrote:I agree, would it be possible to (mind you I know nothing of scripts, so I could be speaking completely out of ignorance here) to have the script test for players connected and if there are players using the server, it won't execute the restart command until it is empty?
Well.. theoretically it was supposed to do it, and only restart if the server is empty. From what Oberon just reported, it seems there is a bug somewhere. :) I'll look into it after the web server migration.
Image
User avatar
Soh Raun
Jedi Master
Posts: 2455
Joined: Tue Aug 23, 2005 5:15 am
Contact:

Re: Server Autorestart Script

Post by Soh Raun »

I implemented a fix, the Temple & Grounds servers should no longer restart when people are connected (as originally intended). Please let me know if it is not the case...
Image
Post Reply