ULX

Author Topic: can target not fully working  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
can target not fully working
« on: July 27, 2016, 01:25:37 PM »
my head admin is not able to kill me but is still able to blind me. how?
~ Undercover Orange

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: can target not fully working
« Reply #1 on: July 27, 2016, 01:26:40 PM »
ULib v2.61
ULX v3.71
~ Undercover Orange

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: can target not fully working
« Reply #2 on: July 27, 2016, 03:20:14 PM »
You likely have inheritance, can_target, and or explicit permissions broken.
"ulx debuginfo" from server console while you and headadmin are connected.
Attach the txt file from the location it gives you to your next post.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: can target not fully working
« Reply #3 on: July 27, 2016, 03:25:34 PM »
here it is. also why cant i check the box that says notify me of replies? it comes back with an error
~ Undercover Orange

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: can target not fully working
« Reply #4 on: July 27, 2016, 03:51:48 PM »
Now that I've simplified your inheritance tree, along with the can_target's, can you see your problem?

Code: [Select]
Inheritance in order of can_target (as close as possible with current non-splitting branches)
Owner:
inherit_from = superadmin
Co-Owner:
can_target = !%Owner
inherit_from = Head Admin
Head Admin:
can_target = !%Co-Owner
inherit_from = superadmin
superadmin:
inherit_from = admin
admin:
can_target = !%superadmin
inherit_from = operator
Donator:
can_target = !%admin
inherit_from = operator
Donator Type 2:
can_target = !%admin
inherit_from = Donator
Respected Member:
inherit_from = operator
operator:
can_target = !%admin
inherit_from = user
Custom PM:
inherit_from = user
user:

You can't have multiple groups inherit superadmin (or multiple groups inherit the same group) and then set odd can-targets that don't match without knowing exactly how access control lists work, and being confident in how to set them. (Trust me, I can tell you're not quite there, one day perhaps, but not now)

You have Head Admin inheriting superadmin, and you have Owner inheriting superadmin.
I recommend owner inherit co-owner, co-owner inherit head admin, head admin inherit superadmin.
Go from there, see what works/breaks.

(But personally, I'm a firm believer of none of that)
https://forums.ulyssesmod.net/index.php?topic=6291.0
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: can target not fully working
« Reply #5 on: July 27, 2016, 03:55:03 PM »
oh. i knew i was forgetting to do something. i had it all set up right before my server got wiped. then i had to do it all again
~ Undercover Orange