|
NitroGlycerine Beginner
Joined: 26 Apr 2007 Posts: 29
|
Posted: Tue Apr 01, 2008 10:24 pm
[2.21] problem with colors |
I'm not so familiar with how colors are displayed but I'm experiencing the following issue:
The normal text color for the mud I'm playing is white, but for some reason the white is often replaced by bright white. Messages on the screen that are a result of me sending a command to the mud are displayed in bright white, while messages that are a result of anything else happening are displayed correctly. This made me believe that it was the local echoing of the command was causing the problems. So I disabled the echoing of the command, but the problem still persisted. Here's a short log to illustrate the problem. As soon as another color is displayed the problem fixes itself.
I mark the wrongly bright white colored text in BOLD. The commands are marked in italic.
Quote: |
Jimmin lets out a long, rattling snore.
4359h, 4686m cexkdb-qw
Dougert, Dontarion, Faolin, Urbino, Asamu, Belkar, Nisa, Jhake, Mellisa, Flynne, Brome, Ganimade, Cirdan, Tader, Aurianna, Iainwyr, Seikaku, Gloirin, Braeley, Payne, Terra, Kieriel, Wulfric, Antras, Divinia, Cyrella, Raigor, Azzad, Daklore, Beya, Kest, Irilden, Azmarith, Krik, Alollyra, Luciano, Caneloc, Charlei, Braonain, Ailya, Mei, Agrias, Xandek, Khyran, Fanniya, Flurr, Skarash, Cerusse, Voy, Dexodro, Fayde, Sylverian, Delphinus, Malic, Sans, Jimmin, Arcturyx, May, Lyndee, Hermaldo, Falx, Skybolt, Xzander, Darlah, Marley, Zambuk, Infinious, Ravaella, Thoth, Zhisana, Syvakel, Siduri, Sanek, Cragheyder, Aromaros, Kuronoroi, Demfrax, Cris, Fez, Madus, Zamora, Siquel, Melodie, Poergh, Myrridhin, Cavold, Anschauung, Varnes, Darby, Kasandria, Attis, Dragonknight, Miagorme, Reghna, Amunet, Laeki, Jaryn, Alves, Anryx, Amarus, Nythan, Oolanga, Calira, Renee, Shaad, Cheryl, Destarius, Nayati, Valamir, Ernack, Trendor, Barnak, Isis, Seraphor, Soludra, Leota, Kerrilynn, Nitrile, Hira, Machet, Sammie, Evans, Romeo, Merador, Lachlan, Finamor, Jeryn, Rotarian, Krans, Antonius, Hanan, Roxas, Tenebrus, Bob, Relyt, Scrim, Rystal, Ksiaten, Anck, Indaba, Daleo, Deroe, Kentaesin, Wattsee, Foae, Gamdian, Grava, Xryxel, Mycen, Ekos, Praz, Xaruthan, Darroth, Bengt, Shars, Paulus, Eurulis, Khe, Nixxe, Valeska, Klaw, Valeo, Gwenfyre, Kendric, Ezalia, Yarb, Eloquay, Laren, Arthanis, Rho, Jehannum, Anicetus, Seker, Peladoris, Josepe, Lisbethae, Kiltha, Xandiee, Lelle, Daeki, Aecius, Decan, Santar, Glithoniel, Attrocity, Crythril, Nitro.
4359h, 4686m cexkdb-stat
You are scantily clad and likely to catch a chill, and you are utterly satiated.
You are fully rested.
You are an enemy of: Shaitan, Cij, Mhaldor, Congregation.
You are a student of 0 languages.
You have 519 learning sessions for further language study.
You have a shouting voice which others will hear as: A female voice resonates with the power of Queen Catarin herself, "Blah blah blah."
You have the ability to recompose your background one more time, courtesy of the Pentad!
You have one free reincarnation.
Your warcry: '.'
4359h, 4686m cexkdb-jump
You jump into the air and land with a bump.
4359h, 4686m cexkdb-
|
In the log you can see that the output after the command "QW" "STAT" and "JUMP" is wrongly colored. The name -Thoth- in the QW list is colored in green by the mud, and apparently it fixes the problem, causing the rest of the QW list to be displayed correctly. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
NitroGlycerine Beginner
Joined: 26 Apr 2007 Posts: 29
|
Posted: Wed Apr 02, 2008 12:52 pm |
recorded the issue with #debugfile
screenshot
test.txt
Edit: better illustration of the issue
Edit2: I redid the #debugfile to include a normal correctly displayed line to illustrate the difference. |
|
Last edited by NitroGlycerine on Wed Apr 02, 2008 1:42 pm; edited 6 times in total |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Wed Apr 02, 2008 12:58 pm |
You -might- want to capture more than this in your files, simply because it doesn't show any ANSI codes before the "qw" is sent.
|
|
|
|
NitroGlycerine Beginner
Joined: 26 Apr 2007 Posts: 29
|
Posted: Wed Apr 02, 2008 1:00 pm |
Larkin wrote: |
You -might- want to capture more than this in your files, simply because it doesn't show any ANSI codes before the "qw" is sent. |
Exactly, I've recorded QW x2 now. It should show the issue.
Also I've disabled local coloring of names to avoid confusion. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Apr 02, 2008 5:01 pm |
How is "Romeo" getting colored? I don't see any ANSI color codes in the dump file that you posted. Are you sure you don't have some triggers running that are trying to color the text?
If you have triggers running that change or color the text, then we need to see those triggers so that we can try to reproduce the problem. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Apr 02, 2008 5:11 pm |
The text is coloured... dunno if that was changed in an edit, but it is:
Code: |
<ESC>[1;33mRomeo<ESC>[0;37m |
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Apr 02, 2008 7:17 pm |
Oops, I must have scrolled the text too fast and missed it. I think this is fixed by the bug that was causing the color to change when wrapping lines. So it might be something to try again when 2.22 is released.
edited: Actually, it seems to be doing exactly what it should. The starting text on the line (the white text) is using your Default Session color. Check your Styles preferences and tell us what your Session Text is set to. Then, the Romeo text is colored with the ANSI "<ESC>[1;33mRomeo<ESC>[0;37m" codes. That last code is the code for gray text.
So this is just one of those MUDs that is forcing gray/silver text by using the ESC[37m code instead of resetting to the default color using the ESC[0m code. There is nothing CMUD can do about this. |
|
|
|
NitroGlycerine Beginner
Joined: 26 Apr 2007 Posts: 29
|
Posted: Thu Apr 03, 2008 10:24 pm |
Bleh, found the problem. For some reason the default session color was bright white instead of silver. I never touched those settings. Excuse my noobness.
Thanks for the help though. |
|
|
|
|
|
|
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
|
|