Welcome to the Builder Academy

Question Trouble getting color to display for class_menu

More
21 Jun 2012 19:12 #155 by Vatiken
Well an '@' definately won't work, atleast in stock code. If you place a '\tR' in the class menu does it show the R? If not, that means protocol output is ripping it out and not feeling it is necessary to place in a colour code. The only reason for this, would be the character's colour setting is off, or the ansi capability of the client isn't being detected.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
21 Jun 2012 19:18 #156 by Liko

Vatiken wrote: Well an '@' definately won't work, atleast in stock code. If you place a '\tR' in the class menu does it show the R? If not, that means protocol output is ripping it out and not feeling it is necessary to place in a colour code. The only reason for this, would be the character's colour setting is off, or the ansi capability of the client isn't being detected.


Interesting, I've tried with both Zmud and Gmud. Nothing. Color is detected for Zmud, but who knows? Is color showing for you?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
22 Jun 2012 00:41 #165 by Vatiken
I have colour and mxp in all my CON_XXX states in interpreter.c, and I've had no issues to report.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
22 Jun 2012 00:47 #166 by Liko

Vatiken wrote: I have colour and mxp in all my CON_XXX states in interpreter.c, and I've had no issues to report.


Blah, maybe I missed something when I patched up.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
24 Jun 2012 01:31 #220 by Liko
Well I was able to get colour to work in race/class menu when I started using \x1B[1;30m these again.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
24 Jun 2012 01:46 #221 by Vatiken
The issue with this is if someone attempts to connect using a client without ANSI support. What occurs on their screen may range from nothing, to a blurb of weird characters, to a client crash/disconnect.

I'd be interested to see your "case CON_QCLASS:" in interpreter.c, and your "class_menu[]" in class.c, to see if I can't figure out what's happening.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds