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, confirm your email, resolve issues, 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 ➜ Using Learning Mapper as player

Using Learning Mapper as player

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


Posted by Martalak   (3 posts)  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
Top

Posted by Martalak   (3 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,120 posts)  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
Top

Posted by Martalak   (3 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,120 posts)  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
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.


2,027 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.