Author Topic: Access problems after update to 3.2 (Ulib v2.1)  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

Offline Clone1B

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Access problems after update to 3.2 (Ulib v2.1)
« on: October 13, 2007, 09:05:26 AM »
After cleaing out the Ulib, ULX, and asociated /data folders I uploaded the new ones to my dedicated server, now uTeam isn't showing my team in the scoreboard and I have no access to any commands.
I have added myself to the superadmin usergroup in the default garrysmod users file in ./settings and used the rcon to add myself to the usergroup superadmin through ulx, the result being that the scoreboard now shows my team as being superadmin but I still don't have any access to the commands.

This is what I get from running ulx debuginfo
Code: [Select]
ULib.ucl.users (#=1):
clone1b:
deny:
type = steamid
groups:
1 = superadmin
id = STEAM_0:1:8573773
pass =
allow:


ULib.ucl.groups (#=1):
superadmin:
deny:
allow:
inherit_from:


ULib.ucl.authed (#=2):
Player [NULL]:
deny:
type = steamid
groups:
1 = superadmin
account = clone1b
id = STEAM_0:1:8573773
allow:
uniqueid = 3091013824
Player [1][Clone1B]:
deny:
type = steamid
groups:
1 = superadmin
account = clone1b
id = STEAM_0:1:8573773
allow:
uniqueid = 3091013824


Garrysmod default file (#=2):
admin:
[cw]pebble = STEAM_0:1:12551448
superadmin:
clone1b = STEAM_0:1:8573773


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.836 (July 5th 2007)
airbrake                 by Malawar, version 1 (Today)
Breakable Props Tool     by Conna, version 1 ((null))
cannon                   by Malawar, version 1.3 (December 19th 2006)
Conna's Tools Pack       by Conna, version 1.5 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
harpoon                  by Malawar, version 2 (Today)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.3 (7th February 2007)
launcher                 by Malawar, version 1.1 (Today)
OL_Stacker               by OverloadUT, version 2.2 (19th January 2007)
phx                      by PhoeniX-Storms & 1/4 Life, version 5 (3rd Febuary 2007)
PHXtended                by Scragnog, version 1 ((null))
phxtri-beta              by Das Great & PhoeniX-Storms, version 0.1 (21th June 2007)
propcannons              by Duncan Stead, version 1.1 (18th December 2006)
RagSpec                  by elevator13/Jinto, version 1 (10th August 2007)
Rails                    by Dragon90101/Mr. Altaco, version 1 ()
repulsor                 by Malawar, version 1.1 (December 19th 2006)
Sensor Tool              by Conna, version 1 ((null))
Simple Prop Protection   by Spaceetech, version  ()
sui_scoreboard           by Suicidal.Banana, version ? ()
ulib                     by Team Ulysses, version 2.1 (09/23/07)
ulx                      by Team Ulysses, version 3.2 (09/23/07)
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

This is my groups.txt
Code: [Select]
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx gimp"
"ulx ungimp"
"ulx chattime"
"ulx welcomemessage"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx playsound"
"ulx god"
"ulx ungod"
"ulx hp"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
"moderator"
}
}
"user"
{
"deny"
{
"ulx noclip"
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx_valueupdate"
"ulx motd"
"ulx_getbans"
}
"inherit_from"
{
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx debuginfo"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
}
"inherit_from"
{
}
}
"moderator"
{
"deny"
{
}
"allow"
{
"ulx tsay"
"ulx csay"
"ulx mute"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx slap"
"ulx freeze"
"ulx unfreeze"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx goto"
"ulx teleport"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx spectate"
"ulx vote"
"ulx votekick"
"ulx voteban"
"ulx veto"
"ulx seeasay"
}
"inherit_from"
{
"donator"
}
}
"donator"
{
"deny"
{
}
"allow"
{
"ulx noclip"
"ulx votekick"
"ulx spectate"
"ulx goto"
}
"inherit_from"
{
}
}

Do you still need the other stuff from the access problems thread?
« Last Edit: October 13, 2007, 09:07:57 AM by Clone1B »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Access problems after update to 3.2 (Ulib v2.1)
« Reply #1 on: October 13, 2007, 10:03:10 AM »
See where it says:

Code: [Select]
ULib.ucl.groups (#=1):
superadmin:
deny:
allow:
inherit_from:

That means that for whatever reason, it can't read your groups.txt file. It might be a missing quote, a missing bracket, etc. I don't have time to figure out exactly what's wrong with it, so I suggest you just remove the groups.txt as well as misc_registered.txt so it will regenerate the file on its own.

This brings up  a good point though, we're seeing more and more corrupt files... we should add error correction or error detection...
Experiencing God's grace one day at a time.

Offline Clone1B

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Access problems after update to 3.2 (Ulib v2.1)
« Reply #2 on: October 17, 2007, 09:31:29 AM »
Right, after completly stripping ULX and ULib out for a second time (including data folder) I reinstalled and booted it up with the default settings, both users.txt and groups.txt the default ones and my name/id in the GM settings users file.
This seemed to work fine, I was found to be in the superadmin group, the scoreboard colour changed and I had access to all the commands, below is the debuginfo when using the default file.
Code: [Select]
ULX version: 3.20
ULib version: 2.10
Gamemode: Sandbox
Map: gm_construct_extendedfix
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
Clone1B                         STEAM_0:1:8573773  1  n   27


ULib.ucl.users (#=0):


ULib.ucl.groups (#=5):
superadmin:
deny:
allow:
1 = ulx hiddenecho
2 = ulx rcon
3 = ulx luarun
4 = ulx cexec
5 = ulx ent
6 = ulx adduser
7 = ulx removeuser
8 = ulx userallow
9 = ulx userdeny
10 = ulx addgroup
11 = ulx removegroup
12 = ulx groupallow
13 = ulx groupdeny
14 = overcomeimmunity
inherit_from:
1 = admin
admin:
deny:
allow:
1 = ulib_passtime
2 = ulib_passtimeout
3 = ulx spawnecho
4 = ulx tsay
5 = ulx csay
6 = ulx gimp
7 = ulx mute
8 = ulx ungimp
9 = ulx unmute
10 = ulx gag
11 = ulx ungag
12 = ulx chattime
13 = ulx welcomemessage
14 = ulx slap
15 = ulx whip
16 = ulx slay
17 = ulx sslay
18 = ulx ignite
19 = ulx playsound
20 = ulx freeze
21 = ulx unfreeze
22 = ulx god
23 = ulx ungod
24 = ulx noclip
25 = ulx hp
26 = ulx cloak
27 = ulx uncloak
28 = ulx blind
29 = ulx unblind
30 = ulx jail
31 = ulx unjail
32 = ulx ghost
33 = ulx unghost
34 = ulx ragdoll
35 = ulx unragdoll
36 = ulx maul
37 = ulx adminmenu
38 = ulx clientmenu
39 = ulx mapsmenu
40 = ulx showmotd
41 = ulx banmenu
42 = ulx exec
43 = ulx rslotsmode
44 = ulx rslots
45 = ulx rslotsvisible
46 = ulx reservedslots
47 = ulx bring
48 = ulx goto
49 = ulx send
50 = ulx teleport
51 = ulx tooldeny
52 = ulx toolallow
53 = ulx tooldenyuser
54 = ulx toolallowuser
55 = ulx tooldenyoverride
56 = ulx map
57 = ulx kick
58 = ulx ban
59 = ulx banid
60 = ulx unban
61 = ulx spectate
62 = ulx mingekick
63 = ulx physgunplayer
64 = ulx vote
65 = ulx votemap2
66 = ulx votekick
67 = ulx voteban
68 = ulx veto
inherit_from:
1 = operator
user:
deny:
allow:
1 = ulx
2 = ulx help
3 = ulx psay
4 = ulx asay
5 = ulx thetime
6 = ulx menu
7 = ulx_valueupdate
8 = ulx_cvar
9 = ulx_getgamemodes
10 = ulx motd
11 = ulx_getbans
12 = ulx usermanagementhelp
13 = ulx who
14 = ulx votemap
inherit_from:
operator:
deny:
allow:
1 = ulx seeasay
inherit_from:
none:
deny:
allow:
1 = ulx logecho
2 = ulx logfile
3 = ulx logevents
4 = ulx logchat
5 = ulx logspawns
6 = ulx logspawnsecho
7 = ulx logdir
8 = ulx addgimpsay
9 = ulx addadvert
10 = ulx addcsayadvert
11 = ulx addforceddownload
12 = ulx debuginfo
13 = ulx voteecho
14 = ulx votemap2successratio
15 = ulx votemap2minvotes
16 = ulx votekicksuccessratio
17 = ulx votekickminvotes
18 = ulx votebansuccessratio
19 = ulx votebanminvotes
20 = ulx votemapenabled
21 = ulx votemapmintime
22 = ulx votemapwaittime
23 = ulx votemapsuccessratio
24 = ulx votemapminvotes
25 = ulx votemapvetotime
26 = ulx votemapmapmode
27 = ulx votemapaddmap
inherit_from:


ULib.ucl.authed (#=1):
Player [1][Clone1B]:
type = guest
groups:
1 = user
2 = superadmin
id =
account = Clone1B
acl:
allow:
deny:
uniqueid = 3091013824


Garrysmod default file (#=2):
admin:
[cw]pebble = STEAM_0:1:12551448
superadmin:
clone1b = STEAM_0:1:8573773


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.836 (July 5th 2007)
airbrake                 by Malawar, version 1 (Today)
Breakable Props Tool     by Conna, version 1 ((null))
cannon                   by Malawar, version 1.3 (December 19th 2006)
Conna's Tools Pack       by Conna, version 1.5 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
harpoon                  by Malawar, version 2 (Today)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.3 (7th February 2007)
launcher                 by Malawar, version 1.1 (Today)
OL_Stacker               by OverloadUT, version 2.2 (19th January 2007)
phx                      by PhoeniX-Storms & 1/4 Life, version 5 (3rd Febuary 2007)
PHXtended                by Scragnog, version 1 ((null))
phxtri-beta              by Das Great & PhoeniX-Storms, version 0.1 (21th June 2007)
propcannons              by Duncan Stead, version 1.1 (18th December 2006)
RagSpec                  by elevator13/Jinto, version 1 (10th August 2007)
Rails                    by Dragon90101/Mr. Altaco, version 1 ()
repulsor                 by Malawar, version 1.1 (December 19th 2006)
Sensor Tool              by Conna, version 1 ((null))
Simple Prop Protection   by Spaceetech, version  ()
sui_scoreboard           by Suicidal.Banana, version ? ()
ulib                     by Team Ulysses, version 2.1 (09/23/07)
ulx                      by Team Ulysses, version 3.2 (09/23/07)
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

When I changed over to the groups.txt in my previous post it went back to being unable to access anything and printed out a debuginfo the same as above, anyone got any idea whats going on?

Atleast I know now that its something to do with the edited groups.txt

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Access problems after update to 3.2 (Ulib v2.1)
« Reply #3 on: October 18, 2007, 11:40:27 AM »
As I said, you have a corrupt groups.txt.
Experiencing God's grace one day at a time.

Offline Clone1B

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Access problems after update to 3.2 (Ulib v2.1)
« Reply #4 on: October 18, 2007, 03:17:57 PM »
All sorted, thanks.