Author Topic: Command "ulx usermanagementhelp" is not working.  (Read 11002 times)

0 Members and 1 Guest are viewing this topic.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Command "ulx usermanagementhelp" is not working.
« on: November 20, 2007, 07:46:18 PM »
Whenever I type that into the console, I keep receiving this error message:
includes/modules/usermessage.lua:43: attempt to call field 'Function' (a nil value).
Is anyone else getting this problem and how do I fix it? I have already reinstalled Garrysmod several times. Is it a conflict with a mod?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Command "ulx usermanagementhelp" is not working.
« Reply #1 on: November 21, 2007, 12:43:30 AM »
I get it too.. It seems that if you run that on a client (Which you need to doto use some commands) you get this error message... However IF you really want to read what it has to say, run it on your console.. if you dont have direct access to it, 'ulx rcon ulx usermanagementhelp' will work fine

even though you are getting the error, it is setting the flags in your name to allow you to use the adduser command.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Command "ulx usermanagementhelp" is not working.
« Reply #2 on: November 21, 2007, 06:52:16 AM »
I'm unable to replicate this error...
Experiencing God's grace one day at a time.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #3 on: November 21, 2007, 08:06:40 AM »
What does it show you anyways? Is it useful?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Command "ulx usermanagementhelp" is not working.
« Reply #4 on: November 21, 2007, 09:04:49 AM »
What does it show you anyways? Is it useful?

Yes. It explains how to deal with users and groups.
Experiencing God's grace one day at a time.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #5 on: November 21, 2007, 03:08:09 PM »
Even with ulx rcon, it still doens't work. This is with a fresh new copy of GMod and ULX being the first and only thing installed.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Command "ulx usermanagementhelp" is not working.
« Reply #6 on: November 21, 2007, 05:46:07 PM »
It wouldn't work with ulx rcon anyways, not what it was meant to do.
Experiencing God's grace one day at a time.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #7 on: November 21, 2007, 08:29:24 PM »
I would really like this to work, will this be fixed in the next version of ULX?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Command "ulx usermanagementhelp" is not working.
« Reply #8 on: November 21, 2007, 09:41:22 PM »
I would really like this to work, will this be fixed in the next version of ULX?

