Hello,
I've built a web based statistics solution for Soldat which I would like to share if anyone is interested.
FEATURES * Clean and powerful web interface for viewing of statistics, including:
  - Leaderboard
  - Secondary weapon toplist
  - Individual leaderboard
  - K/D-ratio over time graph
  - Current server information
  - and more (
screenshot1,
screenshot2,
live demo)
* MSN-bot for player login notifications
* IP-based stats, no one can steal your nick and ruin your stats (unless you let them play on your IP...)
* In-game display and logging of kill streaks and death streaks
* Can show stats by "All-time" or by "30-days"
* Seperation possible between soldat server, database server and web front end
* Can probably (!) scale to several Soldat Servers (though not tested)
REQUIREMENTS * Windows-based Soldat Server
* .NET Framework 2.0
* MySQL
* IIS
* Good overall computer know-how
WHYMe and some friends played Soldat quite much, and someone got the idea it would be even more fun if we could actually SEE who was best (in short, someone got tired of the bragging ;-)).
I mostly built this to learn HOW to do it. There might not be ideal solutions everywhere, and I can't guarentee it's bug free. That said, I've been running it for quite some time on my server and it runs just fine. So I thought I could share it if anyone else wants to use it. To be able to, you need to know how to do the following:
* Create a MySQL-database from a provided SQL-script (or examine the script and create the database manually)
* Setup a ASP.NET IIS web application
* Install scripts on your Soldat server (actually just a Ctrl+C, Ctrl+V here)
* Overall knowledge of Windows Services, MySQL-databases, etc
HOWThe application consists of four parts:
* A MySQL database for storing the frags
* Some scripts to be installed on the Soldat Server to extend logging
* A collector service to be installed on the server where the Soldat Server is running which will upload the stats to the database server
* A ASP.NET powered web interface to display the statistics, getting them from the database server
Everything is written in C#, and you can download the source code below if you would like to take a look at it.
SUGGESTED INSTALLATION PROCEDURE1. Download all the files below.
2. Decide what should run on which server (you could run all parts on the same server, but when the number of stats increase the server can get laggy if someone access the page while there are players online).
3. Create the MySQL database using the script you downloaded.
4. Create a user for the newly created database.
5. Run the installer for the collector service. READ THE README (first page of the installation). If you don't, you won't get it to work.
6. Deploy the web interface to IIS.
7. Modify the settings in Web.Config as you like.
8. OPTIONAL: Create a new MSN account for the MSN-bot. Add it's information according to instructions in the collector service readme.
FILES *
MySQL Create Database Script *
SoldStat Collector Service *
SoldStat Web Interface *
Full source codeDISCLAIMERThe usual, I WON'T pay if your computer blows up. Use this AT YOUR OWN RISK!
QUESTIONS?Just post them here, I'll try to answer as fast as I can.