ULX

Author Topic: Request for admin groups  (Read 10077 times)

0 Members and 3 Guests are viewing this topic.

Offline Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: Request for admin groups
« Reply #15 on: July 31, 2007, 06:44:10 AM »
My server has been brought from invision-gaming.com so I don't think my server is the only GMOD server running off it.
ULib 2.05
ULX 3.11
Description of my symptoms:
Group superadmin = works fine
administrator = does not work
supermoderator = does not work
moderator = does not work

Look at my previous post to see my users.txt and my groups.txt .


RCON COMMANDS TO BE ENTERED:
]status
Results:
hostname: -CO- www.CounterOperations.com --> RolePlay Server
version : 1.0.0.0/7 3152 secure
udp/ip : 77.74.197.228:27015
map : RP_HomeTown2000 at: 0 x, 0 y, 0 z
players : 5 (16 max)

# userid name uniqueid connected ping loss state adr
# 2 "Gmod player" STEAM_0:0:10456641 02:41 92 0 active 85.29.68.175:27005
# 3 "Black Tower" STEAM_0:0:11898409 02:40 63 0 active 81.149.139.47:27005
# 4 "2shade" STEAM_0:0:5062832 02:40 68 0 active 80.132.149.194:32948
# 5 "Redrum Lewis" STEAM_0:1:2781740 02:36 80 0 active 172.188.38.225:27005
# 6 "liquid snake" STEAM_0:1:13990747 02:32 65 0 active 86.152.193.24:27005
_____

] ulx luarun PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )
Results:
(ADMIN) (Console) ran lua_run: PrintTable ( util.KeyValuesToTable ( file.Read ( ../settings/users.txt ) ) )
> PrintTable ( util.KeyValuesToTable ( file.Read ( ../settings/users.txt ) ) )...
SERVER: Error running string:
SERVER: stdin:1: unexpected symbol near '..'

____

You said i needed to run these commands. but i didn't know if i needed to do it on "Redrum" as a member of each group or just once. So i did.
underneth. I did the command when he was a superadmin (superadmin works fine), administrator, supermoderator and moderator.

] ulx luarun PrintTable( ULib.ucl )


When he is a superadmin:
Code: [Select]
Results:
(ADMIN) (Console) ran lua_run: PrintTable ( ULib.ucl )
> PrintTable ( ULib.ucl )...
initClient = function: 022C9B20
passTimeout = function: 022C92F8
checkPass = function: 022C9328
checkAuth = function: 022C9310
callbacks:
1 = function: 022C9B20
2 = function: 022CBF98
3 = function: 026BACDC
addGroup = function: 022C92C8
addUser = function: 022C92B0
awaitingauth:
addAccessCallback = function: 022C8AA0
authed:
Player [4][Redrum Lewis]:
deny:
type = steamid
groups:
1 = superadmin
account = redrum
id = STEAM_0:1:2781740
allow:
uniqueid = 2588102196
Player [5][Yuri Stefenberg]:
type = guest
groups:
1 = user
id =
account = Yuri Stefenberg
acl:
allow:
deny:
uniqueid = 2730563584
Player [2][Black Tower]:
type = guest
groups:
1 = user
id =
account = Black Tower
acl:
allow:
deny:
uniqueid = 1647449457
Player [3][Linda Limhoved]:
type = guest
groups:
1 = user
id =
account = Linda Limhoved
acl:
allow:
deny:
uniqueid = 2680219053
Player [1][2shade]:
type = guest
groups:
1 = user
id =
account = 2shade
acl:
allow:
deny:
uniqueid = 1246157322
users:
redrum:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:2781740
pass =
allow:
elmo:
deny:
type = steamid
groups:
1 = administrator
id = STEAM_0:0:14122588
pass =
allow:
jethro:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:11827370
pass =
allow:
query = function: 022C8A40
removeUser = function: 022C9298
probe = function: 022C92E0
groups:
administrator:
allow:
toolallow = 32
ulx votekick
= 31
ulx teleport
= 31

