Hi everyone,
I have a few tools to help add Insurgency support to your HLStatsX instances. This works well with my ins_logger plugin, and I have an HLStatsX SM plugin that supports colors and formats messages properly. I'm pretty new to HLStatsX and Sourcemod in general, so I'd appreciate any feedback and help with keeping this up to date and stable.
Database script generator: This generates a non-destructive SQL script that with either add or update all objects needed, pulled from my instance at
http://stats.jballou.com . I have other processes on my side that detect when Insurgency is updated, extract the game data files, and create the objects in the database when they're added. This includes the game definition itself, weapons, maps and heatmap data, teams, ribbons/awards, and everything else. There are options at the top to select non-standard mod names and database prefix if you hate being standardized.
HLStatsX Fork: Based on upstream HLStatsX, adds Insurgency as a new game and sets colors and formats properly, adds an EventsRounds table to track Insurgency specific data, heatmaps are fixed, and it's linked to my automatically updated game data repo to keep map and weapon images up to date.
Web images: There is a tool in my HLStatsX deployment that uses my Insurgency data repo to generate images for the Web UI using the in-game data and images. It applies a label to the weapon icons by default.