Introduction Instructions Templates Database
Run Calculation Display Mandatory Optional Player Data Message Centre Logfile Substitutions Developer Help
Go f1 Score Weights Real Names Template Variable Config Clan Config Avatar Editing Message Centre Game Type Debug Settings Help
Exit Skill Weights Images Output Config Alias Editing Real Name Editing Message Centre Formats Map Export Template About
Award Editing Server Config Drop List Editing Personal Picture Class
Website Config Banned Speech Editing Clan Role Team
External Database Xfire Weapon
Website Ammo
Miscellaneous 1 Weapon And Ammo
Miscellaneous 2 Location
Action

Output Configuration

Normally these settings are configured at installation time and do not require much if any changing.

Database File. When calculating stats StatsGen stores it's results in a SQLITE3 database. The database can be stored in memory by setting the filename to :memory: or to a disk file. The advantages of setting to a :memory: database are that reading data from the database during template production is much faster, the disadvantages are that the application uses more memory (and potentially may lag the server if there are memory limits). By setting it to a disk based database the disadvantages are that accessing it is slower but the application will use less memory (and lag the server less), also you will be able to open and examine the database with any SQLITE3 compatible database application.

There are 2 templates Full and Quick, the difference is that a Full Template will download logs from the server, reset the database to empty, process all the logs from the beginning and transfer the resultant web pages to the web server. A Quick Template does not download the log files , processes the logfiles it sees from the last known position and does not attempt to transfer web pages to the website. Quick Templates are designed for dedicated servers and let StatsGen update it's server messages to be the latest values.

The 2 templates each have a schedule configuration

for the Full Template giving a base time and an interval (in the above example the stats will run every 24 hours starting at midnight.

for the Quick Template giving just an interval, e.g. you may wish it to check for new game server logfile updates every 10 minutes.

The Local Output Location is the directory where constructed web pages are created prior to transfer to the website, it is not expected you will ever have to change this setting.

The Speech File If you have this set then any speech data encountered in the logs is written to this file