Sure.

http://uclug.utica.edu/files/dave/srcds_scripts.zip

There are four files in this zip:

a2a_ping.pl
a2s_info.pl
a2s_player.pl
servers

Note that the Perl scripts all output stuff in HTML, but you can alter 
the output in any way you want.  I stripped out some stuff from the like 
links to our stylesheets, etc., but for the most part they are intact.

The "servers" file is simply a list of IP:PORT pairs, one pair per line. 
  It is read by a2s_info.pl and the servers are queried one by one.

     - Dave

valvesoftware....@dynamicbits.com wrote:
> Dave,
> 
> If you wouldn't mind sharing, I'd like to see the perl script that you
> are using. I'm currently using a PHP script I found somewhere that is
> less than perfect, and I just haven't gotten around to rewriting it in
> perl.
> 
> 
> --
> Andy
> 
> 
> On Thu, 12 Mar 2009 10:11:02 -0400, "David A. Parker"
> <dpar...@utica.edu> said:
>> My Perl script scan query my L4D servers just fine as long as they don't 
>> have sv_password set.  The two servers I have with sv_password don't 
>> respond to queries, but they did respond when I removed sv_password from 
>> their server##.cfg files briefly.  All of these servers used to reply to 
>> queries just fine before the update.
>>
>> You can see it in action if you like:
>>
>> http://www.utica.edu/academic/iits/computingservices/networking/resnet/gaming/status.cfm
>>
>> The last two server (l4d.utica.edu:27021 and l4d.utica.edu:27022) are 
>> the ones with sv_password set.
>>
>>      - Dave
> 
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 

-- 

Dave Parker
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

Reply via email to