punteroo / TF2-Item-Plugins

SourceMod plugins for TF2 that allow players to manage their weapons (australium, festivizer, unusuals, spells, war paints) and cosmetics (unusuals, paints, spell paints, halloween spells). Now with SQLite support.
GNU General Public License v3.0
31 stars 4 forks source link

Bugs with tf2items save preferences and Paint Function #20

Open Shibared opened 2 years ago

Shibared commented 2 years ago

When rejoining the server, the spell paint will always override to "Die Job" and Sometimes Footprint Spell will override an unlisted option "Gangreen Footprints". And sometimes Paint function will not work. Logs: [SM] Plugin "tf2item_cosmetics.smx" encountered error 23: Native detected error [SM] Invalid timer handle aa0022d (error 3) during timer end, displayed function is timer callback, not the stack trace [SM] Unable to call function "ForceTimer" due to above error(s). [SM] Plugin "tf2item_cosmetics.smx" encountered error 23: Native detected error [SM] Invalid timer handle c600236 (error 3) during timer end, displayed function is timer callback, not the stack trace [SM] Unable to call function "ForceTimer" due to above error(s).

Update: Paints will not work if spell paint applied, even if it's in "No override", you have to select again to make it work. Still, Save preferences have that bug of appling "Gangreen Footprints" effect even if it's says No Override.

punteroo commented 2 years ago

This could be due to a default value of 0 being set on the overrides' preferences, as the plugin only detects a "No Override" setting on -1 (some effect IDs can be 0).

I'll check on this for the next release.

punteroo commented 3 months ago

Hello.

Please confirm the issues reported here are gone to properly close the Issue or handle it accordingly.