From 518c8d9a5aa22a82ef12a34da34dce912c7ebf58 Mon Sep 17 00:00:00 2001 From: maurice Date: Mon, 8 Sep 2025 03:27:10 +0200 Subject: [PATCH 1/2] add missing weapons classes for alternate scout weapon accuracy tracking --- supstats2/supstats2.sp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/supstats2/supstats2.sp b/supstats2/supstats2.sp index 993312a..2b61433 100644 --- a/supstats2/supstats2.sp +++ b/supstats2/supstats2.sp @@ -229,11 +229,15 @@ public void OnPluginStart() { g_tShotTypes.SetValue("tf_projectile_healing_bolt", SHOT_HEALINGBOLT); g_tShotTypes.SetValue("tf_weapon_scattergun", SHOT_HITSCAN); + g_tShotTypes.SetValue("tf_weapon_pep_brawler_blaster", SHOT_HITSCAN); + g_tShotTypes.SetValue("tf_weapon_handgun_scout_primary", SHOT_HITSCAN); + g_tShotTypes.SetValue("tf_weapon_soda_popper", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_shotgun_soldier", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_shotgun_primary", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_shotgun_hwg", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_shotgun_pyro", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_pistol_scout", SHOT_HITSCAN); + g_tShotTypes.SetValue("tf_weapon_handgun_scout_secondary", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_pistol", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_smg", SHOT_HITSCAN); g_tShotTypes.SetValue("tf_weapon_sniperrifle", SHOT_HITSCAN); From ee60b5411bcfc18a91df9105fa1240d3f83ff7df Mon Sep 17 00:00:00 2001 From: F2 <916098+F2@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:21:50 +0200 Subject: [PATCH 2/2] Bumped version --- supstats2/supstats2.sp | 6 +++++- supstats2/update.txt | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/supstats2/supstats2.sp b/supstats2/supstats2.sp index 2b61433..04fa841 100644 --- a/supstats2/supstats2.sp +++ b/supstats2/supstats2.sp @@ -99,6 +99,10 @@ Release notes: - Fixed unnecessary tournament restart when server is almost empty +---- 2.6.2 (08/09/2025) ---- +- Added accuracy logs for alternative scout weapons - by s-maurice + + TODO: - Use GetGameTime() instead of GetEngineTime()? - Write comments in code :D @@ -120,7 +124,7 @@ TODO: #undef REQUIRE_PLUGIN #include -#define PLUGIN_VERSION "2.6.1" +#define PLUGIN_VERSION "2.6.2" #define UPDATE_URL "https://sourcemod.krus.dk/supstats2/update.txt" #define NAMELEN 64 diff --git a/supstats2/update.txt b/supstats2/update.txt index 4d35ace..5e8dbfc 100644 --- a/supstats2/update.txt +++ b/supstats2/update.txt @@ -4,11 +4,11 @@ { "Version" { - "Latest" "2.6.1" + "Latest" "2.6.2" } - "Notes" "Changes in 2.6.1:" - "Notes" "- Fixed unnecessary tournament restart when server is almost empty" + "Notes" "Changes in 2.6.2:" + "Notes" "- Added accuracy logs for alternative scout weapons - by s-maurice" } "Files"