In order to fix it, I have to know what's causing your problem.
Experiencing God's grace one day at a time.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #9 on: November 21, 2007, 10:50:43 PM »
What do you mean? I reinstalled GMod COMPLETELY and just installed ULX. Ran the server, still got this error message:
includes/modules/usermessage.lua:43: attempt to call field 'Function' (a nil value)
Also, I noticed you can't ragdoll yourself and spectate someone else at the same time.
« Last Edit: November 21, 2007, 11:15:40 PM by DrFire »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Command "ulx usermanagementhelp" is not working.
« Reply #10 on: November 22, 2007, 12:21:22 AM »
Code: [Select]
02:22:26 (ADMIN) (Console) ran rcon command: ulx usermanagementhelp
         
         
         General User Management Concepts:
         User access is driven by ULib's Ulysses Control List (UCL). This list contains users and groups,
         both have allow and deny lists. The allow and deny lists contain access strings like "ulx slap" or
         "ulx phygunplayer" to show what a user and/or group does and does not have access to. If a user has
         "ulx slap" in their user allow list or in the allow list of one of the groups they belong to, they
         have access to slap. If a user has "ulx slap" in their user DENY list or in the deny list of one of
         the groups they belong to, they are DENIED the command, even if they have the command in one of
         their allow lists. In this way, deny takes precedence over allow.
         
         You cannot modify the superadmin group or any superadmin users from a client that isn't the listen
         server host. This is a built in safety feature to ensure that their are no attempts at takeovers.
         You can, however, modify the group and users from a listen server host or a dedicated console.
         
         ULib supports admin immunity. This makes it so lower admins cannot target users with immunity. (IE,
         peons can't kick the superadmin) However, some admins can overcome immunity (by default, all
         superadmins can do this). In this way, superadmin can still kick peons with immunity.
         
         
         More Advanced Concepts:
         "immunity" is the access string used for immunity, "overcomeimmunity" is the access string used for
         overcoming immunity. By default, superadmins have access to "overcomeimmunity".
         
         Groups have inheritance. You can specify what group they inherit from in the addgroup command. If a
         user is in a group that has inheritance, UCL will check all groups connected in the inheritance
         chain. But, please note that it only checks for ALLOWS in the inherited groups and ignores DENIES.
         
         If you want to add a user to more than one group or add more than one group into another group's
         inheritance, you'll need to modify the garrysmod/data/ULib/groups.txt and/or data/ULib/users.txt
         file(s) by hand; these commands do not support doing that.
         
         
         User Management Commands:
         ulx adduser <user> <group> [<immunity>] - Add the specified CONNECTED player to the specified group
           with or without immunity. This command will give the user PERMANENT access, so please be careful!
         The group MUST exist for this command to succeed. Use operator, admin, superadmin, or see ulx
         addgroup. You can only specify one group. See above for explanation on immunity.
         Ex 1. ulx adduser "Someguy" superadmin 1  -- This will add the user "Someguy" to the group
           superadmin with immunity
         Ex 2. ulx adduser "Dood" monkey           -- This will add the user "Dood" to the group monkey
           without immunity, on the condition that the group exists
         
         ulx removeuser <user> - Remove the specified CONNECTED player from the permanent access list.
         Ex 1. ulx removeuser "Foo bar"            -- This removes the user "Foo bar" forever
         
         ulx userallow <user> <access> [<revoke>] - Puts (or removes) the access on the USER'S ALLOW list.
           If revoke is "1", it removes.
         See above for explanation of allow list vs. deny list, as well as how access strings work.
         Ex 1. ulx userallow "Pi" "ulx slap"       -- This grants the user "Pi" access to "ulx slap"
         Ex 1. ulx userallow "Pi" "ulx slap" 1     -- This revokes user "Pi"'s access to "ulx slap"
         
         ulx userdeny <user> <access> [<revoke>] - Puts (or removes) the access on the USER'S DENY list.
           If revoke is "1", it removes.
         See above for explanation of allow list vs. deny list, as well as how access strings work.
         Ex 1. ulx userdeny "Bob" "ulx slap"       -- This restricts the user "Pi" access to "ulx slap"
         Ex 1. ulx userdeny "Bob" "ulx slap" 1     -- This revokes the user "Pi"'s restriction to "ulx slap"
           (but they won't necessarily have access to it)
         
         ulx addgroup <group> [<inherit_from>] - Creates a group, optionally inheriting from the specified
           group. See above for explanation on inheritance.
         
         ulx removegroup <group> - Removes a group PERMANENTLY. Also removes the group from all connected
           users and all users who connect in the future. If a user has no group besides this, they will
           become guests. Please be VERY careful with this command!
         
         ulx groupallow <group> <access> [<revoke>] - Puts (or removes) the access on the GROUP'S ALLOW
           list. If revoke is "1", it removes. See above for explanation of allow list vs. deny list, as
           well as how access strings work.
         
         ulx groupdeny <group> <access> [<revoke>] - Puts (or removes) the access on the GROUP'S DENY list.
           If revoke is "1", it removes. See above for explanation of allow list vs. deny list, as well as
           how access strings work.

if you do it in your console it'll echo, or at least, it does for me.

Since I get the error too, I'll see if I can get you some information Meg.. no promises though.. =)

Sorry.. I was getting myself confused.. ulx rcon usermanagement help will not show you the help file, but rcon ulx usermanagementhelp will
You just need to know your rcon password and make sure its input so you dont get yourself banned form your server =)

Also, Megiddo, I do get the same error when I just try to type it in my console. There are no other errors, and nothing else is wrong as far as I know. I'll jump on my other server and see if it does it there too.. one sec.. err.. never updated ULX on that server ;-) that one just tells me the command doesn't exist. Sorry I couldn't be more help.

