Author Topic: Groups.txt trouble  (Read 3091 times)

0 Members and 1 Guest are viewing this topic.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Groups.txt trouble
« on: June 20, 2009, 08:41:01 AM »
Hi,

I'm having some trouble getting my modified groups.txt to work. Here's what I have so far:

Code: [Select]
"ddonator"
{
"deny"
{
}
"allow"
{
"ulx mapsmenu"
"ulx physgunplayer"
"ulx sslay"
"ulx spectate"
}
"inherit_from"
{
"gdonator"
}
}
"gdonator"
{
"deny"
{
}
"allow"
{
"ulx armor"
"ulx bring"
"ulx send"
"ulx ragdoll"
"ulx unragdoll"
"ulx cloak"
"ulx uncloak"
"ulx ungag"
"ulx gag"
"ulx slap"
"ulx blind"
"ulx unblind"
}
"inherit_from"
{
"sdonator"
}
}
"sdonator"
{
"deny"
{
}
"allow"
{
"ulx whip"
"ulx cloakme"
"ulx uncloakme"
"ulx ignite"
"ulx freeze"
"ulx unignite"
"ulx unfreeze"
"ulx ungod"
"ulx god"
"ulx hp"
"ulx goto"
"ulx teleportme"
}
"inherit_from"
{
"bdonator"
}
}
"bdonator"
{
"deny"
{
}
"allow"
{
"ulx vote"
"ulx noclip"
"ulx hp"
"ulx teleport"
"ulx ghost"
"ulx playsound"
"ulx ungodme"
"ulx godme"
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx votekick"
"ulx motd"
"ulx voteban"
"ulx rocket"
"ulx mainstream"
"ulx usermanagementhelp"
"ulx veto"
"ulx media"
"ulx who"
"ulx votemap"
"ulx ragdollme"
"ulx unragdollme"
"ulx ungodme"
"ulx godme"
"ulx goto"
"ulx vote"
"ulx noclip"
"ulx cloakme"
"ulx uncloakme"
"ulx teleportme"
"ulx hpme"
}
"inherit_from"
{
}
}
"dedicated"
{
"deny"
{
}
"allow"
{
"ulx slap"
"ulx cloak"
"ulx uncloak"
}
"inherit_from"
{
"elite"
}
}
"ultimate"
{
"deny"
{
}
"allow"
{
"ulx noclip"
}
"inherit_from"
{
"dedicated"
}
}
"moderator"
{
"allow"
{
"ulx strip"
"ulx gag"
"ulx whip"
"ulx playsound"
"ulx freeze"
"ulx jail"
"ulx ragdoll"
"ulx unragdoll"
"ulx unjail"
"ulx mute"
"ulx unignite"
"ulx unfreeze"
"ulx unmute"
"ulx map"
"ulx ungag"
"ulx kick"
"ulx god"
"ulx ungod"
}
"deny"
{
}
"inherit_from"
{
"respected"
}
}
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulib_passtime"
"ulib_passtimeout"
"ulx banid"
}
"inherit_from"
{
"admin"
}
}
"officer"
{
"deny"
{
}
"allow"
{
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
}
"inherit_from"
{
"superadmin"
}
}
"supermoderator"
{
"deny"
{
}
"allow"
{
"ulx ghost"
"ulx unghost"
"ulx ungimp"
"ulx gimp"
"ulx slay"
"ulx teleport"
"ulx rocket"
}
"inherit_from"
{
"moderator"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx votekick"
"ulx motd"
"ulx voteban"
"ulx_getbans"
"ulx mainstream"
"ulx usermanagementhelp"
"ulx veto"
"ulx media"
"ulx who"
"ulx votemap"
}
"inherit_from"
{
}
}
"common"
{
}
"uber"
{
"deny"
{
}
"allow"
{
"ulx cloakme"
"ulx uncloakme"
"ulx teleportme"
"ulx hpme"
}
"inherit_from"
{
"super"
}
}
"operator"
{
"deny"
{
}
"allow"
{
"ulx seeasay"
}
"inherit_from"
{
}
}
"elite"
{
"deny"
{
}
"allow"
{
"ulx goto"
"ulx vote"
}
"inherit_from"
{
"mega"
}
}
"super"
{
"deny"
{
}
"allow"
{
"ulx ragdollme"
"ulx unragdollme"
}
"inherit_from"
{
"operator"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx chattime"
"ulx welcomemessage"
"ulx sslay"
"ulx ignite"
"ulx ban"
"ulx armor"
"ulx hp"
"ulx blind"
"ulx maul"
"ulx adminmenu"
"ulx clientmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx bring"
"ulx send"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx unban"
"ulx spectate"
"ulx physgunplayer"
"ulx votemap2"
"ulx ghost"
"ulx unblind"
"ulx mapsmenu"

}
"inherit_from"
{
"supermoderator"
}
}
"respected"
{
"deny"
{
}
"allow"
{
"ulx speedycake"
"ulx noclip"
}
"inherit_from"
{
"ultimate"
}
}
"mega"
{
"deny"
{
}
"allow"
{
"ulx ungodme"
"ulx godme"
}
"inherit_from"
{
"uber"
}
}
"owner"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"overcomeimmunity"
}
"inherit_from"
{
"officer"
}
}
"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"
{
}
}

