Color at char creation

Posted by OniPanda on Wed 05 Nov 2003 10:28 AM — 3 posts, 13,018 views.

#0
I added samson's color to my code, and it works just about everywhere, except for when you create a new character. I also added ansi login (forcing ansi right now), and it displays the color properly in the greeting file, and I can make it show color when it asks for the password of an existing character, but it wont show color for anything past

sprintf( buf, "\n\rChoosing a name is one of the most important parts of this game...\n\r"
              			"Make sure to pick a name appropriate to the character you are going\n\r"
               			"to role play, and be sure that it suits a medieval theme.\n\r"
               			"If the name you select is not acceptable, you will be asked to choose\n\r"
               			"another one.\n\r\n\rPlease choose a name for your character: ");
          send_to_desc_color( buf, d );

(it shows color in that part though).

I've been thinking about this problem for the past 2 days and have come up short. Is there something I'm missing?
Amended on Wed 05 Nov 2003 10:32 AM by OniPanda
Canada #1
I had the exact same problem with that code, I'm running SWR, that might be why, I dunno, but I forced the color codes. I know that this might be bad, but who doesn't run an ansi-capable client, regardless of whether they use colors or not. You might try that.
#2
Thanks, it works that way, but it's a whole lot more messy (thankfully I'm only using 2 colors so I don't have to use a bunch and get confused on what color i'm puttin in).

Still if anyone knows why it does that, I'd like to know.