Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: TylerPlays on May 23, 2016, 03:36:32 PM

Title: Group Targeting
Post by: TylerPlays on May 23, 2016, 03:36:32 PM
Ok so I ran into a problem today
When I do ulx setgroupcantarget "SeniorAdmin" "!%SeniorAdmin" (which is what someone told me to do) they can still pick me (owner) up
Please help and its like this with every other rank.
And when I do just "SeniorAdmin" They cant do anyone
Title: Re: Group Targeting
Post by: Megiddo on May 23, 2016, 03:37:22 PM
How is your group inheritance chain setup?
Title: Re: Group Targeting
Post by: TylerPlays on May 23, 2016, 03:44:01 PM
It goes Owner Inherits from SuperAdmin Superadmin inherits from admin, SeniorAdmin Inherits from admin (that might be where its wrong) and then then admin inherits mod mod inharits from jrmod jrmod inherits from donator+ donator+ inherits from donator donator inherits from trusted and trusted inherits from user
Title: Re: Group Targeting
Post by: TylerPlays on May 23, 2016, 04:00:05 PM
How is your group inheritance chain setup?
So u got anything?
Title: Re: Group Targeting
Post by: Caustic Soda-Senpai on May 23, 2016, 04:21:35 PM
Is this DarkRP?
Have you disabled FAdmin?
Title: Re: Group Targeting
Post by: TylerPlays on May 23, 2016, 04:29:31 PM
Is this DarkRP?
Have you disabled FAdmin?
This is darkrp and no I have not disabled it, but thats not the problem, they can also still bring me and the groups higher then them
Title: Re: Group Targeting
Post by: Bytewave on May 23, 2016, 05:17:49 PM
It goes Owner Inherits from SuperAdmin Superadmin inherits from admin, SeniorAdmin Inherits from admin (that might be where its wrong) and then then admin inherits mod mod inharits from jrmod jrmod inherits from donator+ donator+ inherits from donator donator inherits from trusted and trusted inherits from user
Branching inheritance trees like yours require specific can_target configurations to work---the !% specifier is only built to follow a linear tree. Instead, you will have to manually specify all groups that should be target-able by the group in a comma-separated list, prefixed with #.

Example:
Say you have 4 groups. You want group11 to only be able to target groups below it.
inheritance treegroup11 -
(top)    | - group2 - group3
group01 -
can_target list for group11#group2, #group3
Title: Re: Group Targeting
Post by: TylerPlays on May 23, 2016, 06:46:13 PM
Branching inheritance trees like yours require specific can_target configurations to work---the !% specifier is only built to follow a linear tree. Instead, you will have to manually specify all groups that should be target-able by the group in a comma-separated list, prefixed with #.

Example:
Say you have 4 groups. You want group11 to only be able to target groups below it.
inheritance treegroup11 -
(top)    | - group2 - group3
group01 -
can_target list for group11#group2, #group3
How to i edit the tree?
Title: Re: Group Targeting
Post by: TylerPlays on May 25, 2016, 05:59:17 AM
bump, someone pls help!
Title: Re: Group Targeting
Post by: OpticPotatOS on May 25, 2016, 10:09:42 AM
Why have an owner group? Just use superadmin, I never understand that mentality.

You can edit in the inheritance tree in your groups.txt in garrysmod/data/ulx (I think that's the directory, not sure).
Title: Re: Group Targeting
Post by: TylerPlays on May 25, 2016, 10:20:38 AM
Why have an owner group? Just use superadmin, I never understand that mentality.

You can edit in the inheritance tree in your groups.txt in garrysmod/data/ulx (I think that's the directory, not sure).
Thats not where it is
Theres no file with the ranks in it
Title: Re: Group Targeting
Post by: Bytewave on May 25, 2016, 10:49:50 AM
Thats not where it is
Theres no file with the ranks in it
Nooooo. Do not manually edit data files unless told how to!
Your inheritance tree is what you said earlier. x inherits from y, y inherits from z, and so on. If you make a linear, non-branching tree using the ULX menu, that will work, or you can do what I told you if you want to keep your inheritance format but fix targeting.
Title: Re: Group Targeting
Post by: Caustic Soda-Senpai on May 25, 2016, 08:10:34 PM
This is darkrp and no I have not disabled it, but thats not the problem, they can also still bring me and the groups higher then them

That's one of the issues leaving FAdmin enabled does.
Lemme guess, they can physgun you too, right?
Title: Re: Group Targeting
Post by: TylerPlays on May 25, 2016, 09:00:04 PM
That's one of the issues leaving FAdmin enabled does.
Lemme guess, they can physgun you too, right?
Ya they can
Title: Re: Group Targeting
Post by: Caustic Soda-Senpai on May 26, 2016, 01:38:17 PM
Ok, so disable FAdmin (http://forums.ulyssesmod.net/index.php/topic,8810.msg45146.html#msg45146) and see if it fixes your problem. If it still does, then we can look at your inheritance trees/perms/etc..
Title: Re: Group Targeting
Post by: davidk911 on June 07, 2016, 02:32:16 PM
Disable fadmin in darkrpmodification > settings, then setup your inheritance in order of ranks, for example owner inherits from superadmin, superadmin inherits from admin, admin inherits from mod, mod inherits from user, then on setgroup can target do this user = !%mod, mod = !%admin, admin = !%superadmin, superadmin= !%owner, this is how my ranks are setup but with more ranks and it works fine this way.

To do this go to the groups tab in the ulx menu, and select the group you want to set inheritance and setgroupcantarget for.