sys/lua/hc/core/main.lua
http://pastebin.com/7AM97661
Scripts
[Fix] HC Admin Script
[Fix] HC Admin Script
The Gajos: There's no big difference, somehow the functions weren't accepting arg as a value that is set as default on functions. So I modified unpack(arg) to ... The script should work with that anyway.
Ajmin:function f(...)
	local arg = {...} -- This would be the "quickest" replacement
end
Starkkz: wait... then how looks the code in Lua 5.1?
The Gajos: Lua 5.1 has arg built in, there's no need to define it in that case.function f(...)
	print("arg = "..tostring(arg))
	for k, v in pairs(arg) do
		print("argument "..tostring(k).." = "..tostring(v))
	end
end
Starkkz and thats all?
lennon: That's supposed to be all, if you have more problems you can just come here and show your errors.
?
apex2d: Yeah
Starkkz: I can't use hats in the script , another fix ?
Kirito2K: I'll check that, just wait a while.
Starkkz, @
Kirito2K: Hats aren't visible anywhere because CS2D got new rendering bug.
Kirito2K: Well, I guess it's not something I can solve as
The Gajos said.
DC: So when this will be fixed ?
Kirito2K: He said within this week. He'll post the hot-fix to cover all known bugs include those who prevent the scripts to work properly. I talked with him about that on IRC.