Garry's Mod

Garry's Mod

TTT to CW2.0 Weapon Conversion Addon V2
此主题已被锁定
Brynx 2018 年 12 月 26 日 下午 4:22
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.
< >
正在显示第 1 - 15 条,共 15 条留言
Logan  [开发者] 2018 年 12 月 26 日 下午 7:36 
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 2018 年 12 月 26 日 下午 9:01 
Yes, the problem persists after the first round, map changes and server restarts.
Logan  [开发者] 2018 年 12 月 26 日 下午 9:13 
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 2018 年 12 月 26 日 下午 9:41 
Thank you for looking into it. I'll stay on the lookout for any updates.
Logan  [开发者] 2018 年 12 月 27 日 下午 4:14 
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 2018 年 12 月 30 日 下午 10:14 
How would I go about doing a lua refresh? I'm running a Linux Source server.
Logan  [开发者] 2018 年 12 月 31 日 上午 9:04 
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 2019 年 1 月 14 日 上午 5:45 
I'm getting the same problem here and unfortunately can't understand your fix, any chance you could explain it again?
Bum 2019 年 1 月 14 日 上午 10:11 
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 2019 年 1 月 14 日 下午 2:50 
Still can't get it working, is it any lua file?
Bum 2019 年 1 月 15 日 上午 9:46 
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.
最后由 Bum 编辑于; 2019 年 1 月 15 日 上午 9:46
A royal potato 2019 年 1 月 15 日 上午 10:10 
Alright, thanks
Logan  [开发者] 2019 年 1 月 17 日 下午 9:19 
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  [开发者] 2019 年 3 月 7 日 下午 9:12 
ATTACHMENT BUG HAS BEEN FIXED
Brynx 2019 年 3 月 8 日 下午 10:39 
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.
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50