Closed ghost closed 3 years ago
This is caused because the weapon preferences enum struct
wasn't setting correctly -1
on connection to all override settings, causing a wrong initialization to 0.
This would cause the check for an override to fail (because 0 > -1 and WeaponsInfo.Special
initializes on 0) (oops!) giving the player the weapon with iItemDefinitionIndex
on 0 (The Stock Bat). Fixed with 49a754b9f1b1011fb1d577942181ecd000284301
The issue why Unusual Overrides are not showing up regardless of the ConVar value is because of a misplaced parenthesis (another oopsie, now that's embarrassing!). Fixed with d6e9fdfdf924bc922a7f085b32a80fec9b2af577
I'm issuing a hotfix for this issue as we speak. Should be up shortly. Thank you for spotting something that really flew over my head.
This has been fixed on latest release v3.0.2
Thank you so much for reporting this issue! https://github.com/punteroo/TF2-Item-Plugins/releases/tag/v3.0.2
Describe the bug
New players are connecting to the server with TF_WEAPON_BAT equipped regardless of the class they're on, the only way to get rid of this is to "RESET EVERYTHING" through the menu, which brings back the normal weapon. Also, Unusual effects aren't showing in the menu even with the convar enabled.
Screenshot