TF2 Stat Tracker

Completed: December 31, 2025 Duration: 2 month

Overview

TF2 Stat Tracker is a tracker that listens for game state changes in the output console text file. This allows it to get KD radio and other metrics about the game and players, and allows the user to export the infomation to a json file.

This project started when I wanted to make a program that could tell me the enemy teams classes, something that is hidden normally. But when I finished that part, I had so much other infomation about the players in the game I realized that I could make a stat tracker of sorts.

Key Features

Technical Stack

Python PyQt5 JSON

Challenges & Solutions

Challenge: Finding a way to know when someone leaves the game.

Solution: Using the status command and some other alias to make a 'statuscycle'. That status command allows the program to know who is in the game at the time, so running it every minute allows us to know when people leave.

Challenge: Trying to use the least amount of memory possible.

Solution: I don't think that it uses the LEAST amount but, it does get rid of players who have left and stores their stats in a temp.json file that is read later when exporting.