Garry's Mod

Garry's Mod

TTT to CW2.0 Weapon Conversion Addon V2
This topic has been locked
Cookies369 24 Dec, 2018 @ 1:55pm
Attachments cannot be equiped
I had this addon and it worked fine for me, but it suddenly stopped letting users equip attachments. They would show up red in the attachment menu, even after buying the attachment megapack item, and attachment kits could not be grabbed, as though the user already had all attachments in the kit. No errors showed up in the console and the issue persisted even after reinstalling both the addon and the two CW 2.0 addons required.
< >
Showing 1-4 of 4 comments
Logan  [developer] 24 Dec, 2018 @ 8:49pm 
What's the number for the ttt_cw20conversionmod_attachmentstyle server ConVar?
Cookies369 26 Dec, 2018 @ 9:10pm 
Originally posted by Logan:
What's the number for the ttt_cw20conversionmod_attachmentstyle server ConVar?
I have tried it on both 1 and 2, but not 3 because that would just act the same as 1 if i don't have custom attachment packs, I think.
Logan  [developer] 27 Dec, 2018 @ 4:16pm 
Alright, after being notified of a different bug, it appears there's some silent bug occuring that causes attachments to not work whatsoever, unless you force a lua-refresh of the addon. As in: if you edit and save any file within the base weapon pack, that should fix your problem.

I'm trying to get in touch with the creator of the weapon base and see if he can't help, but as it stands, I don't have a solution. I may have to permanently disable attachments.
Cookies369 11 Jan, 2019 @ 4:13pm 
I actually did find an error in the console. Here it is:

[ERROR] addons/ttt_to_cw2.0_weapon_conversion_addon_1590111190/lua/autorun/cw2tt
tmain.lua:85: attempt to index local 'respectiveTTTgun' (a nil value)
1. DoStatTransfer - addons/ttt_to_cw2.0_weapon_conversion_addon_1590111190/lua
/autorun/cw2tttmain.lua:85
2. fn - addons/ttt_to_cw2.0_weapon_conversion_addon_1590111190/lua/autorun/cw
2tttmain.lua:358
3. unknown - addons/ulib_557962238/lua/ulib/shared/hook.lua:109
< >
Showing 1-4 of 4 comments
Per page: 1530 50