nosoop / SM-TFCustomWeaponsX

SourceMod plugin that allows players to use custom TF2 items.
GNU General Public License v3.0
21 stars 11 forks source link

Invalid Handle 0 (error 4) #58

Closed lzardy closed 6 months ago

lzardy commented 6 months ago

Pre-flight checklist

Environment

Description

CWX attempts to load with a call to TF2Econ, resulting in the following error:

Exception reported: Invalid Handle 0 (error 4)
L 04/19/2024 - 03:56:19: [SM] Blaming: tf_econ_data.smx
L 04/19/2024 - 03:56:19: [SM] Call stack trace:
L 04/19/2024 - 03:56:19: [SM]   [0] SDKCall
L 04/19/2024 - 03:56:19: [SM]   [1] Line 495, scripting/tf_econ_data.sp::GetEconAttributeDefinitionByName
L 04/19/2024 - 03:56:19: [SM]   [2] Line 484, scripting/tf_econ_data.sp::Native_TranslateAttributeNameToDefinitionIndex
L 04/19/2024 - 03:56:19: [SM]   [4] TF2Econ_TranslateAttributeNameToDefinitionIndex
L 04/19/2024 - 03:56:19: [SM]   [5] Line 164, scripting/cwx.sp::OnAllPluginsLoaded

Steps to replicate

Install CWX and launch the server.

Other information

N/A

nosoop commented 6 months ago

Hi — this is not a CWX issue; the error directly mentions Econ Data. Please download the latest release of that (the release was just posted so it's understandable if you thought it was unchanged); if the issue persists please open an issue in that repository.