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


Joined: 04 Nov 2004
Posts: 4

PostPosted: 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:
----------------------------------------------------------------
The Temple of Garland
You find yourself inside a huge, circular room. Great columns of  white granite support the vaulted ceiling. An altar carved from a greenish stone stands in the middle of the room all covered with small bouquets of dried flowers. A set of oaken doors leads west to what seems to be the fellowship hall. Large arches lead out of the temple to the north and south.

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


The fellowship hall.
 You find yourself in a large room. The decor is not as nice as the main temple, but the atmosphere is more relaxed. Wooden tables and benches fill the area and a large stone fireplace is built in to the south wall.  There are two exits to the north and there is a fine wooden door to the west. To the east you can see main congregation area of the temple.

Visible exits: W E N NW


>e


The Temple of Garland
You find yourself inside a huge, circular room. Great columns of  white granite support the vaulted ceiling. An altar carved from a greenish stone stands in the middle of the room all covered with small bouquets of dried flowers. A set of oaken doors leads west to what seems to be the fellowship hall. Large arches lead out of the temple to the north and south.

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


The fellowship hall.
 You find yourself in a large room. The decor is not as nice as the main temple, but the atmosphere is more relaxed. Wooden tables and benches fill the area and a large stone fireplace is built in to the south wall.  There are two exits to the north and there is a fine wooden door to the west. To the east you can see main congregation area of the temple.

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.
Reply with quote
loneblink
Newbie


Joined: 04 Nov 2004
Posts: 4

PostPosted: 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.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: 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)
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
loneblink
Newbie


Joined: 04 Nov 2004
Posts: 4

PostPosted: 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.$} {#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.
Reply with quote
loneblink
Newbie


Joined: 04 Nov 2004
Posts: 4

PostPosted: 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.
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