Page 1 of 1

(mapping script) mapper script for Akanbar

Posted: Sun Jul 23, 2017 7:13 pm
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>.

Small improvements as I've come across them.
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.
Removed continents since its irrelevant to Akanbar. Fixed some bugs and added recent updates from the original IRE mapping script.
Simplified storage and control over location entries. They are now stored in a local file in your profile and can be edited with aliases.

Re: (mapping script) mapper script for Akanbar

Posted: Mon Jul 24, 2017 4:52 am
by Vadi
Nice, thanks for sharing!

Re: (mapping script) mapper script for Akanbar

Posted: Tue Jul 25, 2017 5:16 am
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:

Re: (mapping script) mapper script for Akanbar

Posted: Tue Jul 25, 2017 4:50 pm
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