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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
XonDK
Apprentice


Joined: 01 Dec 2006
Posts: 178

PostPosted: Sun Jul 27, 2008 9:44 pm   

Weird Color trigger bug.
 
So i'm using this trigger.
Code:
^\033\[1;37;46m(.*)\033\[0m$


to capture a line that is cyan background a white text.
and then alter it with #SUB {%ansi(15)%1}
Now it works most of the time without a flaw.
But if the line becomes extra long the %ansi color setting stops working and zmud displayes the rest of the line with cyan background and white text.
anyone got any idea what's happening?
And yes it is set up as an ansi trigger.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Jul 28, 2008 4:54 pm   
 
Have you checked whether the mud is inserting ansi codes in the middle of the line?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jul 28, 2008 5:01 pm   
 
Unfortunately, #SUB does not work properly within ANSI color triggers. This is a known problem and will be improved in the future.
Reply with quote
XonDK
Apprentice


Joined: 01 Dec 2006
Posts: 178

PostPosted: Mon Jul 28, 2008 6:20 pm   
 
ah alright, its livable until it is fixed.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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