You should send also a quit command to the master server in your 
srcupdatecheck, otherwise thousands of non existent servers are registered 
to the master server if alot of people will use this script.


> The latest version of nemrun:
> http://nephyrin.net/tools/nemrun/
>
> Supports starting an 'update daemon' that watches for updates and sends
> reboot commands to servers. My servers usually are updated within
> minutes of an update (and they beat the rush to the content servers, so
> the DL doesn't take ages). I know its not exactly what you're looking
> for, but its another option. You can modify the reboot command it sends
> to servers, so you could write a plugin that provides, say, a
> "sm_updateavailable" command that nemrun's daemon could send, allowing
> the plugin to then decide what to do.
>
> There's also a way a SM could hook the 'out of date' notification, but i
> dont know if anyone has done it in a publicly available extension. This
> could be used in conjunction with higher heartbeat frequency to let
> servers become aware of updates much more quickly, and decide what to do.
>
> - Neph
>
> On 12/13/2009 01:44 AM, Nathan D. wrote:
>> Currently, when auto-update is turned on and updates to a game are
>> released, we have to manually restart our server(s) so that auto-update
>> will update the server during start up. Because we have to manually
>> restart, there is X amount of time before our server(s) are updated and
>> are usually empty since most of the clients have already updated.
>>
>> A suggestion of mine would be to make auto-update 1.) aware when updates
>> are released and 2.) know when the server has players in it or not.
>> Therefore, when auto-update knows there is an update available and
>> realizes the server is empty, it could automatically issue the "exit"
>> command to restart the server so that auto-update will run.
>>
>> In the meantime while Valve considers my suggestion, does anyone know
>> some sort of practical way to have the server restart itself when an
>> update is available? For someone who runs many servers, it is a slight
>> hassle to restart each server manually so that auto-update can run.
>>
>> My apologies if something relative to this has already been discussed; I
>> just re-joined the mailing list after many years of being unsubscribed.
>>
>> -Nate
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to