This should do it:
http://uclug.utica.edu/files/dave/tvquery.zip
Just create a file called "servers" in the same directory you run the
script from, and put IP:PORT pairs in it (one pair per line). I tested
it by putting our CS:S server into the servers file:
cstrike.utica.edu:27015
cstrike.utica.edu:27020
It tells me that cstrike.utica.edu:27015 is not a SourceTV server, but
cstrike.utica.edu:27020 is. I think this is what the OP was trying to
accomplish.
- Dave
On 11/10/2010 11:58 AM, frostschutz wrote:
On Wed, Nov 10, 2010 at 05:25:29PM +0100, Ulrich Block wrote:
Anyone knows the current string to query a server?
Personally I thought the netcat reply was kind of a joke :-)
but the string you used is correct and AFAIK there is no
alternative query method (short of RCON access).
However the reply is 100% identical from both gameserver and sourcetv.
At least that's how it works for TF2. Hence why I suggested using the
port numbers included in the reply to determine what you're talking to.
My work here is done,
frostschutz
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
--
Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux