Download Game! Currently 121 players and visitors. Last logged in:DreocaLozloPasigulaOmril

BatMUD Forums > General > Re: Deceitful Act of Mercy

 
 
#1
06 May 2011 10:15
 
 
Quote:
party say Heal-All thanks to Tugmeno
If this skill simulates a player showing mercy for his wounded opponent, then
why does it show that it is an offensive skill? Shouldn't it just show that a
skill is being used?
he? Heal all is a spell. Wouldn't know where you got the idea that it could be
a offensive skill.
I've said it many times and I'll say it again: Echoing incoming text back to
the mud with triggers is generally a really, really bad idea, unless you are
Ggr or Spid or some other trigger genius who REALLY knows what he is doing.
It is trivial to abuse triggers like that unless they are properly hardened.

Possible use-cases for this would be to for example keep clear,tell damogran
poster.. I'm sure you get the rest.
I _strongly_ urge you to remove <playername> with for example 'someone'.
"Iancurtis dissapears into thin air!" -> "party say Someone just got
banished!".


 
Rating:
4
Votes:
4
 
 
Malar
W i z a r d
7y, 97d, 7h, 40m, 6s old
Level:
102 [Wizard]
 
 
#2
06 May 2011 17:29
 
 
Quote:
Quote:
party say Heal-All thanks to Tugmeno
If this skill simulates a player showing mercy for his wounded opponent, then
why does it show that it is an offensive skill? Shouldn't it just show that a
skill is being used?
he? Heal all is a spell. Wouldn't know where you got the idea that it could be
a offensive skill.
I've said it many times and I'll say it again: Echoing incoming text back to
the mud with triggers is generally a really, really bad idea, unless you are
Ggr or Spid or some other trigger genius who REALLY knows what he is doing.
It is trivial to abuse triggers like that unless they are properly hardened.

Possible use-cases for this would be to for example keep clear,tell damogran
poster.. I'm sure you get the rest.
I _strongly_ urge you to remove <playername> with for example 'someone'.
"Iancurtis dissapears into thin air!" -> "party say Someone just got
banished!".
Just use something like ([A-Za-z ',-]*) and as long as your delim is ; you
should be on the safe side. More important is to prepand your trigger output
with a @. That escapes the output from the editor or such menus and avoids that
they end up in your post.

 
Rating:
1
Votes:
1
 
 
Tugmeno
46d, 0h, 49m, 59s old
Level:
47
 
 
#3
06 May 2011 17:58
 
 
Tugmeno wrote:
Quote:
Quote:
party say Heal-All thanks to Tugmeno
If this skill simulates a player showing mercy for his wounded opponent, then
why does it show that it is an offensive skill? Shouldn't it just show that a
skill is being used?
he? Heal all is a spell. Wouldn't know where you got the idea that it could be
a offensive skill.
I've said it many times and I'll say it again: Echoing incoming text back to
the mud with triggers is generally a really, really bad idea, unless you are
Ggr or Spid or some other trigger genius who REALLY knows what he is doing.
It is trivial to abuse triggers like that unless they are properly hardened.

Possible use-cases for this would be to for example keep clear,tell damogran
poster.. I'm sure you get the rest.
I _strongly_ urge you to remove <playername> with for example 'someone'.
"Iancurtis dissapears into thin air!" -> "party say Someone just got
banished!".
Just use something like ([A-Za-z ',-]*) and as long as your delim is ; you
should be on the safe side. More important is to prepand your trigger output
with a @. That escapes the output from the editor or such menus and avoids that
they end up in your post.
Or just use ([A-Za-z]+) as there are no spaces or other special characters in
players names, except for silly jingle hat wearers.

--Hair

 
 
 
Hair
N e w b i e  H e l p e r
2y, 31d, 8h, 40m, 9s old
Level:
98
 
 
#4
17 May 2011 00:02
 
 
Malar wrote:
Quote:
party say Heal-All thanks to Tugmeno
If this skill simulates a player showing mercy for his wounded opponent, then
why does it show that it is an offensive skill? Shouldn't it just show that a
skill is being used?
he? Heal all is a spell. Wouldn't know where you got the idea that it could be
a offensive skill.
I've said it many times and I'll say it again: Echoing incoming text back to
the mud with triggers is generally a really, really bad idea, unless you are
Ggr or Spid or some other trigger genius who REALLY knows what he is doing.
It is trivial to abuse triggers like that unless they are properly hardened.

Possible use-cases for this would be to for example keep clear,tell damogran
poster.. I'm sure you get the rest.
I _strongly_ urge you to remove <playername> with for example 'someone'.
"Iancurtis dissapears into thin air!" -> "party say Someone just got
banished!".
Alternatively, if you match a name, and your client can use regular
expressions, you should match ([A-Z][a-z]+) for the pattern -- this should
generally be safe, as long as your delimeter isn't a letter (and if it is,
then you have other problems).

 
 
 
Ooga
C o d e s l a v e
4y, 59d, 22h, 58m, 29s old
Level:
21 [Wizard]