General > Off-Topic
can target not fully working
Undercover Orange:
my head admin is not able to kill me but is still able to blind me. how?
Undercover Orange:
ULib v2.61
ULX v3.71
JamminR:
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.
Undercover Orange:
here it is. also why cant i check the box that says notify me of replies? it comes back with an error
JamminR:
Now that I've simplified your inheritance tree, along with the can_target's, can you see your problem?
--- Code: ---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:
--- End code ---
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
Navigation
[0] Message Index
[#] Next page
Go to full version