[mohaa] Stats..

Steve Pirk orion at deathcon.com
Wed Jan 29 12:54:41 EST 2003


I just put qstat into a .cgi" html page:

#!/bin/sh

echo "Content-Type: text/html"
echo ""

echo "<head><title>Deathcon servers - player counts</title>"
echo "<META HTTP-EQUIV=\"expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00
GMT\">"
echo "</head>"
echo "<body bgcolor=#000000 TEXT=#FFFFFF VLINK=#c34b1b LINK=#FF8000>"

echo "<font size=+2 face=Arial ><font color=#c34b1b>DeathCon UT2003
deathcon.com
 66.58.75.122:7777</font></font>"
/home/orion/bin/qstat -P -ut2s deathcon.com

</body>
</html>

Adjust the call to qstat to suit your install... Each time the
page is hit, it relaods the current stats... A somewhet broken
example is at:

http://www.deathcon.com/cgi-bin/q3stat.cgi

--
Steve (egrep)

On Wed, 29 Jan 2003, Salsich, Luke wrote:

> Josh,
>
> Yup. The script on my site was based on Qstat. You are right it does do
> real-time stats (of a sort). Now, I could be wrong, but I couldn't find a
> way to get Qstat to update itself so that the html page is current. All I
> had to do was setup Qstat to run through a custom template and output to a
> .php page with the html generated from Qstat. In order to get it to update
> itself I simply ran Qstat in a shell that ran Qstat every 60 seconds.
>
> If you or anybody else has found an easier way to do this, I would
> appreciate your input.
>
> Luke
>
>
>
> -----Original Message-----
> From: Josh Berry [mailto:josh at chickenmonkey.co.uk]
> Sent: Wednesday, January 29, 2003 11:00 AM
> To: mohaa at icculus.org
> Subject: RE: [mohaa] Stats..
>
>
> Jacob,
>
> Have a look at http://www.qstat.org
>
> Does RT stats for loads of games (inc MOH of course)
>
> --
> Josh
> http://www.chickenmonkey.co.uk
>
>
> -----Original Message-----
> From: Jacob Huizenga [mailto:jhuizenga at home.nl]
> Sent: 29 January 2003 11:54
> To: mohaa at icculus.org
> Subject: RE: [mohaa] Stats..
>
> Luke,
>
> I'm really curious how you made the Real-Time stats. Did you make a
> script for it yourself, or did you find something on the internet?
> I'd like to have something like that myself.
>
> - Jacob
>
> -----Oorspronkelijk bericht-----
> Van: luke [mailto:lsalsich at cox.net]
> Verzonden: zaterdag 25 januari 2003 19:03
> Aan: mohaa at icculus.org
> Onderwerp: RE: [mohaa] Stats..
>
>
> I have rigged a script using qstat to give my clan real-time stats, but
> it could be rigged to also record kills, etc. check it out:
> http://www.holylandclan.com/qstatoutputtdm.php
>
> Also, heres a site from a guy who's done something like what you are
> asking for:
>
> http://stats.clanfx.com/
>
> -Luke
>
>
> -----Original Message-----
> From: Niclas Söderlund [mailto:maillists at soderlund.org]
> Sent: Saturday, January 25, 2003 10:07 AM
> To: mohaa at icculus.org
> Subject: [mohaa] Stats..
>
>
> Hiya folks,
>
> sigh..im busting my balls here :-)  Is there ANYONE that knows a way to
> draw stats out of Spearhead? May be with getting Spearhead to make a
> logfile with kills, or a program that connects as a client and dormit
> draws
> the info out for it self.
>
> I badly want to have my server getting stats for the players using it.
>
> - Niclas
>
> |_|_|_|_| Niclas Söderlund
> |_|_|_|_| All work and no play makes Jack a dull boy
>
>
>
>




More information about the Mohaa mailing list