|
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Tue Dec 04, 2007 5:47 am
[2.14a] %ansi bleeding to start of next line. |
I've not noticed this much, using %ansi a lot, but it seems to happen on this trigger in particular:
Quote: |
Your ghostly image slowly intensifies until you appear flesh and blood again.
-(Ghost)
conjure ghost
H:202 M:236 E:910 <eb d> <05:32:02:332> |
bold/italic is supposed to be colored, bolded is colored as a result of the trigger.
Code: |
<trigger priority="1020" id="102">
<pattern>^Your shroud fades and you are visible once more.$</pattern>
<value>#SAY %ansi(red)-~(Cloak~)
conjure cloak</value>
</trigger> |
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Dec 04, 2007 6:00 am |
Yep, I think this is the same as some of the other %ansi bugs that have been reported in 2.14a. I think I already have this fixed in 2.15. At least your example seems to work fine in 2.15. But there was definitely a problem with changing the color at the start of a line following a default colored line.
|
|
|
|
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Tue Dec 04, 2007 6:26 am |
Thanks. I wasn't certain if it was the same reading over the other threads.
|
|
|
|
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Mon Dec 10, 2007 4:14 am |
I can say this is still happening in 2.16. (Same script, etc.)
I ran it through the debugger:
Code: |
0.0134 |
0.0005 | h Imperian ]<ESC>[37mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[50m<<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S1<ESC>[0S2<ESC>[0S:<ESC>[0S0<ESC>[0S2<ESC>[0S:<ESC>[0S2<ESC>[0S1<ESC>[0S7<ESC>[50m><ESC>[0m
1.8661 | ---
0.0016 | c Imperian | exec : #SHOW Your ghostly image slowly intensifies until you app...
0.0180 | a Imperian |H:202 M:257 E:910<skill> <eb<skill>> <skill><04:12:02:217<skill>>
0.0009 | h Imperian |<ESC>[37mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[50m<<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S1<ESC>[0S2<ESC>[0S:<ESC>[0S0<ESC>[0S2<ESC>[0S:<ESC>[0S2<ESC>[0S1<ESC>[0S7<ESC>[50m><ESC>[0m
0.0039 | i Imperian > <CR><LF>
0.0075 | a Imperian |<skill>Your ghostly image slowly intensifies until you appear flesh and blood again.
0.0006 | h Imperian |<ESC>[37mYour ghostly image slowly intensifies until you appear flesh and blood again.<ESC>[0m
0.0004 | f Imperian | Pattern: ^Your ghostly image slowly intensifies until you appear f...
0.0005 | c Imperian | exec : Pattern "^Your ghostly image slowly intensifies until you...
0.0184 | a Imperian |-(Ghost)
0.0004 | h Imperian |<ESC>[31m-(Ghost)<ESC>[0m
0.0041 | i Imperian >conjure ghost<CR><LF>
0.1751 | i Imperian <H:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32me<ESC>[37m<ESC>[32mb<ESC>[37m> <IAC><GA>
0.0015 | a Imperian ]H:202 M:257 E:910
0.0003 | h Imperian ]<ESC>[31mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[0m
0.0011 | f Imperian | Pattern: ^H:(%d) M:(%d) E:%d ~<*~> $ : (%1=202, %2=257)
0.0089 | c Imperian | exec : Pattern "^H:(%d) M:(%d) E:%d ~<*~> $" : #SAYP %ansi(8)~<%...
0.0242 | a Imperian ]H:202 M:257 E:910 <eb> <04:12:04:373>
0.0006 | h Imperian ]<ESC>[31mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[50m<<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S1<ESC>[0S2<ESC>[0S:<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S3<ESC>[0S7<ESC>[0S3<ESC>[50m><ESC>[0m
0.1637 | i Imperian <<CR><LF>
0.0001 | You are already ghosting.<CR><LF>
0.0000 | H:<ESC>[32m202<ESC>[37m M:<ESC>[32m252<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32me<ESC>[37m<ESC>[32mb<ESC>[37m> <IAC><GA>
0.0209 | a Imperian |H:202 M:257 E:910<skill> <eb<skill>> <skill><04:12:04:373<skill>>
0.0163 | h Imperian |<ESC>[31mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m257<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[50m<<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S1<ESC>[0S2<ESC>[0S:<ESC>[0S0<ESC>[0S4<ESC>[0S:<ESC>[0S3<ESC>[0S7<ESC>[0S3<ESC>[50m><ESC>[0m
0.0156 | a Imperian |You are already ghosting.
0.0005 | h Imperian |<ESC>[37mYou are already ghosting.<ESC>[0m
0.0022 | a Imperian ]H:202 M:252 E:910
0.0003 | h Imperian ]<ESC>[37mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m252<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> <ESC>[0m
0.0100 | f Imperian | Pattern: ^H:(%d) M:(%d) E:%d ~<*~> $ : (%1=202, %2=252)
0.0132 | c Imperian | exec : Pattern "^H:(%d) M:(%d) E:%d ~<*~> $" : #SAYP %ansi(8)~<%...
0.0029 | a Imperian ]H:202 M:252 E:910 <eb> <04:12:04:654>
0.0017 | h Imperian ]<ESC>[37mH:<ESC>[32m202<ESC>[37m M:<ESC>[32m252<ESC>[37m E:<ESC>[32m910<ESC>[37m <<ESC>[32meb<ESC>[37m> |
Hope this helps. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Dec 11, 2007 6:39 pm |
Can you indicate somehow what part of the output is messed up or perhaps show a screen shot of the problem? I'm still confused as to what is happening.
|
|
|
|
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Wed Dec 12, 2007 3:53 am |
I'll get a screenshot or a log of it in a bit. Basically, the color is going over to the H:
Quote: |
Your ghostly image slowly intensifies until you appear flesh and blood again.
-(Ghost)
conjure ghost
H:202 M:236 E:910 <eb d> <05:32:02:332> |
Italic is what's -meant- to be colored by %ansi, H: is also being colored (which is on the next line.)
As I said, I'll get an ansi log of it in a bit. |
|
|
|
|
|