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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Using Learning Mapper as player

Using Learning Mapper as player

You need to log onto the forum to reply or create new threads.

  [Refresh] Refresh page


Posted by Martalak   (3 posts)  [Biography] bio
Date Sun 16 Jun 2024 07:43 PM (UTC)

Amended on Mon 17 Jun 2024 12:31 AM (UTC) by Martalak

Message
Trying to use Learning Mapper as a user, but not really getting clear if I use it correctly. Their are many oprhans created, many duplicates, some description don't get recognize (possibly due to indentation), and some rooms just don't draw (mainly player homes but rooms that I can enter).
I also wonder if the area name can be automatically stored.

I haven't looked into programming LUA yet (simply don't have the time for it) but
wanted to pick up playing a mud again as some recreation and to show my kids what I was into in the 90s.

So, am I missing something, or am I wanting (setting aread name automatically) something that (currently) isn't possible?

If programming/altering the Lua is needed, I wil look into that (sometime).

Ps. Debugging is still set to true in learning_mapper.lua
[Go to top] top

Posted by Martalak   (3 posts)  [Biography] bio
Date Reply #1 on Sun 16 Jun 2024 10:02 PM (UTC)
Message
As always, I can't stop looking for a solution and find it somehow recreative to solve the puzzle.

For the mud I am playing, I toggled Areaname to see that next to the room name.

Then I changed line 1610 of Learning_Mapper.lua to

area = string.match (room_name, "(.*):") or WorldName (),


As a result, instead of the WorldName the correct area name is shown.

It took a bit to figure it out, because I am completely new to LUA, but for me this is a workable solution for this mud.
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Mon 17 Jun 2024 12:59 AM (UTC)
Message
Quote:

Ps. Debugging is still set to true in learning_mapper.lua


Oops. Just set that to false to avoid a lot of spam.

- Nick Gammon

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

Posted by Martalak   (3 posts)  [Biography] bio
Date Reply #3 on Mon 17 Jun 2024 06:00 PM (UTC)
Message
Thanks for the quick answer. Already set it to false, as I got annoyed by the pretty blue lines :)

As for my other 'issues', do you have suggestions on how to avoid orphans, duplicates, and unrecognized descriptions?

As said, areas are working for me, guess for this mud, this is a viable option, if not the only one. Please let me know if I misunderstood something regarding this part.
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Wed 19 Jun 2024 04:55 AM (UTC)
Message
Without the MUD sending definite room numbers, it is hard for the mapper to be certain where you are. Some MUDs (such as Aardwolf) do, possibly as "out of band" messages (eg. using MXP).

The mapper will normally recover if it is in an unambiguous part of the zone.

I had been thinking that this might be a useful task for AI (large language model) which might conceivably be fed the input from the MUD and make reasonably accurate deductions about where you are, what is a room name, where are the exits and so on.

But this is a big project, and I'm not sure how viable it is.

- 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.


675 views.

You need to log onto the forum to reply or create new threads.

  [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 HostDash]