Author Topic: "Invalid Group" Even Though It's Valid  (Read 13735 times)

0 Members and 2 Guests are viewing this topic.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
"Invalid Group" Even Though It's Valid
« on: October 05, 2009, 04:39:44 PM »
So, I've gotten my server up and running again, whoop de do. But, when I go to do anything GUI related, or even when typing "ulx <whatever>" in console, I get the error:

Code: [Select]
ULib/shared/sh_ucl.lua:58: [ULib] Player TMF[}Lavacano has an invalid group (owner), aborting. Please be careful when modifying the ULib files!
Problem is, the "owner" group is defined correctly. I checked in both ULib files (serverside and clientside, this is a clientside error). This affects:

  • ULX AutoComplete
  • Simple Prop Protection Admin Menu
  • ULX Menus (!menu)

I can still do things such as !kick perfectly fine (I've had to !whip Minge 100 0 a few times to get them to leave me alone).
Circle reasoning works because circle reasoning works because...

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: "Invalid Group" Even Though It's Valid
« Reply #1 on: October 05, 2009, 06:21:25 PM »
Did you edit a file?
Which file did you edit?
What is it's path location?
If more than one, which, and where?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: "Invalid Group" Even Though It's Valid
« Reply #2 on: October 06, 2009, 02:53:28 PM »
Did you edit a file?
Which file did you edit?
What is it's path location?
If more than one, which, and where?

The only files I edited were the ULib "groups.txt" and "ulx_motd.txt", and then I copied them into where the belong (OUTSIDE of addons).

This I did when I first got ULX. Not a thing has changed since.
Circle reasoning works because circle reasoning works because...

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: "Invalid Group" Even Though It's Valid
« Reply #3 on: October 06, 2009, 03:37:52 PM »
As the file states, you should never, or ever have reason, to edit /addons/ULib/data/groups.txt
ULib creates its own file based on that file. If that file is changed/corrupted, everything based on it is too.
This is most likely why ULib is reporting the error.

If any file should have been edited at all, it would be gmod/data/ULib/groups.txt, and even then we don't recommend it.
Too many times we've seen bad syntax.

Please attach your gmod/data/ULib/groups.txt and your gmod/settings/users.txt
For extra measure, go ahead and attach a "ulx debuginfo" file from the server while you and some others are connected.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: "Invalid Group" Even Though It's Valid
« Reply #4 on: October 07, 2009, 12:52:31 PM »
As the file states, you should never, or ever have reason, to edit /addons/ULib/data/groups.txt
ULib creates its own file based on that file. If that file is changed/corrupted, everything based on it is too.
This is most likely why ULib is reporting the error.

If any file should have been edited at all, it would be gmod/data/ULib/groups.txt, and even then we don't recommend it.
Too many times we've seen bad syntax.

Please attach your gmod/data/ULib/groups.txt and your gmod/settings/users.txt
For extra measure, go ahead and attach a "ulx debuginfo" file from the server while you and some others are connected.

Why am I the only person who reads posts without skimming?

I said I DID NOT modify the addons/ file. I ALSO said it worked BEFORE. No issues.

Whatever, here's my groups.txt file:

Code: [Select]
"pink"
{
"allow"
{
}
"inherit_from" "gold"
}
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx cexec"
"ulx ent"
"ulx groupallow"
"ulx groupdeny"
"ulx hiddenecho"
"ulx luarun"
"ulx rcon"
"ulx renamegroup"
"ulx userallow"
"ulx userdeny"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx adminmenu"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx clientmenu"
"ulx cloak"
"ulx exec"
"ulx freeze"
"ulx gag"
"ulx ghost"
"ulx gimp"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mapsmenu"
"ulx maul"
"ulx mute"
"ulx noclip"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rocket"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx settitle"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx toolallow"
"ulx toolallowuser"
"ulx tooldeny"
"ulx tooldenyoverride"
"ulx tooldenyuser"
"ulx tsay"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx unfreeze"
"ulx ungag"
"ulx unghost"
"ulx ungimp"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"gold"
{
"allow"
{
}
"inherit_from" "user"
}
"owner"
{
"allow"
{
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx debuginfo"
"ulx hasreadhelp"
"ulx removegroup"
"ulx removeuser"
}
"inherit_from" "superadmin"
}
"user"
{
"allow"
{
"ulx"
"ulx asay"
"ulx cloakme"
"ulx godme"
"ulx help"
"ulx hpme"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx motd"
"ulx mytitle"
"ulx psay"
"ulx ragdollme"
"ulx teleportme"
"ulx thetime"
"ulx title"
"ulx uncloakme"
"ulx ungodme"
"ulx unragdollme"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
"ulx_cvar"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_valueupdate"
}
}
"operator"
{
"allow"
{
"ulx addadvert"
"ulx addgimpsay"
"ulx csay"
"ulx god"
"ulx physgunplayer"
"ulx seeasay"
"ulx teleport"
"ulx ungod"
"ulx vote"
}
"inherit_from" "user"
}

./settings/users.txt is factory defaults.
Circle reasoning works because circle reasoning works because...

Offline [WCA]AIDS

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 7
    • PlanetWCA Forums
Re: "Invalid Group" Even Though It's Valid
« Reply #5 on: October 07, 2009, 01:32:16 PM »
Why am I the only person who reads posts without skimming?
Whatever, here's my groups.txt file:
Makes sense, I am an ass to the people who try to help me too.


I said I DID NOT modify the addons/ file. I ALSO said it worked BEFORE. No issues.

Your previous post:
The only files I edited were the ULib "groups.txt" and "ulx_motd.txt", and then I copied them into where the belong (OUTSIDE of addons).
Implies that you edited the files in addons/ then copied them over to data/

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: "Invalid Group" Even Though It's Valid
« Reply #6 on: October 07, 2009, 02:12:27 PM »
Let's see the debug dump, too.
Experiencing God's grace one day at a time.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: "Invalid Group" Even Though It's Valid
« Reply #7 on: October 07, 2009, 03:43:09 PM »
Implies that you edited the files in addons/ then copied them over to data/

This was a miswording on my part, I'll admit this time it was my screw up. (Censorship? Seriously?)

Let's see the debug dump, too.

I will when I can.
Circle reasoning works because circle reasoning works because...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: "Invalid Group" Even Though It's Valid
« Reply #8 on: October 07, 2009, 06:40:04 PM »
(Censorship? Seriously?)

Yes, really. We are not Facepunch.
Experiencing God's grace one day at a time.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: "Invalid Group" Even Though It's Valid
« Reply #9 on: October 07, 2009, 09:11:01 PM »
Yes, really. We are not Facepunch.

What you are and are not aside, censorship pains me, as I don't remember seeing anything about profanity when last I read your rules (a long time ago).

But that's not what I made the thread for (and I'll click this lock button I seem to has if it means bringing the topic to a point where it helps me somewhat). I'm still working on getting a crowd for the debug dump going, so I'll keep you posted when I can do that.
Circle reasoning works because circle reasoning works because...

