Skip to content
Rosenstein edited this page Aug 18, 2025 · 25 revisions

header


PsychoStats is the defining game stats software of the golden age of PC game modding, between the years of 2000 and 2005. It was created for the game and it's mods that dominated that golden age, Half-Life and Source, with mods like Counter-Strike, Day of Defeat, Earth's Special Forces, and so many others that there are truly too many to mention.

PsychoStats parses server logs and generates statistics based on those logs. Those statistics are stored in a database which is accessed by a web portal that displays those statistics. The stats parsing scripts are written in Perl while the web front end is written in PHP. This version of PsychoStats is working on PHP 7.4.11 and MariaDB 10.3.24.

All of the versions on this repository should be considered beta software as at this time I simply do not have the capacity or the access to game servers to thoroughly test releases. I know that prior to 2010 PsychoStats was tested on thousands of websites with logs from thousands of game servers. The base PsychoStats code should be robust and stable, and the changes I have made have been relatively minor, so it stands to reason that the code is still robust and stable, but I can make no guarantees, so use this software at your own risk.

There was one serious security vulnerability that I am aware of, and that has been fixed. Most of the "fixes" were already present in the code, as Stormtrooper was aware of some of the changes to PHP that had, at that time, recently been made, or had been announced. Very little had to actually be rewritten, and where rewriting was required the changes were pretty minor. There were a few minor changes with regard to mysqli syntax. As far as I am aware all the obsolete and deprecated code has been fixed.

This version of PsychoStats currently supports the following games:
We are always looking for server logs to allow for testing and improved game support.

🏷️ Game Protocol Supported Tested
Counter-Strike half-life ✔️ ✔️
Day of Defeat half-life ✔️ ✔️
Firearms 3.0 half-life ✔️ ✔️
Gun Game half-life ✔️
Half-Life Death Match half-life ✔️ ✔️
Natural Selection half-life ✔️ ✔️
Soldat half-life ✔️
Team Fortress Classic half-life ✔️ ✔️
Counter-Strike: Source source ✔️ ✔️
Day of Defeat: Source source ✔️
Gun Game: Source source ✔️
Half-Life 2 Death Match source ✔️
Team Fortress 2 source ✔️
The Battle Grounds III source ✔️ ✔️
Call of Duty 4 cod4 ✔️
Call of Duty 4X cod4x ✔️

There is also a GitHub repo for PsychoStats Mods.

You can clone the repositories or download zips of the latest versions.

Clone this wiki locally