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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
DanteX
Apprentice


Joined: 13 Aug 2007
Posts: 166

PostPosted: Sun Aug 26, 2007 2:17 pm   

[2.01] Pale colors
 
The colors that come in from the mud seem to be pale.
I don't know if that's intended.

D
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Aug 26, 2007 2:25 pm   
 
Confirmed. Here are some screenshots:

zMUD:


CMUD:


The ANSI colour menu has the right colours - the screen doesn't. I could see how this could be deliberate - I personally find reading the CMUD colour much easier than reading the zMUD colour. But the ANSI colour menu lists the wrong colour.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Sun Aug 26, 2007 3:10 pm   
 
Fang, just to confirm, it's only the blue at the bottom that's different, right? (63, 63, 255) instead of (0, 0, 255)?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Aug 26, 2007 3:23 pm   
 
I wouldn't trust the RGB values from those images, they could be distorted. The blue is the only one I've seen that's different.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Aug 26, 2007 3:58 pm   
 
Yes.. there still a few issues there. It's not as bad as before, I actually stopped playing one my LP-based MUDs because the colors were so off (Check out silverbridge.org:6666 for a good test) and I didn't want to give up the CMUD goodness. It's better now, but a few things still linger.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 5:24 pm   
 
OK, I need more information on this, or something better that will show me the problem. I can hardly see any difference between the two images above. CMUD takes the exact color from the ANSI Color settings. There isn't anything in CMUD that would suddenly make the colors "pale". It would take a lot of special algorithms to tweak the colors like that.

Tech: If you say the colors in your LP MUD are "so off", then I need to see an example of what they are *supposed* to look like. I can log into the MUD that you gave (and it's one that I used a lot in my testing), but I obviously have no idea what the "proper" colors are supposed to be.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Aug 26, 2007 5:36 pm   
 
Colour problems are really annoying. I had a 20-minute argument the other day about whether something was blue or whether it was white. Eventually, I had to get out a tool that tells you the exact hex values of whatever colour your mouse is on to prove that it was indeed blue. On his monitor, the colours were too similar to tell the difference.

In that vein, gamma_ray's colour values are right - 3F3FFF vs 0000FF.

The weird part is that according to the ANSI colour menu, 9 really is 0,0,255.

The tool, if that'll help, is called ColorPix and it's from the same people that do that ColorSchemer thing.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sun Aug 26, 2007 6:01 pm   
 

The red # is correctly not shown in cMUD. I used a character that didn't have "detect doors" to take that picture.

Edit: Here is another :-)
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Aug 26, 2007 6:11 pm   
 
It'd be awesome if you could get #debug files for that output as well, Rorso, so Zugg can reproduce the output at his end.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sun Aug 26, 2007 6:19 pm   
 
Quote:

