(mapping script) mapper script for Akanbar

All and any discussion and development of the Mudlet Mapper.
Post Reply
User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

(mapping script) mapper script for Akanbar

Post by Belgarath »

What do you get when you cross-breed an IRE mapper script with a generic mapper script?

Well, in this case, a functional and feature-rich mapping script that isn't reliant on GMCP(!)... which I have specifically tailored for one of my favourite (and very underrated) MUDs: Akanbar.

Most of the credit goes to Vadi and Jor'Mox, I just stuck both of their scripts in a room until... Anyway: Enjoy!

---------------------------------------------------------------------------------------------------

Getting started is quite simple: install the mapper as a module. Then, log into Akanbar (or relog if you're already in the realm) so it sets everything up correctly for first time usage.

Use the following commands to get started mapping:
  • mc - this will toggle mapping mode
  • rlc first - this will create the first room for you and set its name and exits
  • area add <area> - this will create the first area for the room you're standing in
  • room area <area> - this will set your current room as being in said area
After that, you can start moving around as you would normally and it will create each room for you.

If you want to move the room in a certain direction on the mapper, use rc <direction>.

You can delete a room with rld <vnum/direction>.

CHANGELOG
13-11-17
Small improvements as I've come across them.
27-07-17
Added an alias to simplify creating first rooms in new areas (like... the first area you start mapping, for instance).
Fixed an error with setting the 'back' shortcut in the location database.
25-07-17
Removed continents since its irrelevant to Akanbar. Fixed some bugs and added recent updates from the original IRE mapping script.
24-07-17
Simplified storage and control over location entries. They are now stored in a local file in your profile and can be edited with aliases.
Attachments
akanbar-mapper.xml
(196.81 KiB) Downloaded 1064 times
Last edited by Belgarath on Mon Nov 13, 2017 8:22 pm, edited 6 times in total.

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

Re: (mapping script) mapper script for Akanbar

Post by Vadi »

Nice, thanks for sharing!

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

Re: (mapping script) mapper script for Akanbar

Post by SlySven »

You no longer have to reserve room Id 1 as a data store for whole map / area data - the default map format now will allow persistent storage of whole map user data and per area user data. The format for the area user data commands is generally the same as the room user data ones (assuming the getRoomUserData(...) is command is used with the error handling enabled - see the Wiki for the full details) except they take area ids instead of room ids; the map user data commands do not have an id argument (as there is only one map!) :ugeek:

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

Re: (mapping script) mapper script for Akanbar

Post by SlySven »

Following a private message from Belgarath here is a list of all the Wiki entries relating to user data in the map:

Room data commands: Area data commands: Map data commands: Hope that helps someone

Post Reply