Generic Mapping Script

All and any discussion and development of the Mudlet Mapper.
Oreolek
Posts: 2
Joined: Mon Mar 19, 2018 1:12 pm

Re: Generic Mapping Script

Post by Oreolek » Tue Mar 27, 2018 7:29 pm

Is there a way to make it a manual mapper? Where you'd enter room name and exits manually. That would be much easier to use.

Jor'Mox
Posts: 1068
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Thu Mar 29, 2018 6:06 pm

Making a manual mapper is certainly possible, but there is no reasonable way to make this script into a manual mapping script without a massive overhaul. It would frankly be much simpler to build a manual mapper from scratch than to try to cut out parts of this script to reach the same point. That said, a manual mapper wouldn't be all that hard to make, so I might go ahead and make one when I have a bit of time on my hands.

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

Re: Generic Mapping Script

Post by SlySven » Fri Mar 30, 2018 11:23 am

If you choose to build your own mapper and not use a previously created package you may want to include the following which will suppress the enquiry about not having a mapper script and "would you like to search for one" (on this forum!) by including a lua mudlet table and having it contain a mapper_script boolean which is set to true:
Code: [show] | [select all] lua
mudlet = mudlet or {}
mudlet.mapper_script = true

Jor'Mox
Posts: 1068
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Fri Mar 30, 2018 11:30 am

Interestingly enough, I have never seen that message, with or without that code, or even anything remotely related to a mapping script.

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

Re: Generic Mapping Script

Post by Vadi » Mon Apr 02, 2018 6:48 pm

It'll show when you create a new profile to an unknown game and press the map button.

Eraene
Posts: 26
Joined: Wed Nov 27, 2013 10:18 pm

Re: Generic Mapping Script

Post by Eraene » Thu Apr 12, 2018 6:48 pm

Back again with a question!

Is there a way to force the mapper to recognize a room by its exits, even if one of them is hidden? Say for example, I have a room in my MUD that has north, south, east and west. But west is hidden from view. It is however displayed on the map, but because it isn't in the actual room description, the mapper won't recognize it and won't follow me into that room. Is there a way to force it to?

Jor'Mox
Posts: 1068
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Thu Apr 12, 2018 7:18 pm

Sure. Go into mapping mode, walk into the room (which will create a duplicate), merge it with the original room (by getting them positioned in the same space and using “merge rooms”), and then add a door in the hidden direction. Or, if you can make it follow you to the room past the problem room, you can add a door from that direction, and not have to mess with room merging and such.

Eraene
Posts: 26
Joined: Wed Nov 27, 2013 10:18 pm

Re: Generic Mapping Script

Post by Eraene » Sat Apr 14, 2018 10:15 pm

Thank you, I'll give that a try at some point.

One other thing I've had issue with, is one of my profiles creating an abundance of aliases in the alias section of my editor. I'm not quite sure what's causing it, but I've included an image of what it looks like.
Attachments
aliases.PNG
aliases.PNG (9.87 KiB) Viewed 809 times

Jor'Mox
Posts: 1068
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Sat Apr 14, 2018 10:46 pm

I don’t remember off the top of my head what causes this, but basically there is some action that when you do it, all of the temp aliases and triggers get displayed as if they were normal aliases and triggers. In this case, the script is only making temp aliases, so that is all you are seeing. In general, they should disappear if you restart Mudlet.

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

Re: Generic Mapping Script

Post by SlySven » Sun Apr 15, 2018 5:41 pm

I'd like to know what the incantations/steps are - so we can fix them... :geek:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest