Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Fri Mar 13, 2009 1:27 am   

(Fixed) [3.05] #capture and disappearing MXP colors after a prompt
 
I thought I had already found and reported all the #capture bugs, but I've found another.
I had thought this one was part of another capture bug I posted on earlier
(http://forums.zuggsoft.com/forums/viewtopic.php?t=32964). However, when Zugg
mentioned that the other one should only involved multiple background colors on a line, I had to go
back and look again at this one because I see this occurring on every line I capture.

If the following conditions are met, then the foreground text color being captured to another window will turn
black which will make it appear to disappear.

The conditions are:
- It must occur after a prompt (whether ATCP is a factor I don't know). This drove me crazy trying to track this down.
I'd do this off-line (no prompts) and it wouldn't occur. I'd connect to the Mud and it would start happening again.
- Use #cw to color a word with an MXP color.

Because I have MXP coloring on every line I capture and every line is after a prompt, I see it occur on every line.

Instructions:
Code:

1) Open Cmud, hit escape to get to a blank session.
2) Copy the xml code below and paste it into the root of your blank settings editor window. 
3) Type: go

What you should see.  I show a prompt, then after the prompt I print 3 lines. 
1st&2nd - Show what happens to the mxp word when captured to the Channels window right after a prompt. 
3rd - Shows what happens when you advance a few lines after the prompt, it begins to appear again.


Code:
Code:

<class name="test" id="7">
  <trigger priority="34700" case="true" repeat="true" regex="true" id="8">
    <pattern>\bOne\b</pattern>
    <value>#cw sandybrown</value>
  </trigger>
  <trigger priority="99981" case="true" regex="true" id="10">
    <pattern>^One</pattern>
    <value>#cap Channels
#gag
</value>
  </trigger>
  <alias name="go" id="15">
    <value>#showprompt {= %e[1~;32mS%e[0~;37m--%e[1~;32m@h%e[0~;37m98,%e[1~;32mH%e[0~;37m97,%e[33mCE%e[37m100%,%e[33mW-%e[37mSE%e[33m@%e[37m7kts,%e[33mC/S-%e[37mW%e[33m@%e[37m0,%e[1~;32mII%e[0~;37m%cr%char(10)%char(255)%char(250)%char(200)Char.Vitals%char(10)H:8768/8768 M:8867/8867 E:39455/39455 W:36245/36245 NL:1/100 %char(255)%char(240)%e[32m8768h, %e[37m%e[32m8867m, %e[37m%e[32m39455e, %e[37m%e[32m36245w %e[37mcexdb-%char(255)%char(239)}
#show {One - First After}
#show {One - Second After}
#show {One - Third After}
</value>
  </alias>
</class>


Last edited by ReedN on Sat Apr 18, 2009 7:14 pm; edited 3 times in total
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Sun Mar 15, 2009 4:55 am   
 
Edit: With further testing I think this affects background colors as well. Changed the title of the topic to reflect this.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Mar 17, 2009 5:25 am   
 
Weird, but confirmed.
_________________
Asati di tempari!
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Mar 17, 2009 7:43 pm   
 
Zugg: Can you confirm this bug?
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Sat Apr 18, 2009 4:30 pm   
 
Confirmed fixed 3.06 (Fixed problem with MXP foreground color after a prompt).
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net