Have a lua error in ttt in my srcds console when going into the traitor room entrance on minecraft map ttt_minecraft_b5
It says it has ttt_traitor_check on line 40
[ERROR] gamemodes/terrortown/entities/entities/ttt_traitor_check.lua:40: attempt to index field 'Outputs' (a nil value)
1. unknown - gamemodes/terrortown/entities/entities/ttt_traitor_check.lua:40
No lua errors clientside only serverside oddly
I temporarily removed all my addons and still got the lua error, I even replaced the ttt folder with a vanilla ttt folder
and still got the same error
been trying to fix this all day I even reinstalled my server files only saving gamemodes, maps , addons, data, cfg folders
I didn't change any lua files inside
Running TTT Version 2016-4-20
Hope this isn't posted in the wrong section.
Youtube Video Showing Error [url]https://www.youtube.com/watch?v=ONMwQYR1Lj4[/url]
If everything you tried didn't work it's more than likely that the error is being caused by the map. Open up the map in entspy and look around for lua_run entities and try and fix the error from there.
First you propably shouldn't use the GitHub version.
The bug is caused because on the GitHub version someone renamed the output table. And nobody changed it on TTT.
Use the normal version and later I (or someone else) can make a Pull Request on GitHub to change it.
It seems like this change is the reason:
[url]https://github.com/garrynewman/garrysmod/commit/8fdb620a6fa524948c6a7ede6fa11ecfe6f0c3e2[/url]
self.Outputs got renamed to m_tOutputs.
Sorry, you need to Log In to post a reply to this thread.