![]() |
|
|
|
|
|
|
||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||
|
preaes...it's the preparser's (preaes) job to read log files for most of the shooters out there and to convert them into a standard log format, the meta log format. what's preaes for?you have to know that the each game comes along with its own log file format. this means the way player frags / deaths / suicides etc. are presented will differ. some games provide extra info like map names and times/dates, others don't. aestats needs properly formatted data to be able to generate html stats pages, so the preparser preaes has to do this job.
the meta log formatdetails galore...after lots of tests (three previous generations of stats programs), i have come to the conclusion that it is best to dump all the relevant frag information into a fixed format. this format i call the meta log format. basically it dumps player names, suicide info, map names, time and date into fixed columns, that are separated by tabs. this makes things a lot easier to parse for aestats later on. here is the format:
---the meta log format---
line 1: name of the game
line 2: 1/0 <t> *13 //1 denotes data available
line 3-n: //below is one line of frag log information
0 <date time> <t>
1 <mapname> <t>
2,3 <player1> <t> <player2> <t>
4 <damagetype> <t>
5,6 <weapon1> <t> <weapon2> <t>
7,8 <altweap1> <t> <altweap2> <t>
9,10 <health1> <t> <health2> <t>
11,12 <item1> <t> <item2> <t>
<t> is a tab (ascii 9)
as you can see the meta log consists of three parts.
the command line parameterspreaes' options...to get a current list of the preaes command line parameters simply type preaes without any other options:
->>./preAEs.exe<<- : [-notes] -<Mode> file1.log file2.log ...
v4.68 20.05.01 18:54 generates meta logs out of misc log files.
-notes : Optional... will dump extra Weapon, Player and Map
lists & the meta log shows Weapon, Item, Damagetypes
as text!.
DON'T use this option if you plan to use AEstats.exe.
Mode : Set by one of the following switches.
-aq2 Action Quake II.
-ci Cold Ice (Half-Life Mod).
-cs Counter-Strike (Half-Life Mod 1.1+).
-dk Daikatana
-fa Firearms (Half-Life Mod v2.5, 1.106 logs).
-flf FrontLine Force (Half-Life Mod v1.2a+).
-hl Half-Life v1.106 logs.
-hr2 Heretic II log.
-hx2 Hexen II.
-kp Kingpin.
-opf Opposing Force (Half-Life Mission Pack).
-oz OZ (Half-Life Mod).
-q2 QuakeII log with LithiumII mod.
-q3a Quake III Arena (Retail, Quake3: Team Arena).
-qw QuakeWorld (frag logs, not the console dumps!).
-ra2 Rocket Arena II mod log.
-sin SIN log.
-t Tribes.
-tf Team Fortress (for Quake).
-tfc Team Fortress Classic (Half-Life 1.106 logs).
-u Unreal's log using AEonsDMmod.
-ut Unreal Tournament (ngStats logs,
Infiltration,Strike Force,Tactical OPS).
-v Star Trek Voyager: Elite Force
-wfa Weapons Factory Arena (Q3A Mod, v1.1+).
-wl Wasteland (Half-Life Mod).
-wq2 Weapons Factory Quake II.
Log file: Log file(s) from the above list.
The log files HAVE to be for the SAME game!
e.g. u.log -> Meta Log Naming: u.mlg
E.g.: ./preAEs.exe -hl hl.log //half-life log file
./preAEs.exe -u u/*.log //all log files in u/
./preAEs.exe -notes -u u/*.log //extra info for notes db.
when you call preaes you will have to tell it for what game the log file is.
this is done with the parameters shown in the above (e.g. : -u, -hl, -q2, -ra2, -tfc,...).
then a list of log files can follow. these should be for the same game mind you.note you can also use the joker character * to preparse lists of log files. example usage: *.log. if you specify more than one log file, all these will be read and only *one* meta log file with all the data will be created. the name of the meta log is determined by the parameters us used. e.g. ./preAEs.exe -hl halflife1.log halflife2.logwill yield a meta log file called hl.mlg.
how to generate log filesmake your own log information file...for each game the way to create your own dedicated server log files is a bit different. i'll explain how game by game:
player name banninghow to remove llamas from your server rankings...if you do not want certain player names to appear on the æstats html output pages then simply edit the banlist.txt ascii file that comes with the æstats package. by default all players with the name "player" are kicked, if folks can't play with a proper name, then they should not be in ranking. please see the configs page for details on this. there you will also find infos on buddy lists and name aliasing. what actually happens: the preparser checks the player names from the input log file against its banlist. if there is a match the *whole* frag line is ignored! this means the banned info will *not* appear in the meta log file.
|
|||||||||||||||||||||||||||||||||||||||
![]() |
æon's stats site is... |
|||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||