Hey guys. This is a thread for FIXING WIREMOD / SPACEBUIL3.
If you’re getting the following error in Wiremod:
[lua][ERROR] addons/wire/lua/entities/gmod_wire_hudindicator/cl_init.lua:56: attempt to call field ‘MakeSortedKeys’ (a nil value) fn - addons/wire/lua/entities/gmod_wire_hudindicator/cl_init.lua:56
unknown - addons/ulib/lua/ulib/shared/hook.lua:183[/lua]
Or Spacebuild 3 isn’t generating a tool list / working, ect, here’s the fix:
I don’t know why, but when I do
[lua]if VERSION < 143 then MsgN(“YES”) end[/lua]
It doesn’t print YES. I have no clue why, because when you just message VERSION, it prints 130607.
For wiremod, you need to go into wire/lua/autorun/Wire_Load.lua and comment out this:
if VERSION < 143 then ErrorNoHalt("WireMod: This branch of wiremod only supports Gmod13+.
") return end[/lua]
This way, it never fails the version check and actually includes all the files.
We need to do the same thing for spacebuild:
Just comment out this from those two files:
[lua] local gmod_version_required = 145;
if ( VERSION < gmod_version_required ) then
error("CAF: Your gmod is out of date: found version ", VERSION, "required ", gmod_version_required)
I had to do this for my dedicated server, my host is NFO Servers, and it only seems to be broken with this host.