Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Hypharse
Newbie


Joined: 06 Sep 2005
Posts: 4

PostPosted: Tue Sep 06, 2005 1:06 am   

Automapper Config for Adventures Unlimited
 
Cavern of Quartz
[ ] Standing at the entrance to this small cavern, the light from
[ % ] your war banner flickers and shimmering from every wall in this
[ <1> ] place. Gosh too bad you forgot your mining tools. A small
[ 1 H 1 ] sign rests against a rock.
[ 1 ]
[Exits: north south]

A small goblin guard patrols this end of the cavern.

<69/69hps 116/116mana 99/106mv 2088exp >


That is what it looks like. I used to be great at manually configuring the old automapper, but since he has re-written it I am having major problems. The auto-config does not work. I really dislike how the new way of counting paragraphs starts from the bottom up. in this case that usually means the "A small goblin" is seen as the first paragraph ruining the rest of the config. There aren't always mobs in the room though so the room name may be in paragraph 1 or not.

Can I get some help on configuring this? I have tried a lot of different settings with no luck.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Sep 06, 2005 10:12 pm   
 
In your case, you need some #TAG love. I JUST got done helping another person with that, so I'll let you write all the code.

1)#TAG your prompt

2)#TAG your exits

3)#TAG your room description (you probably will have to employ 2 or 3 triggers to properly get something to #TAG, take a look at the other automapper topic I just replied to for a general example regarding that person's exits)

4)#TAG your room name (a pattern of ([%w%s]) including the parentheses should work nicely for you)
_________________
EDIT: I didn't like my old signature
Reply with quote
Hypharse
Newbie


Joined: 06 Sep 2005
Posts: 4

PostPosted: Tue Sep 06, 2005 11:35 pm   
 
Thanks for your help. The #TAG thing is new to me.

I was able to get the room name, desc, exits to work fine except for one problem.

If there is a mob or something in the room the (%w%s) will tag that as the room name instead of the actual room name. So in the case above "A small goblin guard patrols this end of the cavern. " gets set as the room name. Is there a way I can sort of connect the room name and room desc so it knows that one always comes after the other?
Reply with quote
Hypharse
Newbie


Joined: 06 Sep 2005
Posts: 4

PostPosted: Wed Sep 07, 2005 12:22 am   
 
I think I got it. I just put in one long trigger for the room name and room desc

^{^~[}(*)$~[*~](*)$~[*~](*)$~[*~](*)$~[*~](*)$~[*~](*)

It seems to work. I just need to add a thousand #NOMAP things in now.

Thanks again for your help.
Reply with quote
Hypharse
Newbie


Joined: 06 Sep 2005
Posts: 4

PostPosted: Wed Sep 07, 2005 12:37 am   
 
Yep. I added a few #NOMAPs for channels and hungry/thirsty and direction failures. It works flawlessly now.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net