|
Server Configuration |
|
---|---|
![]() |
In order for StatsGen to be useful it needs information about your Game Server(s). StatsGen needs to know 3 basic things.
1: What Sort Of Server This Is 2: Where The Server Is 3: How To Get The Logfiles From The Server Setting the Server Type is simply a case of selecting the Server Type from the selection drop down at the top of the dialog. Once you have defined this you need to tell StatsGen where the Game Server is. StatsGen downloads logs using FTP for a successful FTP connection you need to set the hostname (IP Address of the server). FTP Username, FTP Password. The FTP Port is typically 21 but may have been changed. The FTP Access is typically in Passive mode but may have been changed. All this information should be available from your Game Server Provider. Note: Even if you intend to run StatsGen on a dedicated server box it is a good idea to set the Hostname as otherwise Server Messaging will not work. If you think you have all your FTP connection details configured you need to now specify the name and location of the Game Server Logfiles. Logfiles are separated into 2 types. Main Log File - The Logfile that is currently being written to by the server Archive Log Files - Logfiles that are not currently being written to but have been archived away by the Game Server (this happens a lot with MOHAA servers). Quake Wars - Logfiles for Quake Wars work a little differently. Quakewars separates its logfiles into 2 parts, a kill file and an objective file. If you select a Server Type of Quake Wars then 2 extra sets of Main and Archive logfiles will appear. The standard settings are for the Kill File, the secondary (objective) file is for the Objective file. Failing to set both files will result in no stats being produced. How to configure Quake Wars to record kills In your server configuration set the following logfile "1" logfilename "kills.log" logtimestamps "1" |
![]() ![]() |
Clicking on the button next to Remote Active LogFile Name will pop up a Remote FTP Browser, this allows you to choose the location of the game logfile. If you have connection errors you will see the the red cross icon in the status window at the bottom - pressing on this will give you and indication of the settings you have not got correct in the FTP Connection Details. If you see errors indicating some form of PORT error this is typically because the Passive setting is incorrect.
Assuming you have the FTP Connection Settings correct you will be presented with a list of files on the Game Server. Initially they will have the ? icon next to them indicating that StatsGen does not know what type the file is, left clicking on the file will interrogate the remote file to see what type it is (folder or file). It does this because I was useless at getting the remote threading to work and just gave up as it was taking me too long :-). Anyway .. back to it .. You navigate around the Game Server until you locate the logfile, on Call Of Duty 1/2/4 this is typically in the main folder and is called games_mp.log - but this may have changed. Selecting this file and then pressing Save will set the Remote Active LogFile Directory and Remote Active LogFile Name for you. The Latest Active Logfile Name is where StatsGen can find the downloaded logfile. Typically you do not need to change this from it's default values - but if you are running on a dedicated server with no ftp transfer then clicking on the icon next to Latest Active Logfile Name will allow you to navigate to the location of the logfile on your dedi box. Archive files work in a similar way except you set up a Wildcard to match the remote files. e.g. if you have the following files on the server. 20061205.log 20061206.log 20061207.log you would set up the Remote Archive Wildcard and Archive Wildcard to be *.log It is important that archive files are ordered correctly. In a normal wildcard, e.g. archivelogs*.log statsgen assumes alphabetical ordering. At other times the archive wildcards have aspects of the date in the filename and we need to sort the filename using the date. e.g. If you are using Tatakai Server Scan to archive your logfiles they are named in the following way:- 8_12_2007_gameserver.log 9_12_2007_gameserver.log 10_12_2007_gameserver.log 11_12_2007_gameserver.log etc. if you just put *gameserver.log as the wildcard statsgen would assume these files should be picked up, sorted alphabetically as follows 10_12_2007_gameserver.log 11_12_2007_gameserver.log 8_12_2007_gameserver.log 9_12_2007_gameserver.log This is obviously the wrong order as the 8th December file should be first. This is where the embedded codes can be used to specify date components of the filename. The codes are CAPITAL letters and surrounded by $$ symbols. $$DAY$$ $$0DAY$$ $$MONTH$$ $$0MONTH$$ $$YEAR$$ $$HOUR$$ $$MINUTE$$ $$SECOND$$ so ... in order to sort the order properly we need to set the wildcard as follows $$DAY$$_$$MONTH$$_$$YEAR$$_gameserver.log There is actually a pre-defined choice for you for Tatakai which you can just select from the drop down list. |
You can also set up StatsGen to download Ban Files from the game servers, these get automatically included into the Drop List's as cheaters. Currently there are 2 types of drop list, Punkbuster and Call Of Duty format. If you intend to use Server Messaging with the Punkbuster Messaging option then you must have at least one ban file setup to be Punkbuster. |