Page 1 of 25

(mapping script) Mudlet Mapper script for Achaea/IREs

Posted: Thu Sep 16, 2010 12:42 am
by Vadi
This is the Lua component to make the Mudlet Mapper work for IRE games. It's included by default in all Mudlet profiles for Achaea, Aetolia, Lusternia, Imperian, or Starmourn. If you'd like to know more about it, see below!

More info

Re: Mudlet Mapper Lua for IREs

Posted: Mon Sep 27, 2010 4:42 am
by Vadi
Updated Sept 27th:
- added pig nose arty for Lusternia area detection
- added area detection to Lusternia deathsight
- goto <room number> now accepts sprint/dash/gallop, ie goto 1 sprint
- added sprint option to settings, use 'mconfig sprint on' to always sprint
- added new multiple room shortening calculation function from tsuujin
- added mmp.getnums function
- added mmp.areatable, mmp.areatabler tables

Re: Mudlet Mapper Lua for IREs

Posted: Thu Sep 30, 2010 12:56 am
by txandi
This sounds great! I would say look great too, but I think there's an issue... the mapper won't capture my map properly! I just deleted the previous map I was using by demonnic (I think it was made for another IRE game, not Lusternia specifically) and imported the xml for this. I didn't see any triggers for capturing the map, but a few triggers for swimming, deathsight, etc.

There's an error with the Utilities script too: Lua syntax error.[string "function mmp.echo(what)...")82: attempt to call global 'getAreaTable' (a nil value)

Hope this can be addressed soon.

Re: Mudlet Mapper Lua for IREs

Posted: Thu Sep 30, 2010 2:13 am
by Vadi
Your Mudlet version isn't new enough

Re: Mudlet Mapper Lua for IREs

Posted: Sun Oct 10, 2010 12:19 am
by Vadi
Updated October 9th:
- added rf <room name>, room find <room name> to locate rooms

Re: Mudlet Mapper Lua for IREs

Posted: Fri Oct 29, 2010 1:56 am
by Vadi
Updated October 28th:
- instructions on how to update the map

Re: Mudlet Mapper Lua for IREs

Posted: Sun Nov 07, 2010 1:43 pm
by Kanner
Hi,

I'm not sure where to put this, it's not exactly related to this I don't think but it might be. I was playing around with Mudlet trying to learn it. I downloaded the pre6 to play with the mapper. I was making just a short alias to pull up the Achaea map and it crashed Mudlet. The alias was "m" and it was supposed to do "map".

The interesting thing is I played around with it after and I can use "k" to bring up "map" or I can do "m" to "look" but when the two are together "m" for "map" it crashes. Not sure if you were already aware of that or if it was intended to be reserved for something later on but just thought you would want to know.

Re: Mudlet Mapper Lua for IREs

Posted: Sun Nov 07, 2010 1:50 pm
by Vadi
I think the issue there is that you possibly made a recursive alias - one that matched itself, so when Mudlet looped doing what you've asked it to, the OS killed it.

Do know that if make the alias use the 'Command' field, the commands will still be checked if it's an alias or not.

Re: Mudlet Mapper Lua for IREs

Posted: Sun Nov 07, 2010 2:17 pm
by Heiko
1. Keep in mind that alias patterns are regex only. The regex pattern m will match any command that contains an m whereas ^m$ is probably more what you want. Read the alias section in the manual for more information.
2. An alias pattern m with the script: expandAlias("map") will loop infinitely. You'll want to use send("map") instead or use the pattern ^m$.

Re: Mudlet Mapper Lua for IREs

Posted: Mon Nov 29, 2010 12:23 pm
by Sohl
I uh, actually didn't realize you needed a separate script to display/speedwalk. It's working fine now, thanks for the help.