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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
eclpmb
Novice


Joined: 29 Feb 2004
Posts: 36
Location: United Kingdom

PostPosted: Fri Mar 10, 2006 10:38 am   

Colour messing up automapping, help?
 
I'm on a Dawn of Time mud. The mapper usually works fine on the other Dawn of Time muds I've played on, but this particular mud has an 'explosion in a paint factory' colour scheme, and this messes up the mapper.

The room titles have many colour changes, and this seems to completely throw the mapper. Sometimes it just detects the first letter of the room name, sometimes it's not detected at all.

Turning colour off in the mud lets the mapper work perfectly - but the room titles or discriptions won't be recognized when colour is turned back on.

Is there any way to just strip all colour codes (which could be ansi or #mxp depending on the mode of the mud) so the mapper just sees the plain text? I like my bright mud but I like the mapper to work too!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Mar 10, 2006 9:41 pm   
 
I seem to recall a %stripansi() function, but as I've been beating my head against a wall trying to absorb PHP I'm not sure if it's part of zmud's scripting language or not.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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