c417226e9e99393ee23abb425f2a44a332ea6dc3
Spectra sends events.kills[].offended_unit with uppercase roman numerals (V/VI) while players[].units[].unit uses lowercase (v/vi). 85% of TSS games are affected — dead-vehicle strikethrough on the Discord scoreboard never triggered because was case-sensitive. Normalize both sides to lowercase before comparing.
TSSBOT
Sibling bot under BOTS/. Skeleton only — actual logic to be implemented.
Shared game-data assets (vromfs, data parser, MAPS, ICONS, FONTS, DAGOR_FILES,
update_game_files.py) live in ../SHARED/. Add ../SHARED to sys.path
before importing data_parser:
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[2] / "SHARED"))
from data_parser import UnitTags, LangTableReader # etc.
Layout
BOT/— Python source for the bot (placeholder)web/— front-end / API server for TSSBOT (placeholder)start_bot.py— entry point stub
Description
Languages
Python
99.3%
JavaScript
0.4%
Shell
0.3%