Changing colours using mudlet 4.9.1

Post Reply
tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Changing colours using mudlet 4.9.1

Post by tim777 »

I recently updated from a 4.8 version (iirc) and now under certain circumstances the colours change e.g foreground/background colour swapping or sometimes just the background changes. Also when it happens all text thereafter is only in these 2 colours where as some text used to get highlighted by the mud (Discworld). These conditions are repeatable but if i access the mud using firefox it works fine. I haven't changed any settings to my knowledge and cant see any settings that would do this other than the Allow Server to Change under special options. This box is NOT ticked. Is this a known bug?

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Changing colours using mudlet 4.9.1

Post by Vadi »

What exactly do you mean - can you add screenshots describing the before and after?

tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Re: Changing colours using mudlet 4.9.1

Post by tim777 »

Well instead of the letters being white on a black background, the letters are black on a white background . Not sure how to attach images to this forum

tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Re: Changing colours using mudlet 4.9.1

Post by tim777 »

OK figured it i think its all a bit new
Attachments
Screenshot at 2020-07-22 18-51-50.png
Screenshot at 2020-07-22 18-50-30.png
Screenshot at 2020-07-22 18-50-30.png (9.09 KiB) Viewed 5657 times

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Changing colours using mudlet 4.9.1

Post by SlySven »

You have not selected the text with the mouse by any chance? The highlight for selected text (and the SGR 7 m code) will both reverse the fore and background process (though BOTH together will cancel each other out on screen) - though other colours will still be present as well (even if swapped from fore to back ground or vice versa).

tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Re: Changing colours using mudlet 4.9.1

Post by tim777 »

Alas no. I rarely use the mouse when playing except to add new triggers. I just type into the input line and hit return to send it to the mud and the mud responds. Someone on the mud suggested tryng the TURN OFF MXP in the Special Options. I haven't tried this as i have no idea what it does but i suspect i may lose some of the features of the mud. I am guessing that the problem is to do with the misinterpretation of one of the control codes that the mud sends. Most of the players seem to use the mushclient as 1 of the player's has done a lot of work providing plugins for it. They can't replicate the bug. Unfortunately it only runs on windows which would mean i would have to install Wine. Software is complicated/buggy enough without adding to the problems. I used to work as an electronic hardware design engineer and any software knowledge i have was through the software engineer that i worked with for 16 years. My programming knowledge is limited to Assembler if anyone is old enough to know what it is.

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Changing colours using mudlet 4.9.1

Post by SlySven »

tim777 wrote:My programming knowledge is limited to Assembler if anyone is old enough to know what it is.
As a electrical and electronic engineer who has deviated (!) into C and then C++ coding I DO know what you mean (I have a couple of low/mid range PIC16 type devices that I want to using in a non MUD related project and I am having to relearn Assembly Language to do it - mind you they are RISC devices with only 35 instructions whereas my Under-graduate final year project was Z80 / TMS32010 based devices and those had an awful lot more to remember)...

I am aware that there was some major refactoring work done recently in the MXP support area - so it would be very interesting to know if selecting the option to "Force off MXP negotiation" under the "Special Options" tab in the preferences makes this problem go away...

tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Re: Changing colours using mudlet 4.9.1

Post by tim777 »

Ok i will try that when i have time. I have another example which may help
Discworld mud has a frimble command which echoes back the typing after the command so typing

frimble Dwynwen is orange because of my mudlet trigger

i get
Screenshot at 2020-07-23 17-55-27.png
Screenshot at 2020-07-23 17-55-27.png (6.56 KiB) Viewed 5616 times
Discworld has many help files so typing

help colours


i get this which is the end of a long help file
Screenshot at 2020-07-23 17-57-37.png

note the prompt has now changed colour

typing

frimble Dwynwen is still orange but the rest is screwed

i get
Screenshot at 2020-07-23 17-59-05.png
Screenshot at 2020-07-23 17-59-05.png (13.26 KiB) Viewed 5616 times

tim777
Posts: 13
Joined: Wed Jul 22, 2020 1:20 pm

Re: Changing colours using mudlet 4.9.1

Post by tim777 »

Forcing mxp negotiation off gives
Screenshot at 2020-07-24 05-43-20.png
Screenshot at 2020-07-24 05-43-20.png (4.79 KiB) Viewed 5604 times
this has changed
Screenshot at 2020-07-24 05-46-00.png
Screenshot at 2020-07-24 05-46-00.png (54.92 KiB) Viewed 5604 times
followed by
Screenshot at 2020-07-24 05-46-48.png
Screenshot at 2020-07-24 05-46-48.png (10.59 KiB) Viewed 5604 times
so it seems it is caused by mxp.

as a passing thought

We are at the dawn of A.I.
10 years from now we ask
A.I. The world is warming fast help us find the solution
Eons of computer time later A.I says
I have reached the conclusion that mankind is the cause of the problem.
Yes we know but the solution.......................?
ELIMINATE MANKIND
Be careful what you wish for you may just get it.

Have fun while you still can

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Changing colours using mudlet 4.9.1

Post by Vadi »

Can you save a replay (casette bottom-right) and file a detailed bug report over at https://github.com/Mudlet/Mudlet/issues/new ?

Post Reply