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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ Nick's Learning Mapper Error?

Nick's Learning Mapper Error?

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

  Refresh page


Posted by Sorrows   (2 posts)  Bio
Date Mon 29 Dec 2025 02:33 AM (UTC)

Amended on Mon 29 Dec 2025 05:50 PM (UTC) by Sorrows

Message
so i just tried installing this pluggin exactly like the instructions said, and it worked for the first room i started it in. then this happened the moment i tried to move rooms:

Error number: 0
Event: Run-time error
Description: C:\Program Files (x86)\MUSHclient\lua\mapper.lua:302: attempt to index local 'v' (a boolean value)

stack traceback:

C:\Program Files (x86)\MUSHclient\lua\mapper.lua:302: in function 'draw_configuration'

C:\Program Files (x86)\MUSHclient\lua\mapper.lua:1043: in function 'draw'

... (x86)\MUSHclient\worlds\plugins\Learning_Mapper.lua:1694: in function 'process_new_room'

... (x86)\MUSHclient\worlds\plugins\Learning_Mapper.lua:178: in function 'handler'

... (x86)\MUSHclient\worlds\plugins\Learning_Mapper.lua:2147: in function <... (x86)\MUSHclient\worlds\plugins\Learning_Mapper.lua:2102>
Called by: Function/Sub: line_received called by trigger

Reason: processing trigger "" when matching line: "¤ "


edit:

so i restarted MUSHclient and it works...kind of, the error doesnt come anymore but after i move a few rooms the previous rooms disappear
Top

Posted by Fiendish   USA  (2,550 posts)  Bio   Global Moderator
Date Reply #1 on Mon 29 Dec 2025 04:56 PM (UTC)

Amended on Mon 29 Dec 2025 05:11 PM (UTC) by Fiendish

Message

You’re using old versions of various files. It’s not your fault, because we never fully automated installer builds, just the executable. We can fix this, but for now you’ll need to update at least these files…

Replace your lua/mapper.lua with https://raw.githubusercontent.com/nickgammon/mushclient/refs/heads/master/lua/mapper.lua

Replace your lua/movewindow.lua with https://raw.githubusercontent.com/nickgammon/mushclient/refs/heads/master/lua/movewindow.lua

and then let’s go ahead and also

Replace lua/serialize.lua with https://raw.githubusercontent.com/nickgammon/mushclient/refs/heads/master/lua/serialize.lua

And then just in case let’s also

Replace your Learning_Mapper.lua with https://raw.githubusercontent.com/nickgammon/plugins/refs/heads/master/Learning_Mapper.lua

and your Learning_Mapper.xml with https://raw.githubusercontent.com/nickgammon/plugins/refs/heads/master/Learning_Mapper.xml


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

Posted by Sorrows   (2 posts)  Bio
Date Reply #2 on Mon 29 Dec 2025 06:20 PM (UTC)

Amended on Mon 29 Dec 2025 09:36 PM (UTC) by Sorrows

Message
OK, that worked thank you.

However, it seems a bit weird sometimes. For instance, im mapping out the main city, sometimes it shows all the rooms ive mapped, and sometimes it doesnt. usually back tracking and continuing fixes this, but sometimes it says im in a completely different room on the map, i assume because the rooms have similar names and descriptions with similar exits (the main road surrounding the city is called Circle Road in almost every instance)
and other times it only shows the room im in plus the exact adjacent rooms, the rest of the map is gone until i move rooms again (not a deal breaker as i just need to move rooms to see the map but its odd)

so this is what the city is supposed to look like: http://sorrowsbane.com/wp-content/uploads/2025/12/Screenshot-2025-12-29-124711.png

these two are just a few of the glitches:

http://sorrowsbane.com/wp-content/uploads/2025/12/Screenshot-2025-12-29-125240.png

http://sorrowsbane.com/wp-content/uploads/2025/12/Screenshot-2025-12-29-124535.png

notice how it is moving the circle road and wrapping it around on its self?
Top

Posted by Fiendish   USA  (2,550 posts)  Bio   Global Moderator
Date Reply #3 on Mon 29 Dec 2025 09:10 PM (UTC)

Amended on Mon 29 Dec 2025 09:15 PM (UTC) by Fiendish

Message
After connecting to your game and poking around a bit. I believe the mapper is training properly, but I see that there are some rooms that on their own just look identical to each other with the same name, description, and exits. The learning mapper does not know how to use the connectedness between rooms to identify what room you're in. Essentially I believe the same issue as in https://www.mushclient.com/forum/?id=14882

The simplest way to fix it would be to ask the game admins to let you see room unique ids.

If they refuse, one would need to change the plugin to use the record of which room was most recently displayed to provide guidance when identifying what room you're currently in whether it's a new room or an existing one.

https://github.com/fiendish/aardwolfclientpackage
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.


726 views.

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

  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.