Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page Stats program for MOHAA...
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
Stats program for MOHAA...
Old
  (#1)
asphalt is Offline
Junior Member
 
Posts: 10
Join Date: Jun 2002
   
Default Stats program for MOHAA... - 08-24-2002, 10:11 AM

Hi , just wondering if anyone has seen a stats program for MOHAA like Psycostats for Counter Strike?
  
Reply With Quote
Old
  (#2)
[]PanZeR is Offline
Senior Member
 
Posts: 908
Join Date: Aug 2002
Location: The German Front
 Send a message via ICQ to []PanZeR Send a message via AIM to []PanZeR Send a message via MSN to []PanZeR Send a message via Yahoo to []PanZeR  
Default 08-25-2002, 03:49 AM

yea i would like one too cool:
  
Reply With Quote
Old
  (#3)
=HP=[A]Gen.Boom is Offline
Junior Member
 
Posts: 1
Join Date: Aug 2002
Location: NL
  Send a message via MSN to =HP=[A]Gen.Boom  
Default 08-25-2002, 04:35 AM

Just take a look here for our stats....
http://www.hollowpointnltools.com/MOHAA/index.html


Here you can find the proggie http://www.planetquake.com/aeons/aestats/

Greetz

=HP=[A]Gen.Boom
  
Reply With Quote
Old
  (#4)
[]PanZeR is Offline
Senior Member
 
Posts: 908
Join Date: Aug 2002
Location: The German Front
 Send a message via ICQ to []PanZeR Send a message via AIM to []PanZeR Send a message via MSN to []PanZeR Send a message via Yahoo to []PanZeR  
Default 08-25-2002, 05:10 AM

we mean like a public stats that shows everyone's weekly stats and stuff
  
Reply With Quote
Old
  (#5)
[S.D.] Lt. Skywalker is Offline
Member
 
Posts: 42
Join Date: May 2002
   
Default 08-26-2002, 01:38 AM

You can do that with AEstats. Take a look at our stats on our site.
  
Reply With Quote
Old
  (#6)
oop is Offline
Junior Member
 
Posts: 5
Join Date: Aug 2002
 Send a message via ICQ to oop  
Default 08-26-2002, 11:17 AM

we use [url=http://stats.clanfx.com/:77cae]MOHStats[/url:77cae] on our server

you can check out some stats from our site.

click on the sig below
  
Reply With Quote
Old
  (#7)
Guest
 
Posts: n/a
   
Default 08-31-2002, 10:42 PM

[quote:4fb87]Automatic Updating
The scheme used on our server follows:

Shutdown server at 6:30am
Move qconsole.log to permanent logfile directory, saving file as YY-MM-DD.log.
Run mohstats on new file, using stored cache file.
Gzip (or delete) logfile.
Restart server.
Repeat daily. [/quote:4fb87]

You have to do this? There is no way to have it fully automated? Anyone have this working on a Windows platform?
  
Reply With Quote
Old
  (#8)
yochoylamuete is Offline
Senior Member
 
Posts: 186
Join Date: May 2002
   
Default 09-02-2002, 08:37 AM

You can do that using a batch file on a Windows platform (I do it with my own stats program). But you can't compile stats without closing the server, since the log file remains open as long as the server is active.

Regards,
  
Reply With Quote
Old
  (#9)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 10-18-2002, 12:32 PM

Quote:
Originally Posted by yochoylamuete
You can do that using a batch file on a Windows platform (I do it with my own stats program). But you can't compile stats without closing the server, since the log file remains open as long as the server is active.
This is not true. While the file is locked (you can't delete it.....or perhaps even COPY it ...havent tried) You can still read from it.

What I do to keep track of the logfile so that as it grows it can be re-read for only new lines added to qconsole.log is this:


TYPE qconsole.log >qconsole.txt

(take snapshot of qconsole.log)
(if server is REMOTE you can do the TYPE thru telnet/ssh then ftp/network a copy down the parsing machine...if linux server use cat intead of type)

DIR|FIND "qconsole.bak"
IF ERRORLEVEL 0 GOTO compare
TYPE qconsole.txt >qconsole.bak


REM check for existence, if not create, if exists skip TYPE line.
REM knowing it didn't exist since the GOTO line above wasn't invoked
REM I skip the COMPARE label below


GOTO 1stpass

:compare
FC qconsole.txt qconsole.bak >difference.txt


(the above line will find only those lines added to the qconsole.log file since we took our "snapshot" above....this avoids counting the same deaths/kills twice)

REM now replace qconsole.bak with the latest snapshot

TYPE qconsole.txt >qconsole.bak


(now parse difference.txt)

:1stpass

(now parse the copy of qconsole.bak created above)


To differentiate between different qconsole.log sessions.. ie: comparing the backup of the log to a completly new log so as to not screw up the stats in any way I also keep a backed up copy of the the first 10 people that entered the battle on the server since it started. If the log i'm currently parsing doesn't have the same 10 people entering in the exact same order,
I then know to it's a new logfile altogether and to parse it as a 1st pass (goto 1stpass) instead of using FC to get only the differences.(newest added lines since last pass)


This is my template for the stats HTML. I'm not fully finished the batchfile yet and am going to make it so you can change the look of the stats to suit any webpage just by substituting another template.html file.

[img]http://www.control-alt-delete.ca/mohaa/template.JPG[/img]
  
Reply With Quote
Old
  (#10)
yochoylamuete is Offline
Senior Member
 
Posts: 186
Join Date: May 2002
   
Default 10-18-2002, 06:29 PM

Nice Tip! biggrin: though in my case I must restart the server every day (it's not 24/7).

If you want to check the stats I created, take a look at

http://www.valenciamoon.com/ceal

It's very different from mohstats and aestats, it's... muetestats!

The main difference is every frag is wrote on an Access database, which is queried in turn to build the stats page. It has some interesting features:

The General stats (Generales) is quite usual.

The By Map stats (Por mapa) allows you to check who's the best player on each map and what's the most effective weapon (well, kinda) on that map.

The Player stats (Por jugador) are my favourite ones biggrin:, you can check your ratio on every map, you can see your daily ratio (Promedio diario) for the last 30 days, you can check your use of every weapon, you can check who's your Nemesis (bestia negra) and your favourite target (fijacion enfermiza). You can also check which part on your body is your weakest point (Talon de Aquiles) and which one you shot more often (blanco preferido).

The weapon stats (Por arma) you can check who's the best player on each one and how each weapon fits on each map.

On the downside, the web part of the stats must reside on an ASP server, and it only keeps the records for the last 30 days (that's ok for me, a larger interval makes hard to raise/lower your ratio). However you can keep a copy of the database for each month so that you can check historical data.

Unfortunately, we are moving away from our current server soon, and probably we wont be able to use them anymore... hake:
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.