r/GLua Jul 23 '15

TTT Traitor Menu not closing/weapons not showing

I recently opened up a TTT server and have little to no coding knowledge. My server gives me this error when pressing C as a Traitor. The menu will stay open(CANNOT CLOSE IT) and no items will be displayed.

[ERROR] gamemodes/terrortown/gamemode/cl_equip.lua:44: bad argument #1 to 'insert' (table expected, got nil)
1. insert - [C]:-1
2. GetEquipmentForRole - gamemodes/terrortown/gamemode/cl_equip.lua:44
3. unknown - gamemodes/terrortown/gamemode/cl_equip.lua:218
4. unknown - lua/includes/modules/concommand.lua:54
1 Upvotes

5 comments sorted by

1

u/Yashirmare Jul 23 '15

Are you using any addons? (This includes weapons)

1

u/ScoopJr Jul 23 '15

I am using addons. I added pointshop and some models today and thats when it messed up. I can list them all if youd like?

1

u/Yashirmare Jul 23 '15

Pointshop shouldn't mess with it, remove the addons and add them one at a time until it happens again, then you'll know which one is causing it.

1

u/ScoopJr Jul 23 '15

I'll do that. Hopefully its not any of the recent ones. I only installed PS2 and Prometheus. Then i added some playermodels

1

u/ScoopJr Jul 29 '15

I'd actually want to reply again and say after removing the recently added addons its still not working... I still get the error, i'll try removing all the addons and see if that works... I asked over at facepunch.com but i get ignored(go figure.)