{
= allow
ulx tooldenyuser
= 35
unmute = 44
ulx unfreeze
= 23

{
= 1
ulx ignite
= 17
map = 12
veto = 48
ulx = ent
sslay = 30
ulx unmute
= 27
ulx sslay
= 19
ulx ragdoll
= 15
ulx whip
}
}
= supermoderator
votemap2:
ulx toolallowuser
= 33
uncloak = 38
teleport = 20
playsound = 24
jail = 10
exec = 10
ulx gimp
= 9
ghost = 8
slap = 16
spectate = 18
ulx unragdoll
= 45
ulx noclip
= 23
mute = 14
ulx unblind
= 37
1 = ulx adminmenu

3 = ulx blind

2 =
5 = ulx clientmenu

4 =
ulx slap
= 27
6 =
8 =
ulx goto
= 15
ulx kick
= 11
ulx userdeny
= 47
9 = ulx
tsay = 22
ulx mapsmenu
= 13
hp = 16
unragdoll = 28
unjail = 26
ulx tooldeny
= 21
ulx slay
= 17
ulx unjail
= 43
csay = 6
bring = 4
ungod = 42
tooldeny = 34
slay = 28
7 = ulx csay

ulx spectate
= 29
ulx ban
= 3
adminmenu = 2
ulx ungimp
= 25
god = 14
= ulx
rcon = 26
ulx vote
= 29
userallow = 46
ulx clientmenu
= 5
voteban = 30
ulx freeze
= 7
unghost = 24
deny:
superadmin:
allow:
deny:
moderator:
allow:
21 = ulx votekick
}
}
}
20 =
19 = ulx vote

18 =
9 = ulx mapsmenu

ulx = voteban
1 = ulx adminmenu

15 = ulx tsay

3 = ulx bring

2 =
5 = ulx csay

4 =
7 = ulx kick

6 =
14 =
8 =
16 =
17 = ulx unmute

13 = ulx slay

12 =
11 = ulx ragdoll

10 =
deny:
callCallbacks = function: 022C8AB8

When he is a administrator:
Code: [Select]
Results:
(ADMIN) (Console) ran lua_run: PrintTable ( ULib.ucl )
> PrintTable ( ULib.ucl )...
initClient = function: 022C9B20
passTimeout = function: 022C92F8
checkPass = function: 022C9328
checkAuth = function: 022C9310
callbacks:
1 = function: 022C9B20
2 = function: 022CBF98
3 = function: 026BACDC
addGroup = function: 022C92C8
addUser = function: 022C92B0
awaitingauth:
addAccessCallback = function: 022C8AA0
authed:
Player [2][Black Tower]:
type = guest
groups:
1 = user
id =
account = Black Tower
acl:
allow:
deny:
uniqueid = 1647449457
Player [3][Redrum Lewis]:
deny:
type = steamid
groups:
1 = administrator
account = redrum
id = STEAM_0:1:2781740
allow:
uniqueid = 2588102196
Player [1][2shade]:
type = guest
groups:
1 = user
id =
account = 2shade
acl:
allow:
deny:
uniqueid = 1246157322
users:
redrum:
deny:
type = steamid
groups:
1 = administrator
id = STEAM_0:1:2781740
pass =
allow:
elmo:
deny:
type = steamid
groups:
1 = administrator
id = STEAM_0:0:14122588
pass =
allow:
jethro:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:11827370
pass =
allow:
query = function: 022C8A40
removeUser = function: 022C9298
probe = function: 022C92E0
groups:
administrator:
allow:
toolallow = 32
ulx votekick
= 31
ulx teleport
= 31

{
= allow
ulx tooldenyuser
= 35
unmute = 44
ulx unfreeze
= 23

{
= 1
ulx ignite
= 17
map = 12
veto = 48
ulx = ent
sslay = 30
ulx unmute
= 27
ulx sslay
= 19
ulx ragdoll
= 15
ulx whip
}
}
= supermoderator
votemap2:
ulx toolallowuser
= 33
uncloak = 38
teleport = 20
playsound = 24
jail = 10
exec = 10
ulx gimp
= 9
ghost = 8
slap = 16
spectate = 18
ulx unragdoll
= 45
ulx noclip
= 23
mute = 14
ulx unblind
= 37
1 = ulx adminmenu

