Closed Endleon201 closed 3 years ago
It's definitely the tool's fault
It's definitely the tool's fault
Than how can I fix it?
Need to debug and fix the lua code
Need to debug and fix the lua code
Who will get on this?
The problem is here: https://github.com/wiremod/wire-extras/blob/master/lua/weapons/gmod_tool/stools/gui_wiring.lua#L266 port0 has 'nil' Name
The problem is here: https://github.com/wiremod/wire-extras/blob/master/lua/weapons/gmod_tool/stools/gui_wiring.lua#L266 port0 has 'nil' Name
Do I remove said line??
No, need to figure out what the contents of the tables are and see why Name is nil.
Looks like d20c969c2fd6d80f4ed2db636f69aa6b99fcb641 caused the issue
When I use said tool on unwired parts, it works perfectly. The second I try to use it on already wired together parts, it whites out my screen and sends the following error:
[wire-extras] addons/wire-extras/lua/weapons/gmod_tool/stools/gui_wiring.lua:157: attempt to concatenate local 'port' (a nil value)
I don't know enough Lua to understand exactly what happened, so please explain to me if I'm doing anything stupid.