Automapper: Help?

by Unknown

Back to Mechanic's Corner.

Unknown2005-04-26 01:36:11
I just would like to know how you guys got your automapper to work? Mine keeps putting doubles of rooms in and things. Any pointers? wub.gif
Unknown2005-04-26 01:40:11
Oh yeah, I use ZMUD.
Unknown2005-04-26 01:50:06
*waits patiently for answer*

Even tho I use MUSH, I am still curious about that stupid mapper.
Silvanus2005-04-26 01:56:12
Its hard, at least it was for me. You just have to toy around with it, a lot, or you could read like the help thing or ask for help. I just toyed with it biggrin.gif
Unknown2005-04-26 01:56:14
Lots of hours spent writing and re-writing triggers until it accurately tracked all the exits, room names, and special rooms. Getting the right configuration is very important, too. Most of it is really trial-and-error, which I am sure doesn't help very much.
Unknown2005-04-26 01:58:15
Grrr I hate trial and error tongue.gif. When I'ved worked 8 hours and spent 90 minutes travelling to and from work, I just want to sit down, relax, and not have to think.

Anyway, it was mentioned elsewhere, but is there a mapping plugin for MUSH?
Unknown2005-04-26 02:02:29
I thought that's what I was doing... Asking for help...
Gregori2005-04-26 03:51:51
CODE

#CLASS {General|Mapping Triggers}
#REGEX {You see a single exit leading(.*)\\n(.*)\\.} {#IF (%pos( ".", "%1")>0) {#TAG exits "%1"} {#TAG exits %concat("%1")}}
#REGEX {You see exits leading(.*)\\n(.*)\\.} {#IF (%pos( ".", "%1")>0) {#TAG exits "%1"} {#TAG exits %concat("%1"," ","%2")}}
#REGEX {The wind catches you and blows you (.*)\\.} {#move %1}
#REGEX {There is no exit in that direction\\.} {#NODIR}
#REGEX {You follow .* (\\a+) to} {#MOVE %1}
#REGEX {Now now, don't be so hasty!} {#NODIR}
#REGEX {There's water ahead of you\\. You'll have to swim in that direction to make it \\nthrough\\.} {swim @LastDir;#move @LastDir}
#REGEX {You are regaining balance and are unable to move\\.} {#NODIR}
#REGEX {You are hurled (\\a+)wards by the force of the blow\\.} {#MOVE %1}
#CLASS 0


Those are my map triggers, I just used them and configured, trying to find a room with as many possible exits as I could to configure with, and away I went.