Garry's Mod

Garry's Mod

TTT to CW2.0 Weapon Conversion Addon V2
This topic has been locked
devin 3 Jan, 2024 @ 5:23am
Other Lua Errors
Let me know if there's something I miss because I have no clue what I'm doing, I'm trying to follow your installation guide as closely as possible and am having problems properly implementing the addon to my server files. If I add this to my servers addons, nothing happens, but if I merge this mods lua files with the servers lua files, the guns are actually able to change, but I get this lua string error that won't stop spamming the console with this https://www.youtube.com/watch?v=pdqDdB9EgB8

Any workaround for that? I'm not sure if I should be merging the addons lua files with the servers, worried I'll be screwing something up
< >
Showing 1-4 of 4 comments
devin 3 Jan, 2024 @ 5:55am 
This is the lua error I'm getting*

[Chuck's Weaponry 2.0] lua/weapons/cw_base/cl_model.lua:1190: attempt to call local 'v' (a table value)
1. drawAttachmentsPost - lua/weapons/cw_base/cl_model.lua:1190
2. fn - lua/weapons/cw_base/cl_hooks.lua:35
3. unknown - lua/ulib/shared/hook.lua:109 (x1405)
devin 3 Jan, 2024 @ 6:00am 
I also noticed a fair bit of people experiencing the same problem in multiple threads, but if this is a problem that has already been addressed then let me know cause I couldn't find it lol
Logan  [developer] 5 Jan, 2024 @ 1:45pm 
I most certainly do not recommend you extract this addon and merge its files into any other folder. This addon should work as an addon - either place the .gma or the extracted folder in the 'addons/' directory and it should work without issue.

Because of the unsupported way you've installed the addon, I don't know if the error you're experiencing is a result of the weapon base being updated or the installation method. I'll have to try it out locally to see.
Logan  [developer] 6 Jan, 2024 @ 6:28pm 
Originally posted by devin:
I also noticed a fair bit of people experiencing the same problem in multiple threads, but if this is a problem that has already been addressed then let me know cause I couldn't find it lol

It appears as though a function used somewhat often throughout the weapon base (Spy's Customizable Weaponry addon) was recently completely deprecated. I've applied a fix to my addon that should fix the issue, even though it technically fixes his weapons. I've also sent a message to Spy about this issue, so expect an official patch to hit sometime in the future.

For now, update this addon, and everything should be back to normal.
Last edited by Logan; 6 Jan, 2024 @ 6:29pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50