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
Rav
Newbie


Joined: 22 Feb 2007
Posts: 3

PostPosted: Thu Feb 22, 2007 1:57 am   

Newbie needs help setting up automapper (yes another one of these posts)
 
I know there are about a gazillion posts on getting the automapper set up. I have spent the better part of the evening going through them trying to see if there was anything that I could take away and solve my problem.

My problem is that it is not registering the rooms even with the "Map Creation Mode" on. (I followed the tutorial under the articles on this site too).

In my reading it seems that the prompt trigger pattern is an important part of getting this mapper to correctly work. Currently the auto configure is not picking up the text correctly and I don't know enough about it to do it manually. I also don't know enough about the trigger patterns to set mine up right.

So all that being said .. I am hoping someone might be able to help me get this thing configured correctly ....

Below is a sample of my MUD room description, prompt, etc ...

Quote:

On the Concourse at Penny Lane [Sector: city]
You are on a road leading around the inner walls of Midgaard. To the north,
the concourse heads towards a bridge into northern Midgaard. To the south,
you can see an intersection with Elm Street. The quaint paved streets of
Penny Lane lie west.


[Exits: north south west]

<4712hp 4633m 1824mv><NSW><12650>
n
Northeast end of Concourse [Sector: city]
You are at the Concourse. The city wall is just east and Austral Square,
home of Kate's Diner, is west. Looking across the river you see an old
warehouse. A strong stone bridge crosses the river to the north, where the
concourse becomes wall road. The Concourse continues south along the wall.


[Exits: north south west]

<4712hp 4633m 1823mv><NSW><12650>
n
On the Bridge [Sector: city]
You are crossing a strong stone bridge, which spans the Midgaard river.
Below you, the river flows into an opening in the city wall, sealed with
strong metal bars. North of you is wall road, south of here the concourse
loops around the inside of the city walls.


[Exits: north south]

<4712hp 4633m 1822mv><NS><12650>


My prompt is obviously hp, mana, moves, short exit, and xp to level ...

any help would be very much appreciated ...
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Feb 22, 2007 4:03 am   
 
Quote:

#trigger {^[%w%s]~[sector:*~]$} {#tag name}
#condition {*} {#tag desc} {within|param=1}
#condition {~[Exits: (*)~]} {#tag exit %1}
#condition {~<%dhp %dm %dmv~>~<[NSEW]~>~<(%d)~>} {#tag prompt;#tag vnum %1} {prompt|nocr}


You can just copy the above into your command line and press enter. This will automatically create the trigger in your settings file. After you do that and move the trigger to wherever you'd like to keep it, rerun the autoconfiguration tool and it should be able to catch your stuff. That #tag vnum bit on the end? If that doesn't work and you don't want it, you can simply remove it from the trigger code.
_________________
EDIT: I didn't like my old signature
Reply with quote
Rav
Newbie


Joined: 22 Feb 2007
Posts: 3

PostPosted: Thu Feb 22, 2007 2:08 pm   
 
Thanks for the help Matt - can you elaborate on 2 things:

-When you sayd "move the trigger to wherever you'd like to keep it" what does that mean?

-The #tag vnum stuff - is that based on something in my prompt or something behind the scenes? The number that is in my prompt at the very end is my XP to level not a vnum. Not sure if that would mess up anything you have put in the trigger.

Again, thanks for the input - I'm going to give this a try and I'll lety ou know!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Feb 22, 2007 2:19 pm   
 
You can create class folders in the settings editor to hold different kinds or catagories of settings. He's saying you can create a class for these triggers to keep them separate, or put them in whatever kind of folder structure you like.

Just remove the part of the trigger that does #tag vnum %1 and you're good.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Feb 22, 2007 10:57 pm   
 
The trigger as I wrote it would appear in whatever the default class currently was set to (it's almost always the NONE folder, but this can change sometimes). It doesn't really matter where you keep it in the settings file, but some prefer to keep mapper-related settings in the System|AutomapperAll folder or the System|Automapper folder or some other abritrarily-decided location per their organization scheme.
_________________
EDIT: I didn't like my old signature
Reply with quote
Rav
Newbie


Joined: 22 Feb 2007
Posts: 3

PostPosted: Mon Feb 26, 2007 2:55 pm   
 
Well I put the trigger into the command line and it is still hit or miss on the mapping ... when i autoconfigure it is tryin gto pick up the exits in my prompt still instead of in the room desc.

Also, In the map instead of just displaying the room names in the "nearby" tab, it has a long list of symbols and the room name imbedded in it ... is that a result of the trigger? (This is when i do get it to see the room)


example:

|[37mTheTempleSquare[|[33mSector: |[1;33mcity|[0;37m]|[0m

thoughts?
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