Plugin does not load
mintoyatsu opened this issue · 2 comments
mintoyatsu commented
Describe the bug
Cannot get the plugin to load from a clean restart on version 3.1.0. It will work if you reload the plugin while the server is already running, but otherwise does not load by itself.
To Reproduce
Steps to reproduce the behavior:
- Install plugin
- Restart server
- Plugin fails to load
L 11/02/2021 - 20:34:18: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 11/02/2021 - 20:34:18: [SM] Blaming: tf2item_weapons.smx
L 11/02/2021 - 20:34:18: [SM] Call stack trace:
L 11/02/2021 - 20:34:18: [SM] [0] ConVar.BoolValue.get
L 11/02/2021 - 20:34:18: [SM] [1] Line 106, tf2item_weapons.sp::OnPluginStart
L 11/02/2021 - 20:34:18: [SM] Unable to load plugin "tf2item_weapons.smx": Error detected in plugin startup (see error logs)
L 11/02/2021 - 20:34:18: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 11/02/2021 - 20:34:18: [SM] Blaming: tf2item_cosmetics.smx
L 11/02/2021 - 20:34:18: [SM] Call stack trace:
L 11/02/2021 - 20:34:18: [SM] [0] ConVar.BoolValue.get
L 11/02/2021 - 20:34:18: [SM] [1] Line 103, tf2item_cosmetics.sp::OnPluginStart
L 11/02/2021 - 20:34:18: [SM] Unable to load plugin "tf2item_cosmetics.smx": Error detected in plugin startup (see error logs)
punteroo commented
Oops! Overlooked the ConVar declaration for first loads (since I focused entirely in Late Loading)
Issuing v3.1.1 right now as we speak!
Thank you so much for the heads up on this!
punteroo commented
This was fixed in v3.1.1: https://github.com/punteroo/TF2-Item-Plugins/releases/tag/v3.1.1
Thank you!