3 = ulx blind

2 =
5 = ulx clientmenu

4 =
ulx slap
= 27
6 =
8 =
ulx goto
= 15
ulx kick
= 11
ulx userdeny
= 47
9 = ulx
tsay = 22
ulx mapsmenu
= 13
hp = 16
unragdoll = 28
unjail = 26
ulx tooldeny
= 21
ulx slay
= 17
ulx unjail
= 43
csay = 6
bring = 4
ungod = 42
tooldeny = 34
slay = 28
7 = ulx csay

ulx spectate
= 29
ulx ban
= 3
adminmenu = 2
ulx ungimp
= 25
god = 14
= ulx
rcon = 26
ulx vote
= 29
userallow = 46
ulx clientmenu
= 5
voteban = 30
ulx freeze
= 7
unghost = 24
deny:
superadmin:
allow:
deny:
moderator:
allow:
21 = ulx votekick
}
}
}
20 =
19 = ulx vote

18 =
9 = ulx mapsmenu

ulx = voteban
1 = ulx adminmenu

15 = ulx tsay

3 = ulx bring

2 =
5 = ulx csay

4 =
7 = ulx kick

6 =
14 =
8 =
16 =
17 = ulx unmute

13 = ulx slay

12 =
11 = ulx ragdoll

10 =
deny:
callCallbacks = function: 022C8AB8

When he is a supermoderator:
Code: [Select]
Results:
(ADMIN) (Console) ran lua_run: PrintTable ( ULib.ucl )
> PrintTable ( ULib.ucl )...
initClient = function: 022C9B20
passTimeout = function: 022C92F8
checkPass = function: 022C9328
checkAuth = function: 022C9310
callbacks:
1 = function: 022C9B20
2 = function: 022CBF98
3 = function: 026BACDC
addGroup = function: 022C92C8
addUser = function: 022C92B0
awaitingauth:
addAccessCallback = function: 022C8AA0
authed:
Player [3][Redrum Lewis]:
deny:
type = steamid
groups:
1 = supermoderator
account = redrum
id = STEAM_0:1:2781740
allow:
uniqueid = 2588102196
Player [4][liquid snake]:
type = guest
groups:
1 = user
id =
account = liquid snake
acl:
allow:
deny:
uniqueid = 202302896
Player [1][Black Tower]:
type = guest
groups:
1 = user
id =
account = Black Tower
acl:
allow:
deny:
uniqueid = 1647449457
Player [5][2shade]:
type = guest
groups:
1 = user
id =
account = 2shade
acl:
allow:
deny:
uniqueid = 1246157322
Player [2][Gmod player]:
type = guest
groups:
1 = user
id =
account = Gmod player
acl:
allow:
deny:
uniqueid = 296275053
users:
redrum:
deny:
type = steamid
groups:
1 = supermoderator
id = STEAM_0:1:2781740
pass =
allow:
elmo:
deny:
type = steamid
groups:
1 = administrator
id = STEAM_0:0:14122588
pass =
allow:
jethro:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:11827370
pass =
allow:
query = function: 022C8A40
removeUser = function: 022C9298
probe = function: 022C92E0
groups:
administrator:
allow:
toolallow = 32
ulx votekick
= 31
ulx teleport
= 31

{
= allow
ulx tooldenyuser
= 35
unmute = 44
ulx unfreeze
= 23

{
= 1
ulx ignite
= 17
map = 12
veto = 48
ulx = ent
sslay = 30
ulx unmute
= 27
ulx sslay
= 19
ulx ragdoll
= 15
ulx whip
}
}
= supermoderator
votemap2:
ulx toolallowuser
= 33
uncloak = 38
teleport = 20
playsound = 24
jail = 10
exec = 10
ulx gimp
= 9
ghost = 8
slap = 16
spectate = 18
ulx unragdoll
= 45
ulx noclip
= 23
mute = 14
ulx unblind
= 37
1 = ulx adminmenu