out ( 3) 08-26-07 20:16:54:406 : l<CR><LF>
in ( 1256) 08-26-07 20:16:54:453 : <LF><CR>
<ESC>[1;33m+<ESC>[1;37m---------<ESC>[1;33m+<ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40mEntrance to Mud School<ESC>[0;0m<ESC>[0;40m<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m<ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m<ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m [ north east ]<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m<ESC>[1;37m-<ESC>[0;0m<ESC>[0;40m<ESC>[0;37m<ESC>[7m <ESC>[0;0m<ESC>[0;40m<ESC>[1;37m-<ESC>[0;0m<ESC>[0;40m<ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40mThis is the entrance to the <ESC>[1;37mSilver Bridge<ESC>[0;0m<ESC>[0;40m Mud School. You<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m<ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m<ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40mshould now go <ESC>[1;33mnorth<ESC>[0;0m<ESC>[0;40m to go through <ESC>[0;31mmud school<ESC>[0;0m<ESC>[0;40m which introduces<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m<ESC>[7m<ESC>[5m*<ESC>[0;0m<ESC>[0;40m<ESC>[1;37m-<ESC>[0;0m<ESC>[0;40m<ESC>[0;45m1<ESC>[0;0m<ESC>[0;40m<ESC>[1;37m-<ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40myou to the game. There's an hidden exit here to <ESC>[0;37mLesson VII :<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0
in ( 626) 08-26-07 20:16:54:453 : m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m <ESC>[0;37mCombat<ESC>[0;0m<ESC>[0;40m(enter combat). The door to the south leads to the<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40mWarehouse. <ESC>[0;0m<ESC>[0;40m<LF><CR>
<ESC>[1;37m| <ESC>[0;0m<ESC>[0;40m<ESC>[1;30m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[0;0m<ESC>[0;40m <ESC>[1;37m|<ESC>[0;0m<ESC>[0;40m<LF><CR>
<ESC>[1;33m+<ESC>[1;37m---------<ESC>[1;33m+<ESC>[0;0m<ESC>[0;40m<LF><CR><LF><CR><LF><CR>
<ESC>[0;0m<ESC>[0;40m<ESC>[0;37m<<ESC>[1;31m30<ESC>[0;37m/<ESC>[0;31m30hp <ESC>[1;36m100<ESC>[0;37m/<ESC>[1;34m100m <ESC>[0;37m100mv><ESC>[0;0m<ESC>[0;40m
out ( 6) 08-26-07 20:16:56:312 : quit<CR><LF>
in ( 744) 08-26-07 20:16:56:328 : <LF><CR>
<ESC>[0;37m=====================================================================<LF><CR>
<ESC>[1;31m<ESC>[5mWARNING<ESC>[0;0m<ESC>[0;40m<ESC>[1;30m<LF><CR>
You haven't reached level 2 yet and if you quit without reaching that<LF><CR>
level you will lose this character. If you wish to be able to save you<LF><CR>
should go to mudschool(recall,west) and gain some experience.<LF><CR>
Remember that you can use the WORTH command to see if you are able to<LF><CR>
level. Gaining levels can be done in one of the training<LF><CR>
rooms(recall,west,north,west).<LF><CR><LF><CR>
If you still wish to quit use the command, QUIT NOW.<LF><CR>
<ESC>[0;37m=====================================================================<ESC>[0;0m<ESC>[0;40m<LF><CR><LF><CR><LF><CR>
<ESC>[0;0m<ESC>[0;40m<ESC>[0;37m<<ESC>[1;31m30<ESC>[0;37m/<ESC>[0;31m30hp <ESC>[1;36m100<ESC>[0;37m/<ESC>[1;34m100m <ESC>[0;37m100mv><ESC>[0;0m<ESC>[0;40m
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Aug 26, 2007 7:11 pm   
 
Rorso you rock. BTW I'll be able to get back to mudding on SB now. I'll put together my packages again too.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 7:14 pm   
 
When you do a debug:

#DEBUG test.txt test.raw

send me the test.txt file as an email attachment so I can replay it here. I can't copy/paste the text shown above because of the control codes.

One difference between CMUD 2.0 and older version (and zMUD) is how CMUD now handles the ANSI ESC[0m "reset" code. In v2.0, CMUD "resets" the colors to whatever your default session text style is. So if you have the green on black text in your Session Style preferences, then you will see green on black instead of the normal gray on black. So make sure you have set your default session style color to what you want the MUD to use for default text.

You'll also notice that zMUD had some bugs dealing with black text on colored backgrounds. In zMUD it would use the default green text instead of proper black text. So there are some cases in your screenshots above where the CMUD colors are more correct than zMUD.

But I see what you mean by the color differences. That's really odd, especially since I don't know any change that I made which would have that kind of effect.

If you can capture a #DEBUG output of your color chart, that would be great. The one at the bottom of Rorso's screen shot that shows all of the different colors. If I had the test.txt debug output for that, then it would make it really easy to try and fix this.

As I mentioned in my blog entry, this can be really tricky to work on. Allowing you to set a default style for your default text and background is a feature that just isn't supported in normal ANSI colors. I just need to find a way to make it work better than it is now. And I certainly need to fix whatever is causing the color hues to be so weird.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sun Aug 26, 2007 9:09 pm   
 
I've uploaded the #debug log to http://www.silverbridge.org/~varmel/zmud/forum/bugs/colorerror.zip
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Aug 27, 2007 6:25 pm   
 
OK, I got the files (thanks Rorso!)

And I've confirmed the problem. Looks like there are several problems here, but the main one about "Pale" colors applies to the "highlighted colors". CMUD added an algorithm for creating the highlighted version of any color (not just the 8 ANSI colors). This allows you to highlight MXP colors, for example. But it looks like it's using this algorithm even for the 8 foreground ANSI colors.

In other words, if you change the ANSI Foreground color for the Highlighted Blue, nothing happens. But if you change the ANSI Foreground color for the lower (dim) blue color, then you'll see the highlighted blue change on the screen too.

Anyway, it's on the bug list and I should be able to get it fixed in the next update. I'll also try to improve the highlighting algorithm so that it isn't so "pale".
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Aug 31, 2007 6:10 pm   
 
Rorso: I'm working on the color bugs right now. But I wanted to point out in the #debug files that you sent me that the MUD you are playing is not using the Telnet Protocol properly. The MUD is sending LF/CR instead of CR/LF at the end of each line (see the test.raw file). If you have any control over the MUD or know the coders, you should point this out to them. It's a pretty gross violation of the telnet standard and MUDs like this make my life difficult.
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Aug 31, 2007 7:51 pm   
 
OK, I think I have the ANSI colors fixed now.

However, I ran into several issues with some of the ANSI codes being sent by some MUDs. People should be aware that some MUDs force the black background color by sending <ESC>[40m code, instead of just resetting to the default color using <ESC>[0m. This is actually a bad practice by the MUD since it will override any default Style that you have set for the screen background.

In zMUD and in past versions of CMUD, CMUD would change the 0th ANSI background color to the background color of your default session text style. I decided that while this helped preserve the user's background color style preferences, it wasn't the correct thing to do wrt the ANSI standard. So in v2.02, CMUD no longer adjusts the ANSI color 0 to match your Style background. So if the MUD sends the <ESC>[40m code, you will still get a background of black no matter what your default session text Style is set to.

To overcome this problem, you can go into the ANSI background preferences and change the black background to your preferred background color manually.

In zMUD, a similar situation occurred with the ANSI foreground color #2. If you changed the default session text color to something other than green (in zMUD this was in the Color Scheme section), then zMUD would change the ANSI foreground color #2 to match your default text color. In CMUD, your default session text Style is only set when the MUD sends the ANSI <ESC>[0m reset code. The session text Style will no longer overwrite any of your ANSI color settings.

These changes will make CMUD more ANSI compliant than zMUD (or previous versions of CMUD). But if the MUD is forcing particular colors, you might need to manually tweak your ANSI color settings to get them to match your default session text style settings.
Reply with quote
Llwethen
Novice


Joined: 08 Dec 2006
Posts: 37
Location: Lancaster,Oh

PostPosted: Fri Aug 31, 2007 9:03 pm   
 
Funny part is I like the new colors after using them for a week.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Fri Aug 31, 2007 9:22 pm   
 
Is this bug also affecting the use of linecolor in triggers?


#TRIGGER "test" {test} {#SAY OK} "" {line=7}

seems to only fire sporadicly on white text Usually when I am getting the "pale" colors
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Aug 31, 2007 11:31 pm   
 
Quote:
Is this bug also affecting the use of linecolor in triggers?

Not sure. Try it in v2.02 and if it still fails, create a separate post for that bug.
Quote:
Funny part is I like the new colors after using them for a week.

Yeah, me too. They aren't as "harsh" as the default ANSI color set, but some people have gotten used to the old Windows 16 color palette that was used by ANSI. Fortunately, you can change the ANSI colors in the Preferences to anything you want. Maybe I'll add a button to that screen to "compute" the highlighted colors. But I don't plan to change the defaults since they really do need to stay the proper ANSI color values.

In 2.02 CMUD will properly use your ANSI color settings and will only use the highlighting algorithm if you try to highlight a non-ANSI color (like an MXP color).
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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