Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Plugins ➜ Re: Nick's Learning Mapper

Re: Nick's Learning Mapper

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


Posted by Gesslar   (24 posts)  Bio
Date Sun 28 Feb 2021 07:13 PM (UTC)

Amended on Sun 28 Feb 2021 07:14 PM (UTC) by Gesslar

Message
From http://www.gammon.com.au/forum/?id=14607

I downloaded the 4 files. Two in the lua folder, 2 in the plugins folder.

I activated the plugin and the map window shows up, but the learning window does not.

I have tried mapper learn and it does not result in any thing that I can see.

Is there a GMCP version of this?
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Feb 2021 09:35 PM (UTC)
Message
There are two windows it draws (apart from the map).

The "learning dialog" window with buttons to press to teach it line types.

The "learning info" window which shows the deduced line type next to each line from the MUD. This window has thin gray lines at each side of it. They can be a bit hard to spot.

Do you see either of those? If so, which?

Possibly you have the wrap column set to a very large number (output configuration). The learning windows are drawn to the right of the wrap column.

GMCP does not really apply - this mapper is intended to deduce the map information from non-GMCP MUDs.


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
Top

Posted by Gesslar   (24 posts)  Bio
Date Reply #2 on Mon 01 Mar 2021 02:51 AM (UTC)
Message
As I said, the map window shows up, but the learning window does not.

I definitely have my column set really high to avoid wrapping, since it's broken right now. I've temporarily reduced it to test out the mapper some more. I do see the learning window now.

Thanks for your help.
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #3 on Mon 01 Mar 2021 05:24 PM (UTC)

Amended on Mon 01 Mar 2021 05:25 PM (UTC) by Fiendish

Message
Quote:
I definitely have my column set really high to avoid wrapping, since it's broken right now

Things that break wrapping: variable width fonts and fonts that use different width for bold characters if the show bold setting is active.

MUSHclient wraps naively using an average character width, so if any characters on a line are a different width, the calculation will be wrong.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Gesslar   (24 posts)  Bio
Date Reply #4 on Mon 01 Mar 2021 05:43 PM (UTC)
Message
My issue with wrapping isn't how it's wrapping, it's that it's wrapping at all when I tell it not to. :)
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 01 Mar 2021 09:21 PM (UTC)
Message

See https://github.com/nickgammon/mushclient/issues/63

The client always wraps, the misleadingly-named “Wrap output at column number” checkbox only affects whether it wraps at a space or not.

It pre-allocates room for the number of characters in the line (when the line is started) for speed reasons. Thus it must always wrap when that limit is reached.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Gesslar   (24 posts)  Bio
Date Reply #6 on Tue 02 Mar 2021 (UTC)
Message
It is more than misleading in the checkbox, you have a menu item under game that says "Wrap Output" that suggests this is togglable.

I read your comments on the git issue and if wrapping is unavoidable then I'll have to keep my 500 column to reduce opportunities for the client to wrap.
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #7 on Wed 03 Mar 2021 06:42 AM (UTC)
Message
Out of curiosity, why don't you want the output to wrap? If it doesn't wrap, and a very long line arrives, then part of it disappears off the RH side of the screen and is unreadable.

The client has been around since 1995 and you are the first person to complain that you don't want output to wrap.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Gesslar   (24 posts)  Bio
Date Reply #8 on Wed 03 Mar 2021 11:49 AM (UTC)
Message
The decision on whether to wrap or not should be first by the server and then by the player, facilitated by the client. A client could provide for wrapping, but not enforce it (or if wrapping, maybe at the viewport's edge by default, with option to shape it more if desired by the player).

Wrapping that goes off the screen could be by design (because the server wants the player to decide how to wrap and when).

Or wrapping is done at the server level with a backup wrapping as optional by the player via his client settings.

And I'm not complaining. I have options and none of them are arduous. :) I'm merely expressing an opinion.
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.


20,795 views.

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

Go to topic:           Search the forum


[Go to top] top

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