Garry's Mod

Garry's Mod

TTT to CW2.0 Weapon Conversion Addon V2
This topic has been locked
Brynx 26 Dec, 2018 @ 4:22pm
No attachments with Attachmentstyle set to 2.
As the title says, it is showing that nobody has any attachments. ttt_cw20conversionmod_attachmentstyle is set to 2 and all attachments are enabled with cw_enable_all_attachments_on_spawn.
< >
Showing 1-15 of 15 comments
Logan  [developer] 26 Dec, 2018 @ 7:36pm 
Does the problem persist after the first round?

Make sure you change the map level after changing the ConVar. Changes to the ConVar require a map change (or a server restart).
Brynx 26 Dec, 2018 @ 9:01pm 
Yes, the problem persists after the first round, map changes and server restarts.
Logan  [developer] 26 Dec, 2018 @ 9:13pm 
Hmm, I had worked this problem out before uploading the addon, and I'm running into it now, testing the addon.

I should have a fix coming out for it either by tonight or tomorrow. Make sure the server gets the newest version when I update.
Brynx 26 Dec, 2018 @ 9:41pm 
Thank you for looking into it. I'll stay on the lookout for any updates.
Logan  [developer] 27 Dec, 2018 @ 4:14pm 
So I've done a lot of digging, and I can't deduce what the problem is. As it stands, forcing lua-refresh seems to fix it, but the bug effects all attachment style settings (except style 0, obviously).

I'm going to try and get in touch with the original creator, see if he can help me, but as it stands, I don't know what I can do for a solution.
Bum 30 Dec, 2018 @ 10:14pm 
How would I go about doing a lua refresh? I'm running a Linux Source server.
Logan  [developer] 31 Dec, 2018 @ 9:04am 
I can't say for certain how it would work with Linux, but with Windows, simply editing (adding a space and deleting it would count as one, for example) any file within the CW2.0 base addon and saving it should trigger a Lua refresh. This will solve the problem, at least until you have to shut down the server. So it works between maps.
A royal potato 14 Jan, 2019 @ 5:45am 
I'm getting the same problem here and unfortunately can't understand your fix, any chance you could explain it again?
Bum 14 Jan, 2019 @ 10:11am 
Thanks Logan. A royal potato, you need to find a LUA file in CW Base 2.0 and edit it. Save that file and then the mod should work :)
A royal potato 14 Jan, 2019 @ 2:50pm 
Still can't get it working, is it any lua file?
Bum 15 Jan, 2019 @ 9:46am 
I think so, I would wait for a patch before deploying it to a server permanently. It has to be a lua file from CW 2.0.
Last edited by Bum; 15 Jan, 2019 @ 9:46am
A royal potato 15 Jan, 2019 @ 10:10am 
Alright, thanks
Logan  [developer] 17 Jan, 2019 @ 9:19pm 
KadenShayden is correct.

Editing any lua file WITHIN the Customizable Weaponry 2.0 addon (the weapon base), and this edit can be as minor as adding and deleting a space, will trigger a Lua refresh. This will temporarily solve the problem.
Logan  [developer] 7 Mar, 2019 @ 9:12pm 
ATTACHMENT BUG HAS BEEN FIXED
Brynx 8 Mar, 2019 @ 10:39pm 
Thank you for working on the addon. I assumed because you made the work around well known that you had abandoned a permanent fix. I'm happy to see that the problem is officially resolved.
< >
Showing 1-15 of 15 comments
Per page: 1530 50