3 = ulx blind

2 =
5 = ulx clientmenu

4 =
ulx slap
= 27
6 =
8 =
ulx goto
= 15
ulx kick
= 11
ulx userdeny
= 47
9 = ulx
tsay = 22
ulx mapsmenu
= 13
hp = 16
unragdoll = 28
unjail = 26
ulx tooldeny
= 21
ulx slay
= 17
ulx unjail
= 43
csay = 6
bring = 4
ungod = 42
tooldeny = 34
slay = 28
7 = ulx csay

ulx spectate
= 29
ulx ban
= 3
adminmenu = 2
ulx ungimp
= 25
god = 14
= ulx
rcon = 26
ulx vote
= 29
userallow = 46
ulx clientmenu
= 5
voteban = 30
ulx freeze
= 7
unghost = 24
deny:
superadmin:
allow:
deny:
supermoderator:
allow:
deny:
moderator:
allow:
21 = ulx votekick
}
}
}
20 =
19 = ulx vote

18 =
9 = ulx mapsmenu

ulx = voteban
1 = ulx adminmenu

15 = ulx tsay

3 = ulx bring

2 =
5 = ulx csay

4 =
7 = ulx kick

6 =
14 =
8 =
16 =
17 = ulx unmute

13 = ulx slay

12 =
11 = ulx ragdoll

10 =
deny:
callCallbacks = function: 022C8AB8

When he is a moderator:
Code: [Select]
Results:
(ADMIN) (Console) ran lua_run: PrintTable ( ULib.ucl )
> PrintTable ( ULib.ucl )...
initClient = function: 022C9B20
passTimeout = function: 022C92F8
checkPass = function: 022C9328
checkAuth = function: 022C9310
callbacks:
1 = function: 022C9B20
2 = function: 022CBF98
3 = function: 026BACDC
addGroup = function: 022C92C8
addUser = function: 022C92B0
awaitingauth:
addAccessCallback = function: 022C8AA0
authed:
Player [4][Redrum Lewis]:
deny:
type = steamid
groups:
1 = moderator
account = redrum
id = STEAM_0:1:2781740
allow:
uniqueid = 2588102196
Player [1][Gmod player]:
type = guest
groups:
1 = user
id =
account = Gmod player
acl:
allow:
deny:
uniqueid = 296275053
Player [3][2shade]:
type = guest
groups:
1 = user
id =
account = 2shade
acl:
allow:
deny:
uniqueid = 1246157322
Player [5][liquid snake]:
type = guest
groups:
1 = user
id =
account = liquid snake
acl:
allow:
deny:
uniqueid = 202302896
Player [2][Black Tower]:
type = guest
groups:
1 = user
id =
account = Black Tower
acl:
allow:
deny:
uniqueid = 1647449457
users:
redrum:
deny:
type = steamid
groups:
1 = moderator
id = STEAM_0:1:2781740
pass =
allow:
elmo:
deny:
type = steamid
groups:
1 = administrator
id = STEAM_0:0:14122588
pass =
allow:
jethro:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:11827370
pass =
allow:
query = function: 022C8A40
removeUser = function: 022C9298
probe = function: 022C92E0
groups:
administrator:
allow:
toolallow = 32
ulx votekick
= 31
ulx teleport
= 31

{
= allow
ulx tooldenyuser
= 35
unmute = 44
ulx unfreeze
= 23

{
= 1
ulx ignite
= 17
map = 12
veto = 48
ulx = ent
sslay = 30
ulx unmute
= 27
ulx sslay
= 19
ulx ragdoll
= 15
ulx whip
}
}
= supermoderator
votemap2:
ulx toolallowuser
= 33
uncloak = 38
teleport = 20
playsound = 24
jail = 10
exec = 10
ulx gimp
= 9
ghost = 8
slap = 16
spectate = 18
ulx unragdoll
= 45
ulx noclip
= 23
mute = 14
ulx unblind
= 37
1 = ulx adminmenu

