Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Liquid Obsidian on March 01, 2015, 05:50:43 PM
-
CODE:
if SERVER then
timer.Simple(1, function()
ULib.ucl.registerAccess("pickupothers_props", "admin", "Permission to pickup players props", "Liquid Obsidian" )
ULib.ucl.registerAccess("pickupothers_vehicles", "admin", "Permission to pickup players vehicles", "Liquid Obsidian" )
end)
end
I have pinpointed that this section of the code is causing 2 of the same errors everytime a player joins, or is assigned any kind of ULX rank or permission.
It happens to other players but not me?
ERROR:
[ERROR] lua/includes/extensions/table.lua:51: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Empty - lua/includes/extensions/table.lua:51
3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:421
4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
5. unknown - lua/includes/modules/net.lua:32
-
Are you running _latest_ code from our Github? If not, make sure you update.
I also question your example codeblock actually being problem point, as that code only runs in 'server', but, all errors indicate client side issues and or files. (cl_init, xgui_client )
-
Hmm, that is a very odd error indeed. Nothing jumps out at me as being a possible cause, even when looking through the relevant code chunks. Since you're erroring on the XGUI data passing, I'll ask Stickly Man (the XGUI developer) to take a look.
-
Talked to Liquid Obsidian on steam- he said this issue was resolved. It was caused by FAdmin interfering with the permission libraries or something.
However, I think that unrelated lua error is some kind of race condition with how XGUI handles server->client data, so I've gone ahead and pushed a symptom fix that should at least prevent any major errors in the future.
-
Thank you Stickly Man!
And, imagine that, Another admin mod causing a conflict that we specifically ask people not to combine admin mods.
We've NOTHING against other admin mods.
Many just conflict. Too many cooks in the kitchen trying to share the same ingredients.