Dandy

http://developer.valvesoftware.com/wiki/Server_queries

Yea, using this kind of query is way better, though printf+netcat is pretty hacky there. =)

Thanks for the tip, Ulrich!  I appreciate it.



(Note: this is a re-send due to MLM issues.)


Ulrich Block wrote:
Just for the restart part what about using this:
printf
'\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x5
​1\x75\x65\x72\x79\x00' | netcat -u -w 1 myip 27015

It is a a2s query and does not need rcon. If no rcon is set hunting for
the rcon port will be pointless and a running server will be shown as
not running.

Am 21.07.2011 09:50, schrieb Jesse Molina:

I've got my own control script that I've been writing for awhile now.

Right this moment, I am tinkering with a little watchdog process that
will do an rcon, look for appropriate status response, and if it
doesn't come back, will do a full restart on the process.

I'm working with a really junky little rcon perl script here. Does
anyone have something better to point me at? I'm looking for a command
line based linux rcon client.



Eric Riemers wrote:
Just found 3 of my servers in that same state, manual restart was the
only
option. No clue on how to manage that via tools, unless you write
some sort
of crontab that does a query on the server, if no respond in xx time
then
kill the screen and restart.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of E3pO
Sent: donderdag 21 juli 2011 8:26
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] Server crashes after today's update

also, has anybody come up with a way to have the server automatically
restart itself when it gets to a crash that doesn't automatically
restart
itself?

It seems to be stuck and i have to kill the process and restart the
server,
that's annoying.





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

--
# Jesse Molina
# Mail = [email protected]
# Page = [email protected]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/



_______________________________________________
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