ULX

Author Topic: users unassigned  (Read 3681 times)

0 Members and 1 Guest are viewing this topic.

Offline Kenny_

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
users unassigned
« on: August 27, 2009, 03:36:17 PM »
I updated ULX and ULib to the latest SVN version and when users join their group is unassigned. If an admin uses a command on a user it doesn't work and shows this in the console:

Quote
Lua Error: ERROR: Hook 'UPSPlayerDisconnected' Failed: ULib/shared/sh_ucl.lua:281: Invalid group ()
15:29:49 L 08/27/2009 - 17:29:54: Lua Error: Removing Hook 'UPSPlayerDisconnected'
15:29:49 L 08/27/2009 - 17:29:54: Lua Error: ERROR: Hook 'ulxSlotsDisconnect' Failed: ULib/shared/sh_ucl.lua:58: [ULib] Player TheCheezBurgalr has an invalid group (), aborting. Please be careful when modifying the ULib files!
15:29:49 L 08/27/2009 - 17:29:54: Lua Error: Removing Hook 'ulxSlotsDisconnect'

I tried using ulx debuginfo and the console shows this:
Quote
15:31:38 L 08/27/2009 - 17:31:43: Lua Error: ulx\modules/util.lua:327: bad argument #1 to 'KeyValuesToTable' (string expected, got no value)
15:31:38 L 08/27/2009 - 17:31:43: rcon from "68.224.59.39:65412": command "ulx debuginfo"
15:31:38 L 08/27/2009 - 17:31:43: Lua Error: ulx\modules/util.lua:327: bad argument #1 to 'KeyValuesToTable' (string expected, got no value)ulx\modules/util.lua:327: bad argument #1 to 'KeyValuesToTable' (string expected, got no value)

The only change that I make was replacing ! with /.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: users unassigned
« Reply #1 on: August 27, 2009, 03:57:18 PM »
Replaced ! with / where?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Kenny_

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
Re: users unassigned
« Reply #2 on: August 27, 2009, 07:44:04 PM »
I only replaced it before the commands.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: users unassigned
« Reply #3 on: August 27, 2009, 08:00:10 PM »
The groups.txt file you were using may have not been standard, or got corrupted during the convert to the new UCL system.
See http://forums.ulyssesmod.net/index.php/topic,4134.0.html

For now, backup and then delete your gmod/data/ulib/groups.txt and misc_registered.txt files.
Make sure you're superadmin in the standard gmod/settings/users.txt, then start your server back up.
See if you get errors.

It's possible you messed up an edit somewhere. (then again, its SVN, and possible we messed up somewhere, but, its hard to troubleshoot when our beta code has been edited to fit one's own needs - legal, sure, but still difficult)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Kenny_

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
Re: users unassigned
« Reply #4 on: August 29, 2009, 01:22:54 AM »
That fixed it, thanks.  ;D