I decided to register an account with this forum in order to help fellow gamers figure out how to use UTStatsdb for offline play. While the code works flawlessly I have sadly found the documentation to be lacking. Not everyone is a boss at coding, not even at doing basic Windows stuff and, sincerely, why not dedicate thirty minutes to write a simple guide when you've literally done days of code.
So this is for people wanting to log and view stats for UT3 in offline play. I'm positive other Unreal Tournament games and their relevant online modes work in a similar fashion but can't provide info as I haven't tried anything online yet.
What I've done is including some much needed steps in the UTStatsdb Readme
which is going to be posted below:
First of all, you need to make logs. That's done through a mutator. Go here: http://www.utstatsdb.com/files/?dir=6
and get UTStats .
UTSTATS README WITH MY NOTES
UT3Stats v1.04 logging mutator for Unreal Tournament 3
This mutator generates log files from matches played in Unreal Tournament 3.
Log files are created in the My Documents\My Games\Unreal Tournament\Logs directory.
To install, copy the UT3Stats .u files inside your UTGame\Published\CookedPC\ directory. The .ini files go into My Documents\My Games\Unreal Tournament 3\Config.
If done correctly you will find two new mutators in the Mutators screen, just when you are about to launch a game, in the same list with InstaGib and others. Select at least one of the UT3Stats mutators.
There are two versions of UT3Stats, one of which has El Muerte's LibHTTP5
compiled in. This version is designed to enable uploading log files to the
server and parsing the logs automatically. Currently this is still under
development and fails to function for most people. The best method for
transfering log files to your remote stats server is via FTP.
Add the following to your server startup script:
Or, if using the HTTP version:
Now let's grab UTStatsdb: http://www.utstatsdb.com/files/?dir=3
README FILE FOR UTSTATSDB WITH MY NOTES
This version of UTStatsDB 3.06 includes Apache Web Server 2.2.10 and PHP 5.2.8.
These are configured to run under Windows only.
Extract to your hard drive and run utstatsdb.cmd to run.
You may get a domain name error. This is fixed by going into Conf >
httpd.conf and editing a line:
Delete the # and replace whatever you find behind ServerName with localhost so it reads:
Now open your browser.
Simply gong to http://localhost will bring up the UTStatsDB main page.
For the admin menu go to: http://localhost/admin.php
You can replace localhost with your system's IP address to access it from
The default passwords are:
Update: pass (used for parsing logs)
Init: initpass (used for reinitializing the system)
You will need to configure UT for generating logs and making them
available to UTStatsDB. Use UT3Stats, which is provided among these
When you have done all of the above, you need to go into the Admin page and set the logs' path. Try something easy like C:/Games/Unreal Tournament 3/Logs. And REMEMBER, THE BARS ARE THE ONES YOU TYPE WITH SHIFT + 7 (//// NOT \\\\).
If you want to parse team games (Team Deathmatch, Capture The Flag, etc.) you have to select the relevant option in the logs configuration page and set it to "true". It is one of the circular buttons you click.
You also need to write the log prefix. In UT3 it is Stats-7777 (check it,
I may be wrong).
You will need to review some option under Main Configuration too, to have bots counted as players, etc. For some reason UTStatsdb is currently ignoring me as a human player but lists me as a bot. It may have something to do with the fact I only played offline so far.
Once processed logs are moved from the path you gave to the UTStatsdb
folder, inside Logs.
For help you can visit: http://www.utstatsdb.com.
Well, that was it for me. You may run into other issues, so best of luck!
I would like to recommend MapMixer's bot mod to make some cool custom factions.