|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Mon Mar 22, 2004 3:20 pm
Automapping from the prompt |
Hi,
I'm playing this MUD that has the exits in the prompt. E.g.:
23/50hp 12/20mp 120mv | NWES >
How do I configure zMUD to use the prompt exits in the automapper?
Regards,
Avicenna |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Mon Mar 22, 2004 3:27 pm |
There is a setting in the automapper configuration for "Exits in prompt." Try that?
|
|
|
|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Mon Mar 22, 2004 3:31 pm |
Didn't work... Thats why I posted it here. In fact using that option pretty much disables the automapper completely.
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Mon Mar 22, 2004 5:33 pm |
In my own experience, I always make sure that I tweak the settings and run the automapper configuration wizard again to allow it to pick up the changes. I'm not sure if this is the way it's supposed to work, but it seems to take care of most problems I have with mapping. I don't have a prompt with exits in it, but configuring my automapper settings properly did take patience and lots of testing until it finally worked correctly.
I suggest just playing around with it and maybe making a few triggers to help parse things. Make sure you have your prompt pattern correct in the automapper settings first, though. (Watch out for the regular expression option, if you're not using a regular expression.) |
|
|
|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Mon Mar 22, 2004 6:35 pm |
Ok, I'll give it in full detail.
Room name, description, prompt:
------------------------------------------------------------------------
On the Bridge
You are standing on the stone bridge crosses the river. The bridge is
built out from the western city wall and the river flows west through an
opening in the wall ten feet below the bridge.
[x] A janitor is walking around, cleaning up.
[x] A vagabond is here, looking for victims.
The puppy has followed you.
65/65hp 150/150ma 134mv | NS >
------------------------------------------------------------------------
Without the '---' parts this is what I get when I walk in a room.
Whit the mapper I get the room name and room description, so that works fine.
In the exit config I have the following options:
[ ] Room exits
0 Exist Paragraph
0 Exists start line
[ ] Multiline Exists
[x] Exit in Prompt
[ ] Exit in Room Name
[x] Use short exit names
[x] Single character exits
[ ] Use entire exit paragraph
[ ] Exit line contains key
[ ] Exits after keyword
Exit line keyword
[ ]
MUD propmt options:
[ ] Auto Prompt detect
[ ] No Prompt
[x] Complex prompt
[ ] number prompt
[ ] Allow string> prompt
[ ] Prompt char
Prompt trigger pattern
[d+/d+w+ d+/d+w+ d+w+ | w+ >]
[x] PERL regular Expression
[ ] Wait for prompt in SAFE speedwalking
[x] Wait for prompt in SLOW walking
[ ] Allow blank line to trigger speedwalking as prompt
Auto mapper draws rooms as soon as I step into a new one. I want to have the exits drawn too. When I activate the Room exists option the rooms are no longer drawn when I walk. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Mar 22, 2004 9:10 pm |
Uncheck 'Use short exit names' and try a reconfigure
|
|
|
|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Tue Mar 23, 2004 9:01 am |
Nope, doesnt work.
A reconfig fails because somewhere in de description part there are (as far as I know) always directions mentioned. These directions are useless for the automapper because they do not describe all exits and it screws up the description. |
|
|
|
SpiritWolf Wanderer
Joined: 02 Jul 2002 Posts: 74 Location: USA
|
Posted: Tue Mar 23, 2004 11:42 am |
Try checking the "Exits after keyword" option and putting the | symbol in the exit keyword box and reconfiguring. Dunno if that will work, but worth a shot.
|
|
|
|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Tue Mar 23, 2004 11:58 am |
Tried that one too. But as stated earlier, as soon as I active the room exits option, the mapper no long draws new rooms I walk into.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Mar 23, 2004 1:04 pm |
Try with these triggers and then reconfiguring:
#TRIGGER {%d/%dhp %d/%dma %dmv | (*) ~>} {#TAG exit {%1}} "" {prompt}
#TRIGGER {%d/%dhp %d/%dma %dmv *~>} {#TAG prompt} "" {prompt} |
|
|
|
Avicenna Newbie
Joined: 22 Mar 2004 Posts: 6 Location: Netherlands
|
Posted: Wed Mar 24, 2004 8:46 am |
Well, unfortunately. That didn't work either. I finally found a workaround. It seemed that the mud prompt was configurable so I changed the prompt into 2 lines. 1 with the exits and one with tho other information. After a reconfigure it worked perfecty.
Thank you all for your time. |
|
|
|
|
|