 |
realityworx Newbie
Joined: 30 Apr 2003 Posts: 3 Location: USA
|
Posted: Wed Apr 30, 2003 11:54 pm
Help Needed: Automapper Configuration (v6.56 Beta) |
I have been working on configuring the Automapper for use with Mystical Mud.
Generally it is going well except for gleaning the room exits.
A sample of the mud output is shown below:
/-----
< 1293/1615Hp 1287/1355Mn 1166/1166Mv 32MXp > e
The Center of Market Square
You are standing on the Center of Market Square, the famous square of
New Thalos. A large, peculiar looking statue is standing in the middle
of the square. The square extends in every direction.
[Exits:nesw]
A large fountain carved from blue-streaked marble is here, bubbling merrily. (magic)
A majestic statue of a courageous warrior looms over you.
E!Yosarian is standing here
+E!Raistlin the Arch-Magi
[ 2] A vulture circles above you.
< 1297/1615Hp 1289/1355Mn 1165/1166Mv 32MXp > w
The Western Market Square
This area of the square seems a bit more subdued than the rest. You
notice that most of the outland adventurers mill around the southern
end of the market, while the townfolk seem to keep their business in
the northern end.
West Main street begins here and heads for the gate, the market's
expanse fills the other directions.
[Exits:nesw]
+A guard stands here, protecting the innocent.
A construction worker steadily works here.
< 1297/1615Hp 1289/1355Mn 1164/1166Mv 32MXp > w
West Main Street
You are strolling on the street between the bank and general store.
To the West you hear a roadcrew at work and to the East, the sounds of
commerce taking place. The air is filled with the smell of gold and riches.
On the wall of the store is a poster.
[Exits:ew]
A small man walks around scribbling in a notebook.
A small harmless feline searches for food.
[ 2] An Elite Royal Guard stands here smiling happily.
-----
I also have the following triggers setup:
#tr {^~[Exits~:&{currentdirs}~]} {#tag exit {%1}}
#tr {^~< &{hp}~/&{maxhp}Hp &{mana}~/&{maxmana}Mn &{move}~/&{maxmove}Mv &{xp}Xp &{extraprompt}~>} {#noop finds prompt;#tag prompt}
All the variables from the prompt are being gathered, so I am assuming the prompt is being properly "tagged".
When i manually test the trigger ... it shows %1 as the appropriate value and successfully stores the value in ¤tdirs.
The mapper configuration is as follows:
Version: 19
Name Start: 0
Desc Start: 1
Desc End: 2
Exit Start: 3
Exit End: 4
Exit in Prompt: 0
Exit in Name: 0
Exit contains key: 1
Name paragraph: 0
Desc paragraph: 0
Exit paragraph: 0
Bracket prompt: 1
Short exit names: 1
vNum in Name: 0
Exit keyword: ~[Exits~:
Exit after keyword: 1
Match room name mode: 2
Use Descriptions: 1
Entire exit paragraph: 1
Single char exit: 1
Autoprompt detect: 1
Complex prompt: 1
Prompt char: <
Name ends in period: 0
Number prompt: 0
No MUD Prompt: 0
Room Name Propercase: 0
The only time that the automapper successfully auto creates a room exit is when the room exits show as "ne".
Do I have to reformat/reparse the exits in "currentdirs" to make it useful to #tag? If so what format? If not then why isn't it working?
Thank you in advance,
Realityworx aka Caltrop on Mystical Mud
www.mysticalmud.com |
|
|
 |
realityworx Newbie
Joined: 30 Apr 2003 Posts: 3 Location: USA
|
Posted: Sat May 03, 2003 7:19 pm |
Perhaps if I clarify or restate then someone can come up with some help:
What format does the data for "#tag exits" have to be in, or what formats do you use?
n, w, e, s
nwes
n w e s
n|w|e|s
all of the above?
Thanks,
Realityworx
www.mysticalmud.com |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat May 03, 2003 7:27 pm |
I doubt that you need to use #TAG exits at all. What you have described is a very common layout, precisely the kind of thing the Autoconfigure wizard was designed to handle.
LightBulb
Advanced Member |
|
|
 |
realityworx Newbie
Joined: 30 Apr 2003 Posts: 3 Location: USA
|
Posted: Sun May 04, 2003 10:04 pm |
Ok, the autoconfiguration does not work and the tag apparently doesnt work either. So ... is there a way I can manually (via keyboard) set the exits for the room for the mapper?
Thank you,
Realityworx, aka Caltrop on Mystical Mud
www.mysticalmud.com |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon May 05, 2003 4:28 am |
The title of your topic indicates you're using a beta version, but NOT the latest one. It's entirely possible that this is related to some bug introduced in the latest round of beta's. If that's the case, it may have already been identified and fixed. You have been reading the Beta forum haven't you?
Have you tried using the triggers without the &var syntax? And with the prompt option for the prompt trigger?
#TR {~[Exits:(*)~]} {#TAG exit %1}
#TR {^~< (%n)/(%d)Hp (%n)/(%d)Mn (%n)/(%d)Mv (%d)Xp (*)~>} {#noop finds prompt;#tag prompt;#VAR hp %1;#VAR maxhp %2;#VAR mana %3;#VAR maxmana %4;#VAR move %5;#VAR maxmove %6;#VAR xp %7;#VAR extraprompt {%8}} {} {nocr|prompt}
LightBulb
Advanced Member |
|
|
 |
|
|