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

Message Centre

StatsGen has the ability to send period messages to the game server to give messages about who is the top players in various different categories. Currently this is known to work with Call Of Duty 1, Call Of Duty 2 and Quake Wars: Enemy Territory but as far as I know it may work with other server types.

There are overall configurations and server specific configurations. So you can disable Message Centres in an overall capacity or on an individual server basis.
The Message Interval In Seconds is how often a message is sent to the server.
The Custom Message Interval is how often a custom message is inserted into the message list. Custom messages are defined in the Custom Messages screen and can be for anything non-stats related.
The Local TCP/IP Port is the communications port StatsGen will use locally when talking to the game server. This must be different for every instance of StatsGen running. Good values are 8000, 8001, 8002 etc.

You now have to edit server specific details. These include the Game Port and the RCON Password. Without these settings then StatsGen will not know how to send the messages to this server. If you are running on a bizarre server where the Game Server IP address is different to the Game Server FTP address you can specify the alternative IP Address in Game IP.

StatsGen has 2 ways of sending messages, as a repeating task or as a Punkbuster Scheduled Task. A repeating task just uses the RCON interface to send a message every interval and requires StatsGen to be running all the time, this is the recommended settings if you are running StatsGen on a dedicated server box. If you are not running on a dedicated server then it may be impractical to have StatsGen running all the time so you may want to use the Punkbuster Scheduled Tasks option. With this method it sends a file to the game server into the Remote Punkbuster Ban Directory and then executes this file. Punkbuster then keeps executing this task list as part of it's standard operation and StatsGen does not need to keep running.
The format of the messages sent to the game server is configurable thorugh the Edit Message Centre Formats screen. You can change the text of the message by selecting it on the left and editing the data. You can place the variables for this message anywhere within it by enclosing them in $ symbols, e.g. $1$ is variable 1, $2$ is variable 2. What the variables mean is dependent on the message but currently $1$ is the Player Name and $2$ is the Score Achieved. If you set the message to be blank then it is not transmitted.
As well as creating and transmitting stats related messages to the game server Statsgen can also send messages containing anything - such as game server policy TeamSpeak IP address etc. Put what you like in here and they will be interleaved int othe standard messages at the Custom Message Interval specific above.