3 = ulx blind

2 =
5 = ulx clientmenu

4 =
ulx slap
= 27
6 =
8 =
ulx goto
= 15
ulx kick
= 11
ulx userdeny
= 47
9 = ulx
tsay = 22
ulx mapsmenu
= 13
hp = 16
unragdoll = 28
unjail = 26
ulx tooldeny
= 21
ulx slay
= 17
ulx unjail
= 43
csay = 6
bring = 4
ungod = 42
tooldeny = 34
slay = 28
7 = ulx csay

ulx spectate
= 29
ulx ban
= 3
adminmenu = 2
ulx ungimp
= 25
god = 14
= ulx
rcon = 26
ulx vote
= 29
userallow = 46
ulx clientmenu
= 5
voteban = 30
ulx freeze
= 7
unghost = 24
deny:
superadmin:
allow:
deny:
moderator:
allow:
21 = ulx votekick
}
}
}
20 =
19 = ulx vote

18 =
9 = ulx mapsmenu

ulx = voteban
1 = ulx adminmenu

15 = ulx tsay

3 = ulx bring

2 =
5 = ulx csay

4 =
7 = ulx kick

6 =
14 =
8 =
16 =
17 = ulx unmute

13 = ulx slay

12 =
11 = ulx ragdoll

10 =
deny:
callCallbacks = function: 022C8AB8
[/coode]




Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Request for admin groups
« Reply #16 on: July 31, 2007, 09:02:15 AM »
You need a closing quote after every command in groups.txt
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 Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: Request for admin groups
« Reply #17 on: July 31, 2007, 11:05:37 AM »
wow.. omg :-[ thank you =).

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Request for admin groups
« Reply #18 on: July 31, 2007, 05:46:24 PM »
HAHAHAHAHA!
I'm laughing at myself. Even I missed that in the post of your groups.txt
Syntax...a coders worst nightmare
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Request for admin groups
« Reply #19 on: July 31, 2007, 06:34:38 PM »
Yeah, I didn't catch it till I noticed that the allow and deny tables looked horibly messed up in the output of PrintTable.

There's a reason I use a text editor with syntax highlighting.
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 Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: Request for admin groups
« Reply #20 on: August 09, 2007, 12:22:53 PM »
I have the same problem; Maybe it wasn't fixed. Redrum from group Administrators told me that he had no Admin when he tryed.

My garrysmod/settings/users.txt
Code: [Select]
"Users"
{
//
// This is your users file
//
// You can use this file to add people as admins on your server
// Add them to the relevant section
//
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
//

"admin"
{
"Elmo" "STEAM_0:0:14122588"
}
"superadmin"
{
"Jethro" "STEAM_0:1:11827370"
}
"admin"
{
"Redrum" "STEAM_0:1:2781740"
}


}

My server has been brought from invision-gaming.com so I don't think my server is the only GMOD server running off it.
ULib 2.05
ULX 3.11
Description of my symptoms:
Groups
superadmin = works fine
administrator = does not work

garrysmod/data/Ulib/users.txt

Code: [Select]
"Out"
{
"Redrum"
{
"type" "steamid"
"groups"
{
"1" "administrator"
}
"id" "STEAM_0:1:2781740"
}
"Elmo"
{
"id" "STEAM_0:0:14122588"
"type" "steamid"
"groups"
{
"1" "administrator"
}
}
"Jethro"
{
"id" "STEAM_0:1:11827370"
"type" "steamid"
"groups"
{
"1" "superadmin"
}
}
}


