Here's a good starting point http://rubyforge.org/projects/rcon/

Ruby, Perl, & Python are a really good starting point for admin scripts.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Sando
Sent: Friday, February 10, 2006 5:49 PM
To: [email protected]; [email protected]
Subject: RE: [hlds] RE: graceful shutdowns

If I too knew how to code to the RCON API (or however you classify it), I
would write something that does exactly what you have suggested.

I think this is a great idea, and will allow a lot of admins to have greater
automation of their servers.

Regards,
Adam.

________________________________

From: [EMAIL PROTECTED] on behalf of Rick Payton
Sent: Fri 10/02/06 6:52 AM
To: [email protected]
Subject: Re: [hlds] RE: graceful shutdowns



Chris | FatPipeServer.com wrote:
> Buy yourself a copy of Firedaemon, it has Graceful shutdown built in,
> along with a ton of other features.
>
>
> Chris | FatPipeServers Staff
> Game Server Technical Support Staff
> http://www.fatpipeserver.com
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
>
That's a different kind of graceful shutdown. The graceful shutdown we want
is the equivalent of typing "quit" at the console, so the logs get flushed /
saved. With firedaemon (or any tool that turns hlds/srcds into a service),
even with "graceful shutdown" you wont get to keep the last part (or all) of
your current maps log file.

Someone needs to code a perl based (or an executable - rcon.exe sounds
good!) CLI for rcon for server admins, so they could run it in a batch file.
If I knew *anything* about coding I would've done that a long time ago.

here's some ideas for the coders on this list:

file name: rcon.pl
flags: -ip 12.34.56.78 -port 27016 -pass 12345 --command (or -c) "sv_gravity
800"
or! you could do a config file (for multiple servers)

server1.cfg
12.34.56.78
27016
12345

server2.cfg
78.56.34.12
27017
54321

etc etc...

rcon.pl -conf server1 -c "quit"

or to send the same command to MULTIPLE servers!: rocn.pl --multi (or
-m) -conf server1 -conf server2 -conf server3 -c "quit"

This is one of those ideas that should've been thought of / fulfilled years
ago :P

Rick

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

This e-mail has been scanned for viruses by Hostworks Message Scanning
Services - powered by MessageLabs. For further information contact Hostworks
on 1300 30 4848.



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


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

Reply via email to