ULX

Author Topic: Im admin but cant do commands. groups?  (Read 4813 times)

0 Members and 1 Guest are viewing this topic.

Dr. Jon

  • Guest
Im admin but cant do commands. groups?
« on: March 24, 2007, 08:21:39 PM »
Hi...

I'm using ULX version 3_02 and ULIB version 2_03

Im using this on a dedicated server.


Ok the Problem is that I type (in server console) ulx adduser "<my name>" "superadmin" and it says I was added to the list or somthing (like usual) but when I do a command I get the "You have no access" thing. I looked in the users.txt file and saw my name, but under groups.txt there was nothing (as in it was empty). If someone could tell me what to put in the groups.txt file that might work :/

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Im admin but cant do commands. groups?
« Reply #1 on: March 24, 2007, 09:09:48 PM »
Please read the sticky. Thanks!
Experiencing God's grace one day at a time.

jon

  • Guest
Re: Im admin but cant do commands. groups?
« Reply #2 on: March 25, 2007, 11:47:48 AM »
Please read the sticky. Thanks!

Already did....dosn't help.....

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Im admin but cant do commands. groups?
« Reply #3 on: March 25, 2007, 11:53:01 AM »
It asks you to give us information in order to help you.
Experiencing God's grace one day at a time.

jon

  • Guest
Re: Im admin but cant do commands. groups?
« Reply #4 on: March 25, 2007, 12:06:46 PM »
I cant do that printtable thing in console yet cause of "software malfuctions" but maybe in like 30 min

Dr. Jon

  • Guest
Re: Im admin but cant do commands. groups?
« Reply #5 on: March 25, 2007, 03:56:42 PM »
hostname:  DJ's Pub *Dedicated*
version : 1.0.0.0/7 3048 secure
udp/ip  :  75.45.180.43:27015
map     :  freespace06_v2-1 at: 0 x, 0 y, 0 z
players :  0 (14 max)

# userid name uniqueid connected ping loss state adr
] lua_run PrintTable( ULib.ucl )
> PrintTable( ULib.ucl )...
passTimeout   =   function: 02517B20
addAccessCallback   =   function: 02517B50
checkAuth   =   function: 02517B08
callbacks:
      1   =   function: 02517FD0
groups:
      dr. jon:
            allow:
            deny:
      superadmin:
            allow:
            deny:
      admin:
            allow:
            deny:
      immunity:
            allow:
            deny:
addUser   =   function: 02517AA8
awaitingauth:
addGroup   =   function: 02517A90
authed:
      Player [NULL]:
            deny:
            type   =   steamid
            groups:
                  1   =   admin
            account   =   dr. jon
            id   =   STEAM_0:0:8600538
            allow:
            uniqueid   =   1316078372
users:
      dr. jon:
            deny:
            type   =   steamid
            groups:
                  1   =   superadmin
                  2   =   immunity
            id   =   STEAM_0:0:8600538
            pass   =   
            allow:
query   =   function: 02517B68
removeUser   =   function: 02517AC0
probe   =   function: 02517AD8
checkPass   =   function: 02517AF0
callCallbacks   =   function: 02517B38
] lua_run PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )
> PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )...
dr. jon   =   STEAM_0:0:8600538
superadmin:
      dr. jon   =   STEAM_0:0:8600538
admin:

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Im admin but cant do commands. groups?
« Reply #6 on: March 25, 2007, 04:15:31 PM »
Redo these outputs while you're connected to the server, as the sticky requests.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Im admin but cant do commands. groups?
« Reply #7 on: March 25, 2007, 09:43:09 PM »
Redo these outputs while you're connected to the server, as the sticky requests.

Jon,
 I know it may seem we are being mean. We're not.
We put major time and effort into our code. We put major time into those instructions.
If you don't follow each direction, step by step, it is very difficult for us to help you.

Print it out if you have to. (Recommended so you don't have to alt-tab)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Im admin but cant do commands. groups?
« Reply #8 on: March 26, 2007, 02:25:26 PM »
After you add yourself to be a superadmin you the client must reconnect to the server to get your access.

Offline DannyMartinez

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Im admin but cant do commands. groups?
« Reply #9 on: April 05, 2007, 07:46:11 PM »
U put in consle ulx adduser <name> superadmin 1