Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Dallas2112 on January 21, 2015, 11:37:02 PM
-
I just put ULX on my server about a week ago and ran into a few problems but didn't really care for them until I went to add new admins and change their permissions. Every time the server changes map or restarts everything resets except for the superadmins I manually put into the user.txt file at <gmod>/settings/user.txt. Since then I've re-installed ULX and am still getting the same results.
I did the ulx debuginfo command and here is what I got.
[ERROR] addons/ulx/lua/ulx/modules/sh/util.lua:251: bad argument #1 to 'KeyValuesToTable' (string expected, got nil)
1. KeyValuesToTable - [C]:-1
2. call - addons/ulx/lua/ulx/modules/sh/util.lua:251
3. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
4. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
5. unknown - lua/includes/modules/concommand.lua:69
[ERROR] addons/ulx/lua/ulx/modules/sh/util.lua:251: bad argument #1 to 'KeyValuesToTable' (string expected, got nil)
1. KeyValuesToTable - [C]:-1
2. call - addons/ulx/lua/ulx/modules/sh/util.lua:251
3. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
4. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
5. unknown - lua/includes/modules/concommand.lua:69
Failed to write received file 'user_custom/18/183c95c6.dat'!
Went through and everything has write permission on the server so I really don't know whats wrong. Also when I reinstalled ULX the <gmod>/settings/user.txt has yet to show up.
-
With ULX there is no need to modify data files from ULib, GMod, etc. The "Groups" tab in XGUI has a groups management system for a reason.
-
I know that's what I did first. It never works it always erases what I do at a map change.
-
Bytewave, his way is perfectly acceptable for the host. It's kind of a guaranteed method when done correctly.
Dallas,
HOWEVER, incorrectly modifying Gmod's file could be causing your issue. Syntax is important.
Or you're running DarkRP (with Fadmin or another conflicting admin mod), which we have 10s if not 100s of posts explaining this to others
OR you are trying to use our old "release" version of, or worse, some 3rd party release of old, ULib/ULX code (get the one from our Github site, linked from our ulyssesmod.net/downloads page) (We're trying to make a new release, we promise)
OR addons that are conflicting with group access.
OR Any combo of the above.
-
our old "release" version
Why don't you just remove the old one off the site so only the github version is the available option?
-
I run a TTT server and the only extent of what I've modified I only did what was instructed to do here. (http://forums.ulyssesmod.net/index.php/topic,383.0.html)
-
Why don't you just remove the old one off the site so only the github version is the available option?
Because that's not how we choose to operate, and is overall a terrible idea -- one should not mix experimental code with release code. Though, we do need to update our release version...
-
I get the SVN version and uploaded it to my server. At this point I'm wondering if its a server side problem. It's a fresh install so none of the files are modified.
-
Dallas, It's possible. Are you running Sandbox? Or DarkRP like I asked? (which has known conflicts with Ulib)
Also, you mention "when I reinstalled ULX the <gmod>/settings/user.txt has yet to show up"
What do you mean by that? You create that file (as you stated you did) if it's not already there.
ULib/other lua can't write to gmod/settings, we only try to create gmod/data/ULib/*files* and gmod/data/ulx/*files*
-
No, I'm running TTT
Edited.
ULib/other lua can't write to gmod/settings, we only try to create gmod/data/ULib/*files* and gmod/data/ulx/*files*
Sorry that just got me thinking and it fixed it... I didn't give my server write permissions to <gmod>/data
so I changed the permissions and restarted the server. Once again added myself to superadmin and switched the map this time I stayed superadmin.
-
Make sure your server user can write to gmod/server.db too. Lots of gmod data stored there.
-
Will do thank you.