garrysmod/data/Ulib/groups.txt
Code: [Select]
"Out"
{
     "superadmin"
     {
     }
     "administrator"
     {
           "allow"
           {
          "1" "ulx adminmenu"
          "2" "ulx ban"
          "3" "ulx blind"
          "4" "ulx bring"
          "5" "ulx clientmenu"
          "6" "ulx cloak"
          "7" "ulx csay"
          "8" "ulx ent"
          "9 "ulx exec"
          "10" "ulx freeze"
          "11" "ulx ghost"
          "12" "ulx gimp"
          "13" "ulx god"
          "14" "ulx goto"
          "15" "ulx hp"
          "16" "ulx ignite"
          "17" "ulx jail"
          "18" "ulx kick"
          "19" "ulx map"
          "20" "ulx mapsmenu"
          "21" "ulx mute"
          "22" "ulx noclip"
          "23" "ulx playsound"
          "24" "ulx ragdoll"
          "25" "ulx rcon"
          "26" "ulx slap"
          "27" "ulx slay"
          "28" "ulx spectate"
          "29" "ulx sslay"
          "30" "ulx teleport"
          "31" "ulx toolallow"
          "32" "ulx toolallowuser"
          "33" "ulx tooldeny"
          "34" "ulx tooldenyuser"
          "35" "ulx tsay"
          "36" "ulx unblind"
          "37" "ulx uncloak"
          "38" "ulx unfreeze"
          "39" "ulx unghost"
          "40" "ulx ungimp"
          "41" "ulx ungod"
          "42" "ulx unjail"
          "43" "ulx unmute"
          "44" "ulx unragdoll"
          "45" "ulx userallow"
          "46" "ulx userdeny"
          "47" "ulx veto"
          "48" "ulx vote"
          "49" "ulx voteban"
          "50" "ulx votekick"
          "51" "ulx votemap2"
          "52" "ulx whip"
           }
     }
     "supermoderator"
     {
           "allow"
           {
          "1" "ulx adminmenu"
          "2" "ulx ban"
          "3" "ulx bring"
          "4" "ulx clientmenu"
          "5" "ulx csay"
          "6" "ulx freeze"
          "7" "ulx ghost"
          "8" "ulx gimp"
          "9" "ulx jail"
          "10" "ulx kick"
          "11" "ulx map"
          "12" "ulx mapsmenu"
          "13" "ulx mute"
          "14" "ulx ragdoll"
          "15" "ulx slap"
          "16" "ulx slay"
          "17" "ulx spectate"
          "18" "ulx sslay"
          "19" "ulx teleport"
          "20" "ulx tooldeny"
          "21" "ulx tsay"
          "22" "ulx unfreeze"
          "23" "ulx unghost"
          "24" "ulx ungimp"
          "25" "ulx unjail"
          "26" "ulx unmute"
          "27" "ulx unragdoll"
          "28" "ulx vote"
          "29" "ulx voteban"
          "30" "ulx votekick"
          "31" "ulx votemap2"
           }
     }
     "moderator"
     {
           "allow"
           {
          "1" "ulx adminmenu"
          "2" "ulx ban"
          "3" "ulx bring"
          "4" "ulx clientmenu"
          "5" "ulx csay"
          "6" "ulx jail"
          "7" "ulx kick"
          "8" "ulx map"
          "9" "ulx mapsmenu"
          "10" "ulx mute"
          "11" "ulx ragdoll"
          "12" "ulx slap"
          "13" "ulx slay"
          "14" "ulx spectate"
          "15" "ulx tsay"
          "16" "ulx unjail"
          "17" "ulx unmute"
          "18" "ulx unragdoll"
          "19" "ulx vote"
          "20" "ulx voteban"
          "21" "ulx votekick"
           }
     }
}


status
Code: [Select]
Rcon: "status"
hostname:  -CO- www.CounterOperations.com  --> RolePlay Server
version : 1.0.0.0/7 3152 secure
udp/ip  :  77.74.197.228:27015
map     :  RP_HomeTown2000 at: 0 x, 0 y, 0 z
players :  15 (16 max)