« Last Edit: November 22, 2007, 12:29:18 AM by zakap »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Command "ulx usermanagementhelp" is not working.
« Reply #11 on: November 22, 2007, 12:45:34 AM »
Code: [Select]
02:22:26 (ADMIN) (Console) ran rcon command: ulx usermanagementhelp
         
         
         General User Management Concepts:
         User access is driven by ULib's Ulysses Control List (UCL). This list contains users and groups,
         both have allow and deny lists. The allow and deny lists contain access strings like "ulx slap" or
         "ulx phygunplayer" to show what a user and/or group does and does not have access to. If a user has
         "ulx slap" in their user allow list or in the allow list of one of the groups they belong to, they
         have access to slap. If a user has "ulx slap" in their user DENY list or in the deny list of one of
         the groups they belong to, they are DENIED the command, even if they have the command in one of
         their allow lists. In this way, deny takes precedence over allow.
         
         You cannot modify the superadmin group or any superadmin users from a client that isn't the listen
         server host. This is a built in safety feature to ensure that their are no attempts at takeovers.
         You can, however, modify the group and users from a listen server host or a dedicated console.
         
         ULib supports admin immunity. This makes it so lower admins cannot target users with immunity. (IE,
         peons can't kick the superadmin) However, some admins can overcome immunity (by default, all
         superadmins can do this). In this way, superadmin can still kick peons with immunity.
         
         
         More Advanced Concepts:
         "immunity" is the access string used for immunity, "overcomeimmunity" is the access string used for
         overcoming immunity. By default, superadmins have access to "overcomeimmunity".
         
         Groups have inheritance. You can specify what group they inherit from in the addgroup command. If a
         user is in a group that has inheritance, UCL will check all groups connected in the inheritance
         chain. But, please note that it only checks for ALLOWS in the inherited groups and ignores DENIES.
         
         If you want to add a user to more than one group or add more than one group into another group's
         inheritance, you'll need to modify the garrysmod/data/ULib/groups.txt and/or data/ULib/users.txt
         file(s) by hand; these commands do not support doing that.
         
         
         User Management Commands:
         ulx adduser <user> <group> [<immunity>] - Add the specified CONNECTED player to the specified group
           with or without immunity. This command will give the user PERMANENT access, so please be careful!
         The group MUST exist for this command to succeed. Use operator, admin, superadmin, or see ulx
         addgroup. You can only specify one group. See above for explanation on immunity.
         Ex 1. ulx adduser "Someguy" superadmin 1  -- This will add the user "Someguy" to the group
           superadmin with immunity
         Ex 2. ulx adduser "Dood" monkey           -- This will add the user "Dood" to the group monkey
           without immunity, on the condition that the group exists
         
         ulx removeuser <user> - Remove the specified CONNECTED player from the permanent access list.
         Ex 1. ulx removeuser "Foo bar"            -- This removes the user "Foo bar" forever
         
         ulx userallow <user> <access> [<revoke>] - Puts (or removes) the access on the USER'S ALLOW list.
           If revoke is "1", it removes.
         See above for explanation of allow list vs. deny list, as well as how access strings work.
         Ex 1. ulx userallow "Pi" "ulx slap"       -- This grants the user "Pi" access to "ulx slap"
         Ex 1. ulx userallow "Pi" "ulx slap" 1     -- This revokes user "Pi"'s access to "ulx slap"
         
         ulx userdeny <user> <access> [<revoke>] - Puts (or removes) the access on the USER'S DENY list.
           If revoke is "1", it removes.
         See above for explanation of allow list vs. deny list, as well as how access strings work.
         Ex 1. ulx userdeny "Bob" "ulx slap"       -- This restricts the user "Pi" access to "ulx slap"
         Ex 1. ulx userdeny "Bob" "ulx slap" 1     -- This revokes the user "Pi"'s restriction to "ulx slap"
           (but they won't necessarily have access to it)
         
         ulx addgroup <group> [<inherit_from>] - Creates a group, optionally inheriting from the specified
           group. See above for explanation on inheritance.
         
         ulx removegroup <group> - Removes a group PERMANENTLY. Also removes the group from all connected
           users and all users who connect in the future. If a user has no group besides this, they will
           become guests. Please be VERY careful with this command!
         
         ulx groupallow <group> <access> [<revoke>] - Puts (or removes) the access on the GROUP'S ALLOW
           list. If revoke is "1", it removes. See above for explanation of allow list vs. deny list, as
           well as how access strings work.
         
         ulx groupdeny <group> <access> [<revoke>] - Puts (or removes) the access on the GROUP'S DENY list.
           If revoke is "1", it removes. See above for explanation of allow list vs. deny list, as well as
           how access strings work.

if you do it in your console it'll echo, or at least, it does for me.

Since I get the error too, I'll see if I can get you some information Meg.. no promises though.. =)

Sorry.. I was getting myself confused.. ulx rcon usermanagement help will not show you the help file, but rcon ulx usermanagementhelp will
You just need to know your rcon password and make sure its input so you dont get yourself banned form your server =)

Also, Megiddo, I do get the same error when I just try to type it in my console. There are no other errors, and nothing else is wrong as far as I know. I'll jump on my other server and see if it does it there too.. one sec.. err.. never updated ULX on that server ;-) that one just tells me the command doesn't exist. Sorry I couldn't be more help.



Hmm, I'll try doing a reinstall and see what happens.
Experiencing God's grace one day at a time.

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #12 on: November 22, 2007, 11:17:18 AM »
Thanks, both of you  :)! Oh, I'm hosting a listen server by the way.
« Last Edit: November 22, 2007, 05:30:34 PM by DrFire »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Command "ulx usermanagementhelp" is not working.
« Reply #13 on: November 22, 2007, 06:08:11 PM »
Yeah, I'm running a dedicated, so I dont think that has anything to do with it.

I'm also assuming you are running a SVN version of ULX?

It's probably nothing.. Meg probably just forgot to uncomment a line or add a semicolon somewhere =)

 ;D ;D ;D ;) ;) ;D ;D ;D ;D ;D ;D ;D ;D :D :D :D :D :D ;) ;) ;)

Offline DrFire

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Command "ulx usermanagementhelp" is not working.
« Reply #14 on: November 23, 2007, 12:51:04 PM »
I tried both SVN and the installer. Both have the same problem  :-\.