ULX

Author Topic: ULX Chain Inheritance for Can Target  (Read 1573 times)

0 Members and 1 Guest are viewing this topic.

Offline Walter Jordan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX Chain Inheritance for Can Target
« on: July 30, 2016, 11:35:00 AM »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

My ULib/ULX versions (run "ulx version" in console):
ULib v2.60d (02/17/16)
ULX v3.70d (02/28/16)


Game mode(s) I am having this problem on: Sandbox

So I am the HeadAdmin on a server. I am trying to fix our cantarget permissions so that our "Trusted" rank cannot kick anyone above them (this goes for any command for any rank, but this one in particular because they can kick the owner if they wanted). I have double checked the chain making sure that from the "user" rank and up the group's cantarget looks like !%<above group> and inherits from <belowgroup>. I unfortunately cannot get the output of the "ulx debuginfo" command that people have said to run in other forums because I do not have access to the filesystem of the server. If this "chain inheritance" doesn't actually work, then would I have to manually say each and every group a group can target and how would I go about doing that? Thanks for any help and I will try and get the output from the debuginfo ASAP.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Chain Inheritance for Can Target
« Reply #1 on: July 30, 2016, 05:32:18 PM »
Walter, inheritance and can_target work perfectly fine when there are no incorrect group branches in the tree, and when there are no conflicting addons.
You COULD use !#each,!#group,!#you,!#dont,!#want,!#targeted individually, (pound sign in front of group ignores inheritance) BUT, it really would be best if you use correct inheritance trees with no branching access, that simplifies the whole specification of multiple groups.
While a trusted and a headadmin are connected, please have the host/server owner run the debuginfo and get the file it outputs
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming