 |
loneblink Newbie
Joined: 04 Nov 2004 Posts: 4
|
Posted: Thu Nov 04, 2004 9:49 pm
Mapper movement confusion. |
When using the mapper, often times it seems to stop reading my movements between rooms. I've been able to reliably reproduce this by moving east and west between two rooms.
Output as follows:
----------------------------------------------------------------
[36mThe Temple of Garland[0m
[33mYou find yourself inside a huge, circular room. Great columns of [0m [33mwhite granite support the vaulted ceiling. An altar carved from a greenish[0m [33mstone stands in the middle of the room all covered with small bouquets of dried[0m [33mflowers. A set of oaken doors leads west to what seems to be the fellowship[0m [33mhall. Large arches lead out of the temple to the north and south.[0m
Visible exits: D E N S W
%e[31m The High Priest of Garland walks among his faithful.
%e[35m A newbie manual lies here unread.
%e[35m A large, extremely heavy %e[1;32mm%e[0;32ma%e[1;32mr%e[1;37mb%e[1;32ml%e[0;32me%e[35m altar stands in the center of the%e[0m%e[35mtemple.%e[0m
%e[35m A bulletin board hangs on the wall.
>w
[36mThe fellowship hall.[0m
[33m You find yourself in a large room. The decor is not as nice as the[0m [33mmain temple, but the atmosphere is more relaxed. Wooden tables and benches[0m [33mfill the area and a large stone fireplace is built in to the south wall. [0m [33mThere are two exits to the north and there is a fine wooden door to the west.[0m [33mTo the east you can see main congregation area of the temple.[0m
Visible exits: W E N NW
>e
[36mThe Temple of Garland[0m
[33mYou find yourself inside a huge, circular room. Great columns of [0m [33mwhite granite support the vaulted ceiling. An altar carved from a greenish[0m [33mstone stands in the middle of the room all covered with small bouquets of dried[0m [33mflowers. A set of oaken doors leads west to what seems to be the fellowship[0m [33mhall. Large arches lead out of the temple to the north and south.[0m
Visible exits: D E N S W
%e[31m The High Priest of Garland walks among his faithful.
%e[35m A newbie manual lies here unread.
%e[35m A large, extremely heavy %e[1;32mm%e[0;32ma%e[1;32mr%e[1;37mb%e[1;32ml%e[0;32me%e[35m altar stands in the center of the%e[0m%e[35mtemple.%e[0m
%e[35m A bulletin board hangs on the wall.
>w
[36mThe fellowship hall.[0m
[33m You find yourself in a large room. The decor is not as nice as the[0m [33mmain temple, but the atmosphere is more relaxed. Wooden tables and benches[0m [33mfill the area and a large stone fireplace is built in to the south wall. [0m [33mThere are two exits to the north and there is a fine wooden door to the west.[0m [33mTo the east you can see main congregation area of the temple.[0m
Visible exits: W E N NW
>
-----------------------------------------------------------------------
The mapper properly creates the room when going west. Then correctly follows going east. However when moving west again, the location does not update. If i try to move back east to the temple, the mapper incorrectly creates another room. Moving through areas, the mapper will stop updating or creating rooms at all.
It should be noted that I am using #tag to tag the room name, description, exits and prompt. The room name and description is triggered by the ansi color sequence. Triggers as follows:
#trigger {%e[36m(*)} {#tag name}
#trigger {%e[33m(*)} {#tag descpara}
#trigger {Visible exits: (*)} {#tag exit}
My prompt is as follows:
<H:63/63 M:167/167 V:142/142 Wi:190/W Tnl:9069 Gold:21981g Bank:64478g(hun)(thi)>
>
I have used a trigger to set variables to my stats and gag the first line, leaving just the > as my promp so I may tag is as my prompt as follows:
#trigger {<H:&{hp}/&{maxhp} M:&{mana}/&{maxmana} V:&{vit}/&{maxvit} Wi:&{weight}/&{maxweight} Tnl:&{xptnl} Gold:&{gold}g Bank:&{bank}g&{status}>} {#gag}
#trigger {^~>} {#tag prompt}
(trigger on prompt is enabled and trigger on newline is disabled for the last trigger)
I also have a trigger which gags any blank prompts with a carriage return as follows:
#trigger {^~>$} {#gag}
Two #NODIR triggers have been set as follows:
#trigger {The door is closed.} {#NODIR}
#trigger {You can't discern an exit in that direction.} {#NODIR}
Sorry if that is kind of a mess to read but i would appreciate any and all assistance. |
|
|
|
 |
loneblink Newbie
Joined: 04 Nov 2004 Posts: 4
|
Posted: Fri Nov 05, 2004 2:57 am |
Oh some updated information. I also noticed that once I go west, east, then west again. It shows 'Queue: w (416)' on the bottom right corner of my map window where when the map was working properly, the queue would be cleared out. Please provide help. :) Thank you.
|
|
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Fri Nov 05, 2004 3:10 am |
After the room is created then it is looking for speedwalking confirmation
Make sure the room name/desc matches if there is a direction in the queue you can open your settings editor system|_tempmap path and verify the trigger there matches your name/desc depending on options
Make sure the prompt matches (even though you are tagging make sure ^~> is in the prompt option section for the mapper) |
|
|
|
 |
loneblink Newbie
Joined: 04 Nov 2004 Posts: 4
|
Posted: Fri Nov 05, 2004 5:15 am |
Thanks nexela I think I might have a clue as to why it's not working.
When I look inside _TempMap the trigger that I see in there is like:
#Trigger {[36mThe fellowship hall.[0m$} {#OK}
However, under options ANSI Trigger is not checked. I think I have to make the mapper strip the ansi information or somehow have the option checked for the temp trigger. Could anyone instruct me how to do this? I've poked around but I haven't found anything yet to do this.
Thank you in advance for your time and support. |
|
|
|
 |
loneblink Newbie
Joined: 04 Nov 2004 Posts: 4
|
Posted: Fri Nov 05, 2004 5:30 am |
Ahh I think I've got it! :)
I've adjusted my trigger to something like:
#trigger {%e[36m(*)%e[0m} {#tag name %1}
and
#trigger {%e[33m(*)%e[0m} {#tag descpara %1}
and preliminarily it seems like it's working. I'm ecstatic!!!!! Thank you. If it weren't for looking at _tempmap i'd have never known what was going on. :) thank you thank you thank you. |
|
|
|
 |
|
|
|