[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  Changing color in Mushclient window
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Changing color in Mushclient window

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Myriamele   (12 posts)  [Biography] bio
Date Sat 15 Apr 2017 04:36 PM (UTC)
Message
I want to have a black background and white text for anything that isn't specifically using color code, but when I tried to figure out how to set it up in Mushclient, my general text color is dark blue.

In the ansi colour section, it shows the B as black and the T as gray, or the other option is the background is gray and the text is white, and I'm still getting the dark blue text, no matter which way I choose.

I am completely confused - help? :)

Thank you.
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sat 15 Apr 2017 09:17 PM (UTC)
Message
It must be sending colour codes. You can use "debug packets" to confirm this.

Edit Menu -> Debug Packets.

Get a line or two from the MUD then turn it off again as it will slow things down.

Copy and paste a packet here which appears as blue when you expect white.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #2 on Sun 16 Apr 2017 12:38 AM (UTC)

Amended on Sun 16 Apr 2017 09:02 PM (UTC) by Nick Gammon

Message
Hi Nick,

This is what happened in the debug packets window:



Incoming packet: 8 (2 bytes) at Saturday, April 15, 2017, 6:35:47 PM

ÿñ                 ff f1
The other part of the room features only a simple desk and chair, with neat stacks of paperwork. An ashtray occupies a corner of the desk, and one adorns each of the nightstands as well. The room smells of incense mixed with the darker scent of tobacco, a heady mix to give the room's air its own warmth.
        The remainder of the space is left open, except for a strange circle of stones in one corner of the room that seem to sparkle with magical energy that swirls into the space above.
Incoming packet: 9 (2 bytes) at Saturday, April 15, 2017, 6:36:47 PM

ÿñ                 ff f1

Sent  packet: 12 (6 bytes) at Saturday, April 15, 2017, 6:37:11 PM

Quit..             51 75 69 74 0d 0a

Incoming packet: 10 (53 bytes) at Saturday, April 15, 2017, 6:37:11 PM

*** TinyMUX Disc   2a 2a 2a 20 54 69 6e 79 4d 55 58 20 44 69 73 63
onnected ***..MA   6f 6e 6e 65 63 74 65 64 20 2a 2a 2a 0d 0a 4d 41
IL: Mailbox purg   49 4c 3a 20 4d 61 69 6c 62 6f 78 20 70 75 72 67
ed...              65 64 2e 0d 0a

