|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Aug 29, 2007 1:55 am
[2.01] #SUB bleedover |
At the top you can see how its supposed to be... this is annoying.
the #SUB text only seems to bleed into the next #SUB when <send> is used in it... but #CW seems to bleed into the next line if #SUB is used no matter what, using the same %length as the string that was colored. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Aug 29, 2007 8:27 pm |
Please post the exact trigger and #SUB that you are using so that I can try to reproduce this.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Thu Aug 30, 2007 12:20 am |
#TR {{@cStart}, you thrust * @weapon at {a|an} @target.%s{@cEnd} land {a|an} (%w) hit to {his|her|its} (*) as {a|an} @target fails to dodge the attack.} {#SUB {<color dodgerblue>You Attack! </color><color firebrick> %proper(%1) hit to @target's %2.</color>}}
#TR {^({A|An}) ({@killable})} {#SUB {%1 <send 'kill %2'>%2</send>}}
#TR {, "*"} {#CW aqua}
#VAR killable {asapi|eosheai} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Aug 30, 2007 5:20 pm |
Sorry, but I also need some sample text from the MUD that fires this trigger. Also, I don't see the definition of the @cStart, @cEnd, @weapon and @target variable that is used in your trigger.
I tried using some sample values to get your trigger to fire and tried to simulate the text show in your screenshot. And while I'm getting the already reported problems with the colors and links sometimes not showing up, I'm not getting the text overwrite that you were reporting.
The best way to capture some sample text for me to test this with is using the #DEBUG command. Type:
#DEBUG test.txt test.raw
and then do whatever on your MUD to cause this combat text to display the problem. Then exit CMUD and send me both files as email attachments to sales@zuggsoft.com. That will allow me to replay the *exact* text that the MUD is sending to test your triggers. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Thu Aug 30, 2007 6:42 pm |
@target is defined by the kill alias, but its usually one of the members of @killable
weapon=quarterstaff
#VAR cEND {"With little resistance, you"|You|"With finesse, you"|"Mercilessly, you"|"In a display of skill, you"|"Amazingly, you"|"Somehow, you"|"In short order, you"|"In a display of true skill, you"}
#VAR cStart {Powerfully|"Rapidly moving"|"Moving gracefully"|"Lashing out fiercely"|"Striking swiftly"|"Moving in quickly"|"Moving deliberately and carefully"|"Focused intently"|"Running more on luck than skill"|"Stumbling awkwardly"|"In a display of raw power"}
files on the way |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|