Skip to content

naomai/uttracker-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UTTracker Indexer

Server data collector for Unreal Tournament Stats Tracker.

Periodically queries all servers online for their game statuses. Creates statistics for each server-players: total score, play time and death count. Links statistics for each player between multiple servers, in dedicated player profile.

Features

  • Get server info, players list and match stats
  • Fetch server lists from other master servers
  • Verify servers for fake players: servers that mislead by spoofing their player count in server browser
  • Sophisticated detection of match start and finish, for accurate tracking of scores
  • XServerQuery support
  • Optional: Hosting a UT master server, providing list of all online servers

Requirements

Build

# Linux x64:
dotnet build src/Indexer.vbproj --configuration Release -r:linux-x64 --no-self-contained

# Windows x64:
dotnet build src/Indexer.vbproj --configuration Release -r:win-x64 --no-self-contained

The build products are in directory /src/bin/Release/net8.0/

Setup (standalone)

Launch Indexer for the first time to create configuration file:

./Indexer
[14:48:12] Loading config file from: /home/app/Indexer.ini
Unhandled exception. System.Exception: Please configure the scanner first

Edit Indexer.ini file, providing database info. This should be the same database, as used by Web compoment. To reduce security risks, create dedicated DB account for Indexer, limited to SELECT, INSERT, UPDATE and DELETE on the database tables.

[Database]
MySQLHost=localhost
MySQLUser=uttIndexer
MySQLPass=12345
MySQLDB=uttracker

The indexer can now be launched, and will become a continuously running process:

./Indexer

Setup (docker)

Database connection can also be configured by setting environment variables:

export DB_HOST=localhost
export DB_USERNAME=uttIndexer
export DB_PASSWORD=12345
export DB_DATABASE=uttracker