ULX

Author Topic: Immunity: How It Works Now  (Read 63640 times)

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Immunity: How It Works Now
« Reply #15 on: May 27, 2010, 03:44:55 PM »
wow thank you megiddo

To tell the truth didn't think this would get answered.

It made sense.
The old immunity would allow targeting of one self if that person had immunity.
The change Megiddo just kind of matches that ability to.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity: How It Works Now
« Reply #16 on: May 27, 2010, 04:12:28 PM »
It made sense.
The old immunity would allow targeting of one self if that person had immunity.
The change Megiddo just kind of matches that ability to.

It was honestly just one of those things I hadn't thought about happening until it was pointed out. :P
Experiencing God's grace one day at a time.

Offline DeimosTK

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Immunity: How It Works Now
« Reply #17 on: June 13, 2010, 01:59:55 PM »
Question, if I set something up like this,

Code: [Select]
ulx userallow Bob "ulx slap" "!%regular ^"
would this allow Bob to slap everyone below Regular, as well as himself?
Or would it make it so he can only slap himself if he's below Regular?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity: How It Works Now
« Reply #18 on: June 13, 2010, 03:14:18 PM »
Question, if I set something up like this,

Code: [Select]
ulx userallow Bob "ulx slap" "!%regular ^"
would this allow Bob to slap everyone below Regular, as well as himself?
Or would it make it so he can only slap himself if he's below Regular?

Log:
Quote
] ulx who
ID Name                            Group
1  [ULX]Megiddo                    superadmin
] ulx slap ^
You slapped yourself with 0 damage
] ulx userallow ^ "ulx slap" "!%admin"
You granted access to ulx slap with access tag !%admin for yourself
] ulx slap ^
Command "ulx slap", argument #1: you cannot target this person or these persons
] ulx userallow ^ "ulx slap" "!%admin,^"
You granted access to ulx slap with access tag !%admin,^ for yourself
] ulx slap ^
You slapped yourself with 0 damage

The "," means and while it's being parsed. So with userallow "ulx slap" "!%superadmin,^", you're saying the person can slap anyone who is not a superadmin (or higher) and themselves.
Experiencing God's grace one day at a time.

Offline DeimosTK

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Immunity: How It Works Now
« Reply #19 on: June 13, 2010, 03:55:14 PM »
Log:
The "," means and while it's being parsed. So with userallow "ulx slap" "!%superadmin,^", you're saying the person can slap anyone who is not a superadmin (or higher) and themselves.
Epic, thanks!

Offline Fair

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Immunity: How It Works Now
« Reply #20 on: June 15, 2010, 05:13:49 AM »
How would this look like in the group.txt file?

The same?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity: How It Works Now
« Reply #21 on: June 15, 2010, 05:49:05 AM »
How would what look?
Experiencing God's grace one day at a time.

Offline Fair

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Immunity: How It Works Now
« Reply #22 on: June 15, 2010, 12:16:49 PM »
Like

"allow"
{
"ulx slap" "!%superadmin,^"
}

?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity: How It Works Now
« Reply #23 on: June 15, 2010, 03:11:32 PM »
Yes
Experiencing God's grace one day at a time.

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
Re: Immunity: How It Works Now
« Reply #24 on: December 02, 2013, 08:16:42 AM »
Say I wanted to allow my donator ranks a few fun commands, however my admins not. But the admins still able to target the donators, and the donators not allowed to target the admin, would this be possible?

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Immunity: How It Works Now
« Reply #25 on: December 02, 2013, 12:06:20 PM »
Say I wanted to allow my donator ranks a few fun commands, however my admins not. But the admins still able to target the donators, and the donators not allowed to target the admin, would this be possible?
Yes that is possible.
Donator immunity tag should be !%operator
operator immunity tag should be !%admin
etc...
then simply give donators whichever commands you want.
Also, this thread is 4 years old, you really should have made a new one.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Immunity: How It Works Now
« Reply #26 on: December 02, 2013, 03:57:34 PM »
Nah. He's fine for necro'ing this one.
It's linked from a FAQ, and likely how he got here.
I'd rather folks read the FAQs and have questions in an old thread than not read the FAQs and start new threads asking questions already answered.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Gower

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: Immunity: How It Works Now
« Reply #27 on: December 03, 2013, 07:22:48 AM »
I tried to do

ulx groupallow operator ulx ragdoll !%admin

It said that I had done it in chat, but operators still couldn't ragdoll people, not even themself. What is wrong?

Also if i do !%admin, will it automatically be blocked for ranks higher than admin?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Immunity: How It Works Now
« Reply #28 on: December 03, 2013, 05:14:08 PM »
"ulx ragdoll" is the command, but it has a space, so you'll need to type the following in the console:

Code: [Select]
ulx groupallow operator "ulx ragdoll" !%admin
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Immunity: How It Works Now
« Reply #29 on: December 03, 2013, 06:21:32 PM »
Also if i do !%admin, will it automatically be blocked for ranks higher than admin?
Only if 'higher' ranks inherit the admin group in some way.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming