ULX

Author Topic: Dedicated Server - Setting Self Admin Issue  (Read 3707 times)

0 Members and 1 Guest are viewing this topic.

Swerve

  • Guest
Dedicated Server - Setting Self Admin Issue
« on: February 22, 2007, 06:06:32 AM »
This was all copied and pasted from the console on my Dedicated Server.

Code: [Select]
] status
hostname:  Swerve's TEST Server
version : 1.0.0.0/7 2992 secure
udp/ip  :  192.168.1.114:27015
map     :  gm_construct at: 0 x, 0 y, 0 z
players :  1 (10 max)

# userid name uniqueid connected ping loss state adr
#  2 "Swerve" STEAM_0:1:13369114 03:34 31 0 active 127.0.0.1:27006
] lua_run PrintTable( ULib.ucl )
> PrintTable( ULib.ucl )...
passTimeout = function: 0254C420
addAccessCallback = function: 0254C450
checkAuth = function: 0254C408
callbacks:
1 = function: 0254C8A0
groups:
superadmin:
allow:
deny:
addUser = function: 0254C3A8
awaitingauth:
addGroup = function: 0254C390
authed:
Player [1][Swerve]:
deny:
type = steamid
groups:
1 = superadmin
account = Swerve
id = STEAM_0:1:13369114
allow:
uniqueid = 3650419666
users:
Swerve:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:13369114
pass =
allow:
query = function: 0254C468
removeUser = function: 0254C3C0
probe = function: 0254C3D8
checkPass = function: 0254C3F0
callCallbacks = function: 0254C438
] lua_run PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )
> PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )...
admin:
superadmin:

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Dedicated Server - Setting Self Admin Issue
« Reply #1 on: February 22, 2007, 10:09:31 AM »
What's the problem? You're authed as a superadmin.
Experiencing God's grace one day at a time.

Swerve

  • Guest
Re: Dedicated Server - Setting Self Admin Issue
« Reply #2 on: February 23, 2007, 09:05:07 AM »
When i ry to do an admin command i just get "You do not have access to this command, Swerve"

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Dedicated Server - Setting Self Admin Issue
« Reply #3 on: February 23, 2007, 10:11:31 AM »
Are there any errors on startup (CLIENT or SERVER side)? Barring some conflict or misconfiguration I can't see any way that this would happen. Except maybe the access variables not being definde. Have you edited any of the lua files?
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Swerve

  • Guest
Re: Dedicated Server - Setting Self Admin Issue
« Reply #4 on: February 23, 2007, 02:50:59 PM »
Nope, But when i try to do the adduser command i get some error in a file on line 154 or something..

I will look into it tomorrow, Right now i need to sleep.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Dedicated Server - Setting Self Admin Issue
« Reply #5 on: February 23, 2007, 05:23:06 PM »
A quick check to ensure the defines are getting set.
run this in SERVER console:
Code: [Select]
lua_run print(ULib.ACCESS_SUPERADMIN)and make sure it prints superadmin.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Swerve

  • Guest
Re: Dedicated Server - Setting Self Admin Issue
« Reply #6 on: February 24, 2007, 01:56:14 AM »
Code: [Select]
] lua_run print(ULib.ACCESS_SUPERADMIN)
> print(ULib.ACCESS_SUPERADMIN)...
superadmin

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Dedicated Server - Setting Self Admin Issue
« Reply #7 on: February 24, 2007, 01:59:48 AM »
Ok, so at least we know the defines are loading properly. It's 4 in the morning here right now, so I'll try to get back to you with more help tomorrow sometime.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Dedicated Server - Setting Self Admin Issue
« Reply #8 on: February 24, 2007, 10:12:23 AM »
Swerve,
 What command(s) have you tried?
Have you tried them in just console "ulx blah", in just chat "!blah", or both?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Swerve

  • Guest
Re: Dedicated Server - Setting Self Admin Issue
« Reply #9 on: February 28, 2007, 10:21:48 AM »
I have tried the !ragdoll !god commands and more, And it wasn't working. But it seems it was just some corrupt files, I found it strange how they were corrupt the first 2 times though...Works fine now, Thanks for your time.