-----------------------------------------------------------------------------
vsp stats processor (c) 2004-2005
version 0.45
vsp by myrddin (myrddin8 AT gmail DOT com)
-----------------------------------------------------------------------------
---------------------------------------------------------------------------
Usage: php vsp.php [options] [-p parserOptions] [logFilename]
[options]
---------
-c specify config file (must be in pub/configs/)
-l specify logType (gamecode-gametype)
logType:-
client Client Logs (Any game)
cod Call Of Duty, United Offensive
hl HalfLife 1 & 2, CS:Source etc.
moh Medal Of Honor AA,SH,BT,PA? etc.
q3a Quake 3 Arena (and q3 engine games)
q3a-battle Quake 3 Arena BattleMod
q3a-cpma Quake 3 Arena CPMA (Promode)
q3a-freeze Quake 3 Arena (U)FreezeTag etc.
q3a-lrctf Quake 3 Arena Lokis Revenge CTF
q3a-osp Quake 3 Arena OSP
q3a-ra3 Quake 3 Arena Rocket Arena 3
q3a-threewave Quake 3 Arena Threewave
q3a-ut Quake 3 Arena UrbanTerror
q3a-xp Quake 3 Arena Excessive Plus
rtcw Return to Castle Wolfenstein
sof2 Soldier of Fortune 2
wet Wolfenstein: Enemy Territory
-n
No confirmation/prompts (for unattended runs etc.)
-a specify action
perform a specific predefined action
*make sure this is the last option specified!*
[logFilename] is not needed if this option is used
action:-
clear_db Clear the database in config
ie. Reset Stats
-p [parserOptions]
savestate 1
Enable savestate processing
Remembers previously scanned logs and events.
If this option is enabled, VSP will remember the
location in the log file where the last stats was
parsed from. So the next time VSP is run with the
savestate 1 option against the same log file, it will
start parsing the stats from the previous saved
location.
If you want VSP to forget this save state, then you
have to delete the corresponding save state file from
the logdata/ folder. The name is in the format
savestate_[special_Form_Of_Logfile_Name]
Deleting that file and running VSP again with
savestate 1 option will reparse the whole log again
from the beginning. Also note that each logfile will
have a separate save state file under the logdata
folder. Do not edit/modify the savestate files! If
you dont want it, just delete it.
check ReadME or first few lines of a particular parser php for other
valid options for that particular parser
[logFilename] could be an FTP link/url. Set FTP username/password in config
[logFilename] may be a logDirectory for some games. ex:- *HalfLife*
Usage: php vsp.php [options] [-p parserOptions] [logFilename]
Example: php vsp.php -l q3a -p savestate 1 "c:/quake iii arena/games.log"
---------------------------------------------------------------------------