ULX

Author Topic: ULX problems  (Read 3965 times)

0 Members and 1 Guest are viewing this topic.

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
ULX problems
« 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.

Code: [Select]
[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.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX problems
« Reply #1 on: January 22, 2015, 05:38:06 AM »
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.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ULX problems
« Reply #2 on: January 22, 2015, 08:47:48 AM »
I know that's what I did first. It never works it always erases what I do at a map change.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX problems
« Reply #3 on: January 22, 2015, 03:27:33 PM »
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.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: ULX problems
« Reply #4 on: January 22, 2015, 03:56:02 PM »
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?
Once you get to know me, you'll find you'll have never met me at all.

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ULX problems
« Reply #5 on: January 22, 2015, 04:25:37 PM »
I run a TTT server and the only extent of what I've modified I only did what was instructed to do here.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX problems
« Reply #6 on: January 22, 2015, 06:03:05 PM »
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...
Experiencing God's grace one day at a time.

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ULX problems
« Reply #7 on: January 22, 2015, 06:51:03 PM »
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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX problems
« Reply #8 on: January 22, 2015, 07:17:38 PM »
Dallas, It's possible. Are you running Sandbox? Or DarkRP like I asked? (which has known conflicts with Ulib)

Also, you mention
Quote
"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*




"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ULX problems
« Reply #9 on: January 22, 2015, 09:02:31 PM »
No, I'm running TTT

Edited.

Quote
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.
« Last Edit: January 22, 2015, 09:11:21 PM by Dallas2112 »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX problems
« Reply #10 on: January 23, 2015, 02:38:59 PM »
Make sure your server user can write to gmod/server.db too. Lots of gmod data stored there.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Dallas2112

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ULX problems
« Reply #11 on: January 23, 2015, 09:56:38 PM »
Will do thank you.