Offline TweaK

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 14
    • Garry's Mod Engineers
Re: "Invalid Group" Even Though It's Valid
« Reply #10 on: October 18, 2009, 10:32:34 PM »
I have this same problem... and i have not edited the groups.txt file, i deleted mine and started new, did ulx addgroup "owner" "superadmin", then added myself to that group and i get spammed with this error every time i type or backspace a character in console after "ulx " or try to open the menu:
Quote
ULib/shared/sh_ucl.lua:58: [ULib] Player [GME] TweaK has an invalid group (owner), aborting. Please be careful when modifying the ULib files!
and this when i look at my thing on the modified sui_scoreboard (i dont really expect it to be supported at this point but maybe it will mean something..?):
Quote
ULib/shared/sh_ucl.lua:281: Invalid group (owner)

and the debug dump (i do have other groups defined in my old groups.txt file):
Code: [Select]
ULX version: <SVN> revision 77
ULib version: 2.40
Gamemode: Sandbox
Map: freespace06_v2-1
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
[GME] TweaK                     STEAM_0:1:11943218 1  n   49


ULib.ucl.users (#=30):
STEAM_0:1:23130885:
deny:
name = [TBN]mrchris75[GME]
allow:
group = respected
STEAM_0:0:16693476:
deny:
name = [BNG] Jacoby6000
allow:
group = regular
STEAM_0:0:25568143:
deny:
group = regular
name = MrWhite
allow:
STEAM_0:0:7683580:
deny:
allow:
name = Biggus Dickus
group = respected
STEAM_0:1:25296714:
group = admin
name = [GME]Iron Lemonade[VN]
allow:
deny:
STEAM_0:1:24210372:
group = regular
name = chinese fortune cookie
allow:
deny:
STEAM_0:0:19357732:
group = admin
name = [1647] [GME] shoffing
allow:
1 = ulx hasreadhelp
deny:
STEAM_0:0:25503904:
deny:
allow:
name = J-Roc
group = respected
STEAM_0:1:18540169:
deny:
group = regular
allow:
name = andrew
STEAM_0:1:16024048:
group = regular
name = solid gold
allow:
deny:
STEAM_0:1:15563494:
deny:
allow:
name = [GME] Supply Man >_<
group = superadmin
STEAM_0:1:9060364:
deny:
allow:
name = [ME]OmicroN
group = respected
STEAM_0:1:15119114:
deny:
name = Rawr?
allow:
group = regular
STEAM_0:0:17576974:
group = admin
name = |GME| Fenris
allow:
deny:
STEAM_0:1:13111545:
group = regular
name = alex
allow:
deny:
STEAM_0:0:14951057:
deny:
allow:
name = | heavily armored kitty |
group = regular
STEAM_0:1:3561244:
deny:
allow:
name = TomyLobo
group = regular
STEAM_0:0:20338217:
deny:
allow:
name = Oose
group = admin
STEAM_0:1:23605391:
group = regular
name = mactrekkie
allow:
deny:
STEAM_0:1:16082270:
deny:
group = respected
allow:
name = {WOG}GANG (+[ ]::) BOY
STEAM_0:1:19399287:
deny:
group = respected
allow:
1 = ulx hasreadhelp
name = Ninjacheesewheel
STEAM_0:0:23698344:
deny:
group = regular
name = Zombie Goast
allow:
STEAM_0:1:18300092:
deny:
group = respected
name = {CK} jake_stewierules {Lotus}
allow:
STEAM_0:1:11943218:
deny:
name = [GME] TweaK
allow:
1 = ulx hasreadhelp
group = superadmin
STEAM_0:1:22255531:
deny:
name = Dingoomba
allow:
group = respected
STEAM_0:0:19887546:
group = regular
name = [td:rimm] sodium
allow:
deny:
STEAM_0:1:15457669:
group = admin
name = [GME]-Gunski-
allow:
deny:
STEAM_0:1:15435359:
group = superadmin
name = enginekrazy
allow:
deny:
STEAM_0:1:5416874:
deny:
group = regular
allow:
name = OogalaBoogala
STEAM_0:0:14969018:
deny:
group = regular
name = Genkaz92
allow:


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


ULib.ucl.authed (#=1):
1649947732:
deny:
name = [GME] TweaK
allow:
1 = ulx hasreadhelp
group = superadmin


Garrysmod default file (#=2):
admin:
superadmin:
[gme] tweak = STEAM_0:1:11943218


Active addons on this server:
adv_dupe                 by TAD2020, version 1.85 (June 28th 2009)
buoyancy                 by RabidToaster, version 1.1 (4th May 2008)
connas_tools             by Conna, version 1.3999 ((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)
fin                      by Q42 + Tad2020, version 1.2999 (lol)
for_allah                by Stingwraith (thanks jtl, Kogitsune, and others for help), version 1 (26th February 2008)
freespace09              by -)BDB(- -=]On-A-Freak[=- :D, version 1 (December 2008)
gm_atomic                by Bigwig, version 1 (September 2008)
gm_botmap_v3             by thingshappen & sleepy, version 3 (30/11/08)
gm_mysql                 by Andy Vincent, version 1.7999 (8th January 2008)
hl2_ep2                  by Valve, version 1 (29th October 2007)
hoverboard               by % Software, version 2 (27th February 2008)
jumppad                  by mahalis, version 1.1 (April 12 2009)
measuring_stick          by OverloadUT, version 1.1 (23th December 2006)
no-collide_multi         by Narkaleptic, version 1.1 (December 19th 2006)
no-collide_world         by Panthera Tigris, version 1 (6 october 2007)
phx                      by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, Squad, PelPix, Stigern, version SVN (20th May 2008)
player_resizer           by (null), version (null) ((null))
player_title             by Lt. Smith, version 1.2 (29/06/08)
portal                   by Valve, version 1 (29th October 2007)
propeller_models         by GiGaBiTe, version 1.1 (n/a)
smart_constraint         by Spacetech, version 1.2.2 ()
smart_freezer            by LuaPineapple, version 1 (Today)
smart_remover            by Polly, version 1 ()
spp                      by Spacetech, version SVN ()
stacker                  by OverloadUT, version 2.5 (15-03-2008)
sui_scoreboard_modified_v2 by Suicidal.Banana/BMCha/tascrafts, version ? ()
taser                    by fub4r, version 1.8 FINAL ((null))
tf2                      by Valve, version 1 (29th October 2007)
tnt                      by Teta_Bonita, version 1 (16th September 2007)
turbosniper              by , version  ()
ulib                     by Team Ulysses, version 2.4 (00/00/00)
ulx                      by Team Ulysses, version 3.50 SVN (00/00/00)
unbreakable              by Chaussetteâ„¢, version 1.1 (28th January 2007)
uppl                     by Megiddo (Team Ulysses), version 1 (06/02/07)
utime                    by Megiddo (Team Ulysses), version 1.2999 (05/16/08)
viktools                 by , version  ()
weight                   by Spoco, version 1.21 ((null))
wire                     by Wire Team, version SVN ((null))
wire_addon_crap          by , version  ()
wire_clutch              by Q42, version 1 (sometime)
wire_extras              by Anticept and respective developers, version SVN (3rd June 2008)
wire_models              by Wire Team, version SVN ((null))
zeno_clash               by ACE Team, version 1 (May 8th 2009)


Offline TweaK

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 14
    • Garry's Mod Engineers
Re: "Invalid Group" Even Though It's Valid
« Reply #11 on: November 08, 2009, 12:31:22 PM »
anything?


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: "Invalid Group" Even Though It's Valid
« Reply #12 on: November 08, 2009, 02:40:31 PM »
Tweak,
None of your groups are allowed the base command "ulx"
This is required for ANY ulx command to be used.
Correct that first then see if the errors clear up or change to be more helpful.
From SERVER console try
Code: [Select]
] ulx groupallow user "ulx"Then try using addgroup and adduser to the owner group.
(Did you get errors when running the addgroup 'owner' 'superadmin' the first time?)

Have you ever manually edited the groups file?
I've never seen 'ulx' get removed without doing so.
« Last Edit: November 08, 2009, 02:43:07 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TweaK

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 14
    • Garry's Mod Engineers
Re: "Invalid Group" Even Though It's Valid
« Reply #13 on: November 08, 2009, 02:58:53 PM »
i did manually edit it before, but for testing purposes i moved it and let the server create a new one just to rule out manual edit of the groups file as the problem, then added the group and got no errors, added myself to the group and got no errors until i tried to type in console and whatever. and nothing happened when i ran that command because user is already allowed the base ulx command, i dunno why it didn't show up in the debug dump


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: "Invalid Group" Even Though It's Valid
« Reply #14 on: November 08, 2009, 03:08:20 PM »
I'm pretty much in testing now.. I had the idea after my last post, and the fact one other person has complained of odd errors that were fixed after he added "ulx" manually that perhaps ULX isn't adding "ulx" to its base group.
Currently I see that it isn't. My newly created groups.txt file has no "ulx"
I'm now testing to actually see if that causes problems. I originally wasn't able to reproduce your error using the same commands, but... my groups.txt file was converted (by ULX) from a much older file that had "ulx" in it.
I'll post the results here.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming