The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

tether colour bleed

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » 1.69r typos and mobprog bugs fixed in the upcoming release
View previous topic :: View next topic  
Author Message
Daos



Joined: 29 Jan 2003
Posts: 1218
Location: United States

PostPosted: Fri Feb 10, 2006 8:08 pm    Post subject: tether colour bleed Reply with quote

Hi -

The code below causes a colour bleed into the room when a pet is tethered.

Code:
if (IS_TETHERED(victim))
   {
      ch->printlnf( "%s`#`s%s is tethered here.`&",
         buf, capitalize( PERS( victim, ch )));
        return;
   }


Here is your fix:

Code:
if (IS_TETHERED(victim))
   {
      ch->printlnf( "%s`#`s%s is tethered here.`B",
         buf, capitalize( PERS( victim, ch )));
        return;
   }



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kalahn
Codebase Developer


Joined: 18 Jan 2003
Posts: 710
Location: New Zealand

PostPosted: Fri Mar 03, 2006 11:01 am    Post subject: Reply with quote

Nicely spotted.

I actually used
Code:
ch->printlnf( "%s`s%s is tethered here.`=D",
which removes unused `# code.

Note `=D is the correct custom colour code for mobs in rooms (type "col show room")... replaced the `B a few lines lower as well.

Thanks,

- Kal


Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » 1.69r typos and mobprog bugs fixed in the upcoming release All times are GMT + 13 Hours
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


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin