Closed Slips-PC closed 2 years ago
Hello again — those aren't the only extensions installed, are they? DHooks is notably missing; would be surprised if CWX was loaded in without it. That aside, everything else described seems to be fine.
Language phrase "LoadoutSlot_Melee" not found
This message suggests that translations/cwx.phrases.txt
is missing from the server. While it wouldn't cause a crash outright as far as I know, you may be missing other files required to run the plugins.
Not enough information for me to work out a solution so far; I'd suggest restarting the server again once you've checked that everything is installed, and before restarting, you may as well also install and configure Accelerator for better crash reports.
If you're able to reproduce the crash again then, do respond with the crash ID that Accelerator generates on the startup after the crash.
Hello again — those aren't the only extensions installed, are they? DHooks is notably missing; would be surprised if CWX was loaded in without it. That aside, everything else described seems to be fine.
Yes, you're right, dhooks is also enabled in the extensions. Sorry, must've missed it when copying the logs.
This message suggests that translations/cwx.phrases.txt is missing from the server. While it wouldn't cause a crash outright as far as I know, you may be missing other files required to run the plugins.
Hm, strange. Taking a look now. If that doesn't fix it I'll report back, with Accelerator installed hopefully.
So yeah, that was what was causing it apparently. Adding it to my sourcemod/translations folder fixed it immediately and it all seems to be Working As Intended:tm: now.
I suppose that makes sense; exceptions being raised at runtime may be causing the plugin to get into an undefined state since code past that point isn't being run.
Good to see it's resolved, though.
Pre-flight checklist
Environment
Ubuntu 20.04 LTS
Description
When sm_cwx is run and a weapon (in this case, The Grenade Launcher Launcher) is selected from the menu, the server experiences a segmentation fault.
Steps to replicate
Start a server. Wait for round to start, then type sm_cwx into the console and select The Grenade Launcher Launcher. Expected Behavior: Weapon is granted upon touching a resupply locker. Actual Behavior: Server crashes immediately upon touching a resupply locker.
Other information
Multiple errors are shown when the /cwx command is run, primarily in the realm of things like
L 04/10/2022 - 05:45:46: [SM] Exception reported: Language phrase "LoadoutSlot_Melee" not found (arg 5)
sm exts list
output:sm plugins list
output