Garry's Mod

Garry's Mod

Custom Roles for TTT [OUTDATED]
✨ Floppy Ears ✨ 2020 年 2 月 25 日 下午 5:34
Traitor menu showing only one item, doesn't close
Hi! First of all, I really love this mod!

My issue is that when traitors open their menu it only shows one item out of lots that we have subscribed to, it used to work but this addon has broken it. The menu shows a large grey box with one item in it that doesn't do anything when clicked. I was wondering if anyone has come across this/knows a fix? I thought it might be a mod conflict with Better Equipment Menu but I disabled it and still had the same issue.

Thanks in advance
< >
正在显示第 1 - 15 条,共 17 条留言
Thaumic 2020 年 2 月 26 日 上午 8:50 
Getting same error, yea probably a addon conflict or maybe even something to do with the january changes to the workshop.
✨ Floppy Ears ✨ 2020 年 2 月 26 日 上午 9:12 
UPDATE: it's a mod conflict. I disabled all my addons and it now works so i'll go through them and find the culprit
✨ Floppy Ears ✨ 2020 年 2 月 26 日 上午 9:30 
SOLUTION: seems to be the "TTT Gravity Changer" which causes the bug. Disable/Uninstall it and the problem ends.

Edit: seems quite a few mods have a conflict with it.

So far the list is
TTT Gravity Changer
Time Manipulator
[TTT] Blue Fireworks
TTT Scarface Jihad Bomb
最后由 ✨ Floppy Ears ✨ 编辑于; 2020 年 2 月 26 日 上午 9:33
Thaumic 2020 年 2 月 26 日 上午 10:07 
ok thanks, i have a couple of those. ill add anymore here if i find any
Alex 2020 年 2 月 27 日 下午 2:01 
Did you check your console log? Because for me it outputs this error:
[ERROR] addons/custom_roles_for_ttt/gamemodes/terrortown/gamemode/cl_equip.lua:390: attempt to index a nil value 1. unknown - addons/custom_roles_for_ttt/gamemodes/terrortown/gamemode/cl_equip.lua:390 2. unknown - lua/includes/modules/concommand.lua:54

I've been troubleshooting with some friends and we've gotten close but haven't found a fix yet.
Thaumic 2020 年 2 月 27 日 下午 4:02 
basically as a fix just remove any addons which appear as the only icon (only 1 will appear at a time per role)
Alex 2020 年 2 月 27 日 下午 10:10 
Yeah, that'd be the easy way to fix it, but we'd like to use the grav changer and time manipulator, so we're just trying some stuff :P
geek-x 2020 年 2 月 29 日 下午 1:34 
i believe you can leave all your addons enabled if you make sure you have every addon that he has listed (defib, evolve, town of terror and better equipment menu mod) i have jihad on and it worked
最后由 geek-x 编辑于; 2020 年 2 月 29 日 下午 1:34
✨ Floppy Ears ✨ 2020 年 2 月 29 日 下午 3:24 
I had all those and it didn't work
Karl of Duty 2020 年 4 月 18 日 下午 1:04 
I opened a pull request on the github repo which adds documentation about these issues and more, check it out and tell me if I've missed anything.
Solemnander 2020 年 5 月 12 日 下午 4:27 
Going to leave a comment to mention that if you have this issue, the traitor menu often only shows a single item; that item is one (of possibly multiple) causing conflicts. Uninstall mods associated with the stuck items until it starts working again.
Malivil 2020 年 5 月 13 日 上午 11:58 
I put out a branch of this addon with a bunch of changes including fixing this bug
DEADLY BBS 2020 年 5 月 13 日 下午 1:47 
[AddCSLuaFile] Couldn't find 'assassin.lua' (@lua/autorun/avp3predator.lua (line 4))

I am having an error where the assassin will get other traitors to kill which seriously messes with the game. It previously worked before, would this be an addon issue as well?
Malivil 2020 年 5 月 13 日 下午 2:52 
引用自 DEADLY BBS
[AddCSLuaFile] Couldn't find 'assassin.lua' (@lua/autorun/avp3predator.lua (line 4))

That error looks like it's conflicting with the "AVP Predator" mod but I'm not sure how that would affect the Assassin's targets.

The Assassin target logic finds all Innocents, Phantoms, Mercenaries, Killers, Zombies, and Vampires. If there are none of those it finds Detectives. If there are none of those then there are no more targets. So unless something is messing with player roles I don't know why that wouldn't work.
最后由 Malivil 编辑于; 2020 年 5 月 14 日 上午 4:29
DEADLY BBS 2020 年 5 月 13 日 下午 10:24 
引用自 Malivil
引用自 DEADLY BBS
[AddCSLuaFile] Couldn't find 'assassin.lua' (@lua/autorun/avp3predator.lua (line 4))

That error looks like it's conflicting with the "AVP Predator" mod but I'm not sure how that would affect the Assassin's targets.

The Assassin target logic finds all Innocents, Phantoms, Mercenaries, Killers, Zombies, and Vampires. If there are none of those it finds Detectives. If there are none of those then there are no more targets. So unless something is messing with player roles I don't know why that wouldn't work.



How do I remove that addon from affecting it? I am running a dedicated server straight from my pc that pulls every addon from a connected steam workshop. I have removed the predator model from that workshop and from my addons folder but it still gives the same error. Should I go to the github for the custom player roles and add it to the terrortown gamemode? How would I merge the github files into the gamemode folder?
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50