[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 16 Apr 2017 09:03 PM (UTC)
Message
That first paragraph doesn't look like a packet debug. I should be seeing hex codes on the right, like further on.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #4 on Sun 16 Apr 2017 11:35 PM (UTC)
Message
I don't know what you mean, I'm sorry - I'm not a code person, I just want to be able to open up the window and have it look like my other mush client does, which is white text on a black background. Oh well, thank you for trying to help me :)
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Mon 17 Apr 2017 03:58 AM (UTC)
Message
I'm still trying to help you, but you need to help me to help you. :)

This part, that you posted, looks like you somehow truncated it:


Incoming packet: 8 (2 bytes) at Saturday, April 15, 2017, 6:35:47 PM

ÿñ                 ff f1
The other part of the room features only a simple desk and chair,


That's not 8 bytes, and it isn't in hex.

The words:


The other part of the room features only a simple desk and chair, with neat stacks of paperwork. An ashtray occupies a corner of the desk, and one adorns each of the nightstands as well. The room smells of incense mixed with the darker scent of tobacco, a heady mix to give the room's air its own warmth.
The remainder of the space is left open, except for a strange circle of stones in one corner of the room that seem to sparkle with magical energy that swirls into the space above.


... when sent as a packet would look like this:



Incoming packet: 8 (497 bytes) at Monday, April 17, 2017, 2:57:32 PM

..The other part   0d 0a 54 68 65 20 6f 74 68 65 72 20 70 61 72 74
 of the room fea   20 6f 66 20 74 68 65 20 72 6f 6f 6d 20 66 65 61
tures only a sim   74 75 72 65 73 20 6f 6e 6c 79 20 61 20 73 69 6d
ple desk and cha   70 6c 65 20 64 65 73 6b 20 61 6e 64 20 63 68 61
ir, with neat st   69 72 2c 20 77 69 74 68 20 6e 65 61 74 20 73 74
acks of paperwor   61 63 6b 73 20 6f 66 20 70 61 70 65 72 77 6f 72
k. An ashtray oc   6b 2e 20 41 6e 20 61 73 68 74 72 61 79 20 6f 63
cupies a corner    63 75 70 69 65 73 20 61 20 63 6f 72 6e 65 72 20
of the desk, and   6f 66 20 74 68 65 20 64 65 73 6b 2c 20 61 6e 64
 one adorns each   20 6f 6e 65 20 61 64 6f 72 6e 73 20 65 61 63 68
 of the nightsta   20 6f 66 20 74 68 65 20 6e 69 67 68 74 73 74 61
nds as well. The   6e 64 73 20 61 73 20 77 65 6c 6c 2e 20 54 68 65
 room smells of    20 72 6f 6f 6d 20 73 6d 65 6c 6c 73 20 6f 66 20
incense mixed wi   69 6e 63 65 6e 73 65 20 6d 69 78 65 64 20 77 69
th the darker sc   74 68 20 74 68 65 20 64 61 72 6b 65 72 20 73 63
ent of tobacco,    65 6e 74 20 6f 66 20 74 6f 62 61 63 63 6f 2c 20
a heady mix to g   61 20 68 65 61 64 79 20 6d 69 78 20 74 6f 20 67
ive the room's a   69 76 65 20 74 68 65 20 72 6f 6f 6d 27 73 20 61
ir its own warmt   69 72 20 69 74 73 20 6f 77 6e 20 77 61 72 6d 74
h...        The    68 2e 0d 0a 20 20 20 20 20 20 20 20 54 68 65 20
remainder of the   72 65 6d 61 69 6e 64 65 72 20 6f 66 20 74 68 65
 space is left o   20 73 70 61 63 65 20 69 73 20 6c 65 66 74 20 6f
pen, except for    70 65 6e 2c 20 65 78 63 65 70 74 20 66 6f 72 20
a strange circle   61 20 73 74 72 61 6e 67 65 20 63 69 72 63 6c 65
 of stones in on   20 6f 66 20 73 74 6f 6e 65 73 20 69 6e 20 6f 6e
e corner of the    65 20 63 6f 72 6e 65 72 20 6f 66 20 74 68 65 20
room that seem t   72 6f 6f 6d 20 74 68 61 74 20 73 65 65 6d 20 74
o sparkle with m   6f 20 73 70 61 72 6b 6c 65 20 77 69 74 68 20 6d
agical energy th   61 67 69 63 61 6c 20 65 6e 65 72 67 79 20 74 68
at swirls into t   61 74 20 73 77 69 72 6c 73 20 69 6e 74 6f 20 74
he space above..   68 65 20 73 70 61 63 65 20 61 62 6f 76 65 2e 0d
.                  0a



That's what I want to see. Except yours probably has some sort of colour codes inside it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #6 on Mon 17 Apr 2017 01:14 PM (UTC)
Message
Hm... am I supposed to open the debug window before or after I log off the mush? The one I sent was in this order:

Opened the world, which automatically logs me on
Opened the debug window
Copied the line of text
Quit the world and closed the window
Pasted the line of text into the debug window

So, the first lines

Incoming packet: 8 (2 bytes) at Saturday, April 15, 2017, 6:35:47 PM

ÿñ ff f1

Were actually when I still had the world window open, before I copied and pasted the text from the room.
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Mon 17 Apr 2017 08:53 PM (UTC)

Amended on Mon 17 Apr 2017 08:54 PM (UTC) by Nick Gammon

Message
You aren't supposed to log off the MUSH at all.


  • Open the packet debug window: Edit Menu -> Debug Packets.
  • Do a LOOK or whatever is needed to see the problem with the wrong colours
  • Turn off the packet debug window: Edit Menu -> Debug Packets
  • Go to the packet debug window, copy everything and paste it here


I need a debug packet of the line(s) in question which show the wrong colours. What you have is just some "heartbeat" because you didn't do anything else.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #8 on Mon 17 Apr 2017 11:13 PM (UTC)

Amended on Tue 18 Apr 2017 02:56 AM (UTC) by Nick Gammon

Message

Sent  packet: 16 (3 bytes) at Monday, April 17, 2017, 5:13:14 PM

l..                6c 0d 0a

Incoming packet: 30 (1023 bytes) at Monday, April 17, 2017, 5:13:14 PM

The Whitehall -    54 68 65 20 57 68 69 74 65 68 61 6c 6c 20 2d 20
Suite 1202......   53 75 69 74 65 20 31 32 30 32 0d 0a 0d 0a 0d 0a
 A spacious loft   09 41 20 73 70 61 63 69 6f 75 73 20 6c 6f 66 74
 opens to wide w   20 6f 70 65 6e 73 20 74 6f 20 77 69 64 65 20 77
indows overlooki   69 6e 64 6f 77 73 20 6f 76 65 72 6c 6f 6f 6b 69
ng Gold Avenue.    6e 67 20 47 6f 6c 64 20 41 76 65 6e 75 65 2e 20
The floor of shi   54 68 65 20 66 6c 6f 6f 72 20 6f 66 20 73 68 69
ning marble matc   6e 69 6e 67 20 6d 61 72 62 6c 65 20 6d 61 74 63
hes the wall mou   68 65 73 20 74 68 65 20 77 61 6c 6c 20 6d 6f 75
ldings, where in   6c 64 69 6e 67 73 2c 20 77 68 65 72 65 20 69 6e
serts of preciou   73 65 72 74 73 20 6f 66 20 70 72 65 63 69 6f 75
s woods bring wa   73 20 77 6f 6f 64 73 20 62 72 69 6e 67 20 77 61
rmth and colour.   72 6d 74 68 20 61 6e 64 20 63 6f 6c 6f 75 72 2e
 A screen of sil   20 41 20 73 63 72 65 65 6e 20 6f 66 20 73 69 6c
ver filigree mak   76 65 72 20 66 69 6c 69 67 72 65 65 20 6d 61 6b
es an attempt at   65 73 20 61 6e 20 61 74 74 65 6d 70 74 20 61 74
 hiding the bedr   20 68 69 64 69 6e 67 20 74 68 65 20 62 65 64 72
oom space, while   6f 6f 6d 20 73 70 61 63 65 2c 20 77 68 69 6c 65
 a counter cover   20 61 20 63 6f 75 6e 74 65 72 20 63 6f 76 65 72
ed in hard oak w   65 64 20 69 6e 20 68 61 72 64 20 6f 61 6b 20 77
ood separates th   6f 6f 64 20 73 65 70 61 72 61 74 65 73 20 74 68
e kitchen. Furni   65 20 6b 69 74 63 68 65 6e 2e 20 46 75 72 6e 69
ture of modern I   74 75 72 65 20 6f 66 20 6d 6f 64 65 72 6e 20 49
talian inspirati   74 61 6c 69 61 6e 20 69 6e 73 70 69 72 61 74 69
on is scattered    6f 6e 20 69 73 20 73 63 61 74 74 65 72 65 64 20
throughout the l   74 68 72 6f 75 67 68 6f 75 74 20 74 68 65 20 6c
oft, a dining ro   6f 66 74 2c 20 61 20 64 69 6e 69 6e 67 20 72 6f
om set and sofas   6f 6d 20 73 65 74 20 61 6e 64 20 73 6f 66 61 73
 of soft leather   20 6f 66 20 73 6f 66 74 20 6c 65 61 74 68 65 72
 awaiting guests   20 61 77 61 69 74 69 6e 67 20 67 75 65 73 74 73
........[36m----   2e 0d 0a 0d 0a 0d 0a 1b 5b 33 36 6d 2d 2d 2d 2d
.[1m.[33m << .[0   1b 5b 31 6d 1b 5b 33 33 6d 20 3c 3c 20 1b 5b 30
mPlayers.[1m.[33   6d 50 6c 61 79 65 72 73 1b 5b 31 6d 1b 5b 33 33
m >> .[0m.[36m--   6d 20 3e 3e 20 1b 5b 30 6d 1b 5b 33 36 6d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
---------.[0m..    2d 2d 2d 2d 2d 2d 2d 2d 2d 1b 5b 30 6d 0d 0a 20
Zache              5a 61 63 68 65 20 20 20 20 20 20 20 20 20 20 20
      Beautiful    20 20 20 20 20 20 42 65 61 75 74 69 66 75 6c 20
Gypsy boy, steal   47 79 70 73 79 20 62 6f 79 2c 20 73 74 65 61 6c
ing hearts .[1m.   69 6e 67 20 68 65 61 72 74 73 20 1b 5b 31 6d 1b
[33m*.[30mFG.[33   5b 33 33 6d 2a 1b 5b 33 30 6d 46 47 1b 5b 33 33
m*.[0m    0s       6d 2a 1b 5b 30 6d 20 20 20 20 30 73 20 20 20 20
IC.. Finnian       49 43 0d 0a 20 46 69 6e 6e 69 61 6e 20 20 20 20
           Blond   20 20 20 20 20 20 20 20 20 20 20 42 6c 6f 6e 64
e haired, blue-e   65 20 68 61 69 72 65 64 2c 20 62 6c 75 65 2d 65
yed youth          79 65 64 20 79 6f 75 74 68 20 20 20 20 20 20 20
       17s    OO   20 20 20 20 20 20 20 31 37 73 20 20 20 20 4f 4f
C...[36m--------   43 0d 0a 1b 5b 33 36 6d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
-----.[1m.[33m <   2d 2d 2d 2d 2d 1b 5b 31 6d 1b 5b 33 33 6d 20 3c
< .[0mExits.[1m.   3c 20 1b 5b 30 6d 45 78 69 74 73 1b 5b 31 6d 1b
[33m >> .[0m.[36   5b 33 33 6d 20 3e 3e 20 1b 5b 30 6d 1b 5b 33 36
m----.[0m.. Foye   6d 2d 2d 2d 2d 1b 5b 30 6d 0d 0a 20 46 6f 79 65
r <F>              72 20 3c 46 3e 20 20 20 20 20 20 20 20 20 20 20
    ...[36m-----   20 20 20 20 0d 0a 1b 5b 33 36 6d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
----------------   2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
---------.[0m..    2d 2d 2d 2d 2d 2d 2d 2d 2d 1b 5b 30 6d 0d 0a

Incoming packet: 31 (80 bytes) at Monday, April 17, 2017, 5:13:14 PM

                   20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
For help with re   46 6f 72 20 68 65 6c 70 20 77 69 74 68 20 72 65
ntal units, type   6e 74 61 6c 20 75 6e 69 74 73 2c 20 74 79 70 65
 +help renting     20 2b 68 65 6c 70 20 72 65 6e 74 69 6e 67 20 20
              ..   20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Tue 18 Apr 2017 02:59 AM (UTC)
Message
When I try that, it comes out in the expected colours. What plugins do you have installed?

Template:bug

Please provide a summary of your world configuration:

  • Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")

    or

  • Install the Summary plugin (see "Summary" feature) and type "summary"

Then copy the resulting information from the output window, and paste into a Forum message.

You need version 4.55 onwards of MUSHclient to do this.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #10 on Tue 18 Apr 2017 11:39 PM (UTC)

Amended on Wed 19 Apr 2017 01:55 AM (UTC) by Nick Gammon

Message

-------------- MUSHclient summary --------------

MUSHclient version: 5.05
Compiled: Feb  3 2017.
Time now: Tuesday, April 18, 2017, 5:39 PM
Client running for:  0d 00h 01m 41s
World opened for:    0d 00h 00m 45s
World connected for: 0d 00h 00m 45s
Operating system: Windows 7
Libraries: Lua 5.1.4, PCRE 8.39, PNG 1.6.23, SQLite3 3.16.2, Zlib 1.2.8
World name: 'Zache', ID: 742ab7abcbe7f81678fd869a
-- Scripting --
Script language: Lua, enabled: yes
Scripting active: yes
Lua sandbox is 127 characters, DLL loading allowed: yes
Scripting prefix: ''. External editor in use: NO.
Scripting for: 0.000032 seconds.
-- Triggers, aliases, timers, variables --
** Triggers: 0 in world file, triggers enabled: yes.
   0 enabled, 0 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Aliases: 0 in world file, aliases enabled: yes.
   0 enabled, 0 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Timers: 1 in world file, timers enabled: yes. [Timers]
   1 enabled, 0 fired.
   Timers checked every 0.1 seconds.
** Variables: 0.
-- MCCP --
MCCP not active.
-- Plugins (Processing order) --
** Plugins: 0 loaded, 0 enabled.
-- Comms --
Connect phase: 8 (Open). NAWS wanted: NO
Received: 7340 bytes (7 Kb)
Sent: 158 bytes (0 Kb)
Received 6 packets, sent 11 packets.
Total lines received: 158
This connection: Sent 1 lines, received 125 lines.
Telnet (IAC) received: DO: 6, DONT: 0, WILL: 2, WONT: 0, SB: 2 [Telnet]
-- MXP --
MXP active: NO, Pueblo mode: NO, Activated: On command
MXP tags received: 0
MXP entities received: 0
MXP errors: 0
-- Commands --
Commands in command history: 0
Speed walking enabled: NO. Speed walking prefix: #
Command stacking enabled: NO. Command stack character: ';'
Accelerators defined: 0
-- Miniwindows --
** Miniwindows: 0 loaded, 0 shown.
-- Output window --
Output pixels: width 863, height: 441, font width: 8, font height: 15
               can show 107 characters, wrapping at column 80, height 29 lines.
Output buffer: 176 of 5000 lines.
-- Miscellaneous --
Logging: NO, tracing: NO
** SQLite3 databases: 0
Sound buffers in use: 0

---------------------- End summary ----------------------
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #11 on Wed 19 Apr 2017 01:59 AM (UTC)
Message
Hmm, I can't see any reason for it. Can you give me the address/port of the MUSH please? I'll try it for myself.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #12 on Wed 19 Apr 2017 02:28 AM (UTC)
Message
Shangrilamux.com
9999

The weird thing is, I used MushClient from work before I came to this new job, and it was always white on black, unless there was a color code. And, I never futzed with it, to even personalize it much at all, other than no logging and no echoing.

Thank you so much for trying to help me :)
[Go to top] top

Posted by Myriamele   (12 posts)  [Biography] bio
Date Reply #13 on Sun 23 Apr 2017 02:01 AM (UTC)
Message
Hi Nick,

Have you had a chance to figure out what's going on?

Ann
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #14 on Mon 24 Apr 2017 07:05 AM (UTC)
Message
Er, no, sorry. I've had a few other distractions recently. I'll try to look into it shortly.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


3,855 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]