Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: sweetfoo on April 15, 2016, 04:18:59 AM

Title: LUA error after any players are added to groups
Post by: sweetfoo on April 15, 2016, 04:18:59 AM
UPDATE: I noticed UTime no longer worked and figured out that the error itself is caused by the APromote addon, but UTime is still not working and I'd still appreciate any insight as to why UTime/APromote is giving this error and not functioning properly.

I know that ULX and ULib are in stable versions, so I suppose I'm just asking for help troubleshooting.
To expand on the issue I'm having: the error below occurs every time a player joins the server, but only when players are written to usergroups. I've gone and removed addons one by one to see if it was a compatibility issue, I've deleted both ULX and ULib data folders and tried reinstalling both addons. Any ideas?


Code: [Select]
[ERROR] lua/includes/extensions/table.lua:50: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. Empty - lua/includes/extensions/table.lua:50
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:464
     4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      5. unknown - lua/includes/extensions/net.lua:32

Title: Re: LUA error after any players are added to groups
Post by: roastchicken on April 15, 2016, 05:08:56 AM
Do you have the latest version of UTime?

Do you have the latest version of Autopromote?

I have both on my server and they work fine.
Title: Re: LUA error after any players are added to groups
Post by: Megiddo on April 18, 2016, 03:58:16 PM
If you run UTime alone, do you still have issues?
Title: Re: LUA error after any players are added to groups
Post by: sweetfoo on April 20, 2016, 02:10:47 AM
Thanks for responding! Sorry I went away for a bit.
 
I made sure everything was updated before calling it quits.
UTime doesn't seem to work on it's own but doesn't return any errors. I suppose that means UTime is what's causing this issue, since APromote runs off of it. I'll have another look over potential incompatibilities and server config, but if you guys have any clues please let me know
Title: Re: LUA error after any players are added to groups
Post by: roastchicken on April 20, 2016, 08:03:45 AM
I would suggest deleting and re-download (http://ulyssesmod.net/archive/Utime/Utime-v1_44.zip)ing the UTime addon folder (garrysmod/addons/utime) and seeing if it works after doing so.

My habit of skimming over posts has come back to bite me.

The only thing I can think of is you're not really getting the latest versions. Are you installing ULib/ULX from your host? If you are, it is likely that they are providing an outdated version.

Can you run "ulx version" in your console and post the results here?