Multistat is designed to be a flexible log file parser for multiple game servers.
Designed with an extensible plugin interface, it is able to process statistics for any game and output them in any format simply by the use of custom modules.
Currently modules for Halflife, Counterstrike Source, Unreal Tournament 2004, Call of Duty 1, Unreal Tournament, and HTML output are included.
· All that is required to run Multistat is PHP version 4.3 and above with the Expat XML parser compiled in (which it is by default). Multistat has not been tested with PHP 5.0 at this stage so use it at your own risk!
Games that utilise the Quake 3 engine (in the case of this release, Call of Duty), write all their log information to the one file. Whilst Multistat can deal with multiple games per file (using the log_quake3 log input plugin) a problem currently exists when executing Multistat with large log files. If the PHP interpreter has been compiled with memory limiting (as most are), Multistat will eventually consume all the available memory until a message similar to the following is generated and execution halts.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 42 bytes) in /var/www/localhost/htdocs/multistat-php/lib/GameInfo.php on line 166 Allowed memory size of 8388608 bytes exhausted (tried to allocate 31 bytes)
Whilst we have worked hard to solve this problem, it has not been easy to track down the exact cause. Until we are able to discover where the references to the offending PHP objects are being held we have devised another (hopefully short term) solution. For details of this, please see the sections titled Splitting Quake 3 Log Files and Processing in Batches.
Alternatively, you could always increase the memory limit specified in the memory_limit of your php.ini configuration file. However, this is not recommended!
What's New in This Release:
· The entire codebase was re-implemented in PHP.
· Support for Unreal Tournament, Unreal Tournament 2004, Call of Duty 1, and Halflife/Halflife 2-based games (Counter Strike Source, etc) was added.