This File allows you to create server stats like the ones we use. Our Server Stats I have been using it a month and it works a treat:)
You will need to download This File (Windows MSI )before you can create server stats.
How does it work? If you run a server then you will have a server log called game.log this stores all kills, deaths, weapons used etc. Just place this in the sof2logger folder after installing the Perl file. Then run logparsesof2 and stats will be produced in html format:)
Copyright (c) 2002-2003 Jesse Brandeburg. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself. ---------------------------------------------------------- Title: SoF2Logger Author: Sam Evans Author2: Jesse Brandeburg 'miCro' Author3: Ravencroft E-Mail: firstname.lastname@example.org E-Mail2: email@example.com E-Mail3: firstname.lastname@example.org Website: http://jk2.gamersimpact.com/index.php File Name: sof2logger.zip File Size: 19k Date Updated: Mar 18, 2003 Description: This log parsing utility will generate nice HTML player statistics. ---------------------------------------------------------- NEW: Please see the file CHANGES for improvements DISCLAIMER: I make no warranties / claims that this program works, or will not destroy your data. By using this application you agree that you will not hold the author(s) liable for any damages incurred, or time lost. *** Use this application at your own risk! *** Naturally, this is an evolving project. You are free to hack this code up, do whatever you want with it. But, one thing I do ask is that if you do use some of my code, please give me (us) credit for it. :) INSTALLATION: This program should be ready to run out of the archive, with the user only needing to copy a sof2games.log into this directory. You can make all configuration changes in logparse.conf or change your colors in stats.css CONFIGURATION: If necessary, edit the enclosed logparse.conf file, and change the settings to match your configuration. Note, that if you are specifying a directory name, leave off the trailing backslash. In the script file are Weapon Mapping names. You can change what the Game calls a weapon to what you want to call the weapon. For instance, you can change MOD_MP5 to 'by MP5er'. Read the instructions in the script file. Lastly, you can customize how the output is layed out. Included with this script is a main-stats.html and player-statfile.html template file. Inside this file are script specific tags. DO NOT CHANGE THESE!!! You can change the order, and location. You can even put these tags inside HTML tables, whatever you like. NOTE!!!! It is VERY important that once you rotate your logfile, your run the logparse program so that it can update it's last line counter. Failure to do this could result in tainted stats!!!! STATS GENERATION Once you've configured your files you need to try it out! typically you'll already have perl installed under linux, and under windows you'll have to find perl and install it. Once thats done, run perl logparsesof2.pl or perl logparsesof2.pl -c my_logparseconf.conf There are several options you can include: -reinit Delete the players.dat files and all historical tracking from rotated logfiles. -c <conf file> Specify a configuration file other than the default logparse.conf -logfile <file> Specify a logfile to parse and build stats from, override the file specified in <conf file> -h Get a short description of these options -d run in debug mode (LOTS of output) ::::::NOTICE:::::: THIS MODIFICATION IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION, RAVEN, OR LUCASARTS ENTERTAINMENT COMPANY LLC. ELEMENTS TM & © LUCASARTS ENTERTAINMENT COMPANY LLC AND/OR ITS LICENSORS.
There are no comments yet. Be the first!