# userid name uniqueid connected ping loss state adr
# 145 "-CO- Redrum" STEAM_0:1:2781740 01:18 110 0 active 172.212.70.25:27005
# 111 "-CO- Gun Reaper" STEAM_0:0:2927536  1:03:32 161 0 active 64.228.219.228:61914
# 143 "Pirate Pete" STEAM_0:1:6055347 02:53 79 0 active 79.65.61.114:64249
# 141 "Ray" STEAM_0:0:12225819 04:22 126 0 spawning 77.132.51.1:27005
# 144 "-CO- Gripen2" STEAM_0:0:1569545 02:49 118 0 active 217.210.199.53:34069
# 142 "Yoyo" STEAM_0:1:12562390 04:08 139 0 active 71.63.15.190:43626
# 146 "CRAZZY RM" STEAM_0:1:51736 00:23 54 74 spawning 82.29.26.125:27005
# 126 "2shade" STEAM_0:0:5062832 36:58 70 0 active 80.132.163.168:33251
# 64 "NBS=DK=John gordion" STEAM_0:1:14912463  2:38:53 141 0 active 74.119.99.197:60637
# 120 "Henry Price" STEAM_0:1:12324000 46:40 67 0 active 86.158.195.184:27005
# 136 "[WP] blah master" STEAM_0:0:9665445 21:00 171 0 active 24.233.157.193:27005
# 118 "Chris Hockle" STEAM_0:1:10954240 56:18 88 0 active 88.88.46.0:64510
# 95 "-CO-Djllb03" STEAM_0:1:14930309  1:51:18 72 0 active 81.156.52.226:54293
# 80 "-CO- DjDegraj" STEAM_0:1:3016449  2:24:20 107 0 active 85.226.141.203:27005
# 138 "ß??a?a?" STEAM_0:0:3141139 19:44 170 0 active 81.226.230.119:27005

ulx luarun PrintTable( ULib.ucl )
Code: [Select]
Results:
game.ConsoleCommand blocked!
(ADMIN) (Console) ran lua_run: PrintTable ( ULib.ucl )
L 08/09/2007 - 20:20:12: rcon from "77.74.197.228:4019": command "ulx luarun PrintTable( ULib.ucl )"

ulx luarun PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )
Code: [Select]
Results:
game.ConsoleCommand blocked!
(ADMIN) (Console) ran lua_run: PrintTable ( util.KeyValuesToTable ( file.Read ( ../settings/users.txt ) ) )
L 08/09/2007 - 20:15:48: rcon from "77.74.197.228:4003": command "ulx luarun PrintTable( util.KeyValuesToTable( file.Read( "../settings/users.txt" ) ) )"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Request for admin groups
« Reply #21 on: August 09, 2007, 12:45:47 PM »
Your problem is two fold. First, settings/users.txt needs to be:

Code: [Select]
"Users"
{
//
// This is your users file
//
// You can use this file to add people as admins on your server
// Add them to the relevant section
//
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
//

"admin"
{
"Elmo" "STEAM_0:0:14122588"
"Redrum" "STEAM_0:1:2781740"
}
"superadmin"
{
"Jethro" "STEAM_0:1:11827370"
}

}

Second, in ULib/users.txt you used "administrator", when it should be "admin".

Also, what do you think of invision-gaming? We're considering getting a server through them. Any complaints or praises? Would you recommend them?
Experiencing God's grace one day at a time.

Offline Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: Request for admin groups
« Reply #22 on: August 09, 2007, 02:16:27 PM »
Thank you for that; No wonder Admin hasn't been working.

Invision-gaming is new to GMOD. They have been adding more and more servers recently and are constantly upgrading(and gaining in popularity).
Their customer support has been good and I am currently looking to renew my GMOD server somewhere; I have not found anywhere in UK that is any better for Hosting GMOD so I most likely will renew my subscription with them.

I have had no major Issues except at least five times in the last six months, the FTP has been Broken for 2-5 hours. Once the whole website has been down along with the server for about 6 hours aprox. I did have an issue with this because they did not give me any warning; or even an apology for the server going down any of these times until I asked them for the second time.

So, I'm pretty neutral towards them until they become more reliable with their FTP Server's. 8)

Thanks,
Jethro

PS. Someone today said to use this host provider: http://wolfservers.com/servers/
« Last Edit: August 09, 2007, 05:30:40 PM by Jethro »