For some reason, only the admin rank and superadmin rank are working. When I type into console "rcon ulx adduser (player) gdonator" or some similar rank, it shows me that autokick is disabled for me, and they can use no ULX commands. It also doesn't say that their access has been set. However, when I do it to someone for admin or superadmin (those two ranks only), I see "(ADMIN) (Console) added user »??²« Failcake to group "superadmin"". And I'm modifying the one in ulib/data/ulib.

Is there anyone who can help me solve this problem? Thanks!

Edit: It also seems that ULX won't remember any ranks, including the two that work. I'm running a Stranded server, so when someone is an admin an [Admin] tag is placed in front of their name on the scoreboard. When I add myself as an admin through rcon, I get the "Access set" thing and what not, and I can do admin commands, but there's no admin tag in front of my name on the scoreboard, and when I type "retry" in console as a test, I come back to find that my rank no longer is valid. I'm using a customized version of ULX, could this be the problem?
« Last Edit: June 20, 2009, 08:50:09 AM by iBurnPuppies »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Groups.txt trouble
« Reply #1 on: June 20, 2009, 10:26:47 AM »
It sounds like you might be coming across a keyword that garry is blocking. Try renaming gdonator to say... cupcakes and see if that makes any difference.
Experiencing God's grace one day at a time.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Groups.txt trouble
« Reply #2 on: June 20, 2009, 11:04:23 AM »
Well, this file was made by the owner of my clan, and it works on the rest of the servers. But I'll try that.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Groups.txt trouble
« Reply #3 on: June 20, 2009, 11:05:16 AM »
There's only one server out of a cluster that this doesn't work on? If that's the case, perhaps it just didn't get uploaded correctly?
Experiencing God's grace one day at a time.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Groups.txt trouble
« Reply #4 on: June 20, 2009, 11:13:11 AM »
I tried renaming them, didn't do anything.

I believe I'm uploading it correctly. I replace the one in addons/ulib/data/ulib, correct? The admin and superadmin rank work fine, but all of the others don't.

Here's my console log from testing this after I changed a few rank names:

Quote
] rcon_password ***********************
] rcon ulx adduser failcake owner
autokick is disabled for »??²« Failcake
] rcon ulx adduser failcake gcupcake
] rcon ulx adduser failcake superadmin
(ADMIN) (Console) added user »??²« Failcake to group "superadmin"
[UCL] Access set.
(ADMIN) (Console) added user »??²« Failcake to group "superadmin"

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups.txt trouble
« Reply #5 on: June 20, 2009, 11:48:01 AM »
addons/ulib/data/ulib, correct?

No. Never. Ever. Replace default files.
I believe our comments in that file even state not to edit the default file, but to save it elsewhere...
gmod/data/ULib
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Groups.txt trouble
« Reply #6 on: June 20, 2009, 01:39:33 PM »
Ah, me, I'm an idiot. Thanks.

Now the problem is that the server doesn't seem to remember who's admin or not. I set myself to the owner rank I've configured, and I can use all the commands, but then the Stranded [Admin] tag doesn't appear (as it usually does when you're set to an admin rank on the server), and when I leave the server and come back/restart the server, ULX doesn't remember my rank. How can I fix that?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Groups.txt trouble
« Reply #7 on: June 22, 2009, 08:57:39 PM »
I'd start fresh.
Make sure you have no edited ULib/ULX files from latest release (as of June 20, 2009) or SVN.
You may have broken a default ULib groups file.
Delete/Move your server's gmod/data/Ulib folder, making note of the groups and people you wanted in those groups.
Readd one or two, including yourself.. restart server, see if that helps.
If all else fails, see our "Having trouble with access?" in the FAQs section of our forum.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Groups.txt trouble
« Reply #8 on: June 23, 2009, 09:07:44 AM »
Fixed. Thanks a ton.