Mudlet mapper script Q&A

All and any discussion and development of the Mudlet Mapper.
User avatar
Zaphob
Posts: 180
Joined: Wed May 09, 2012 8:07 am
Location: mg.mud.de

Re: Mudlet mapper script Q&A

Post by Zaphob »

Any advise for my problem above from last month maybe?

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Re: Mudlet mapper script Q&A

Post by Belgarath »

He probably doesn't know the exact issue and therefore can't give us advice...

This post was not pointless though, I do have another question. Is there a way to draw custom line exits for rooms and not have to do it twice, one for each room to each other? I don't like overlapping them.

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

Re: Mudlet mapper script Q&A

Post by Vadi »

Zaphob wrote:Any advise for my problem above from last month maybe?
I tried doing it but it is working fine here - perhaps test on a new profile to confirm? I'm not sure yet as to what could it be, haven't run into this.

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

Re: Mudlet mapper script Q&A

Post by SlySven »

Ah, HOW did the room get into the second area? There was/is an issue with moving rooms from one area to another which IS being addressed...

silvariakiralv
Posts: 1
Joined: Tue Jan 21, 2014 5:54 pm

Re: Mudlet mapper script Q&A

Post by silvariakiralv »

I'm on the cusp of diving headfirst into Lua scripting so that I can create a mapper for my MUD. I play Legends of Krynn, based on ROM 2.4. I was curious about something that I've seen recurring throughout my reading of these scripts... Is an auto-walk command absolutely necessary? Or can I have it just grab the information of the rooms as I move through them at my leisure?

I apologize if this is terribly novice of me to ask... Just wanting to know so I don't try to work around it once I start writing the script if its a necessary component.

Thanks :)

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

Re: Mudlet mapper script Q&A

Post by Vadi »

An autowalker is just a common feature of a mapper, so you can click on rooms and it'll take you there. You don't have to do it if you don't want to - although Mudlet does a lot of the heavy lifting for you by doing pathfinding.

User avatar
Zaphob
Posts: 180
Joined: Wed May 09, 2012 8:07 am
Location: mg.mud.de

Re: Mudlet mapper script Q&A

Post by Zaphob »

OK now I have sorted out my above problems. I can now create a room, create another room, and link them via exits. Now, how do I best organise my code to tap into the GMCP possibilities? Are there any recommendable mappers available for reference? So I can just take the existing logic, and adjust to my MUD output? Would be thankful for pointers! (Maybe make my own thread, instead of hijacking this one?)

edit: looking at this thread now, seems helpful: http://forums.mudlet.org/viewtopic.php?f=13&t=3453

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Mudlet mapper script Q&A

Post by Daagar »

Zaphob - I do not claim it is good, recommendable, worthwhile or anything else, but I have a very basic set of Aardwolf scripts at the below link that might help if you want to use GMCP (as Aardwolf uses it). They are old, not quite finished (it handles the basics, though) and haven't been tested at all in 3.0 but hopefully it has _something_ of value for you.

EDIT: I'm a moron and forgot the link: https://github.com/daagar/damp. Shows you how much to trust the code.
Last edited by Daagar on Wed Oct 01, 2014 11:59 pm, edited 1 time in total.

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

Re: Mudlet mapper script Q&A

Post by SlySven »

Belgarath wrote:...This post was not pointless though, I do have another question. Is there a way to draw custom line exits for rooms and not have to do it twice, one for each room to each other? I don't like overlapping them.
How about drawing only half the path for each one so they meet in the middle? One thing to look forward to in 3.0 is a considerably improved and very much less user-hostile UI for custom exit lines, both for creating new ones (you can repeatedly undo the last point drawn or change the properties after you start to draw) and for editing existing ones (you can add or remove as well as the prior option of only moving, any vertex or change the properties) - and you get a nice target on the room on the same level to indicate where the line is supposed to end up!

User avatar
Akaya
Posts: 414
Joined: Thu Apr 19, 2012 1:36 am

Re: Mudlet mapper script Q&A

Post by Akaya »

Is there a function to set the color of a single room?

Post Reply