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
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sat Oct 04, 2003 11:07 am   

Mapper problem
 
I'm trying to configure the mapper but it fails. It doesn't detect the mud prompt properly so it doesn't know when a room is "finished".

This is an example output of the mud:
---------------------------------------------------------------------
A secluded area
[Exits: north]
Small flowers decorate the green, grassy ground. Water lingers through the fresh air and a southern breeze goes through the area. A bit further away to the north a small lake is situated. Its water seems frozen but still at this very spot warmth and safety rests. A small wooden chair has been placed here as well. It wears the letter 'V' printed on the left side of it. When facing towards the direction of the chair a large landscape can be glimpsed. Large
mountains stretching towards the cloudy blue sky.

(Glowing) A small noteboard has been placed close to the chair
(Invis) (White) A guardian is here.
CLOAK: FLAMING ABSORB REFLECT

<13196/13196hp 9399/9399m 9399mv #4180>
---------------------------------------------------------------------
(Please note that the '----' lines are not part of the output)
#4180 is the room's vnum.

Now I have this trigger to help the mapper read the prompt:
Pattern: (~<%d/%dhp %d/%dm %dmv) ~#(%d)~>
Command: #tag prompt,vnum {%1} {%2}
It will trigger on newlines/prompts. However when I configure the mapper it seems to detect both 'prompt part' and vnum but when actually mapping it does not detect the prompt. It just stays in "north" state when pressing 'look'.

Does anyone have any ideas on what is wrong? Thanks for the help :)
Reply with quote
StackAdder
Wanderer


Joined: 30 Sep 2003
Posts: 77
Location: United Kingdom

PostPosted: Sat Oct 04, 2003 12:47 pm   
 
I suspect that you moved into a room with a direction in the description (to the north a small lake) - I found that this meant my mapper never worked out where the description started 9and this may be related).
Find a room to move into when configuring which doesn't have a dir in the desc and see whether that fixes the problem.
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sat Oct 04, 2003 1:29 pm   
 
quote:
Originally posted by StackAdder

I suspect that you moved into a room with a direction in the description (to the north a small lake) - I found that this meant my mapper never worked out where the description started 9and this may be related).
Find a room to move into when configuring which doesn't have a dir in the desc and see whether that fixes the problem.


Thanks for the suggestion. I am afraid that it didn't work though [V].
Reply with quote
Arcane_of_Discworld
Wanderer


Joined: 29 Jan 2002
Posts: 99
Location: UK

PostPosted: Sat Oct 04, 2003 3:48 pm   
 
To capture all the information from the example prompt you have given the pattern needs to be as follows:

^~<(%d)~/(%d)hp (%d)~/(%d)m (%d)mv ~#(%d)~>$

To test create a trigger with tha aforementioned pattern and a Value of:

#ECHO Current_HP %1, Max_HP %2 Current_M %3, Max_M %4, MV %5 and ~#%6

I doubt that will solve your problem though.. I would like to suggest that you open your Map configurations preferences..

Config > Configuration Settings > Configuration > MUD Prompt

clear all the check boxes except 'Allow string> prompt' then put '<' in the Prompt Char box

Good luck

Arcane
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Sat Oct 04, 2003 7:10 pm   
 
quote:
Originally posted by Arcane_of_Discworld

To capture all the information from the example prompt you have given the pattern needs to be as follows:

^~<(%d)~/(%d)hp (%d)~/(%d)m (%d)mv ~#(%d)~>$

To test create a trigger with tha aforementioned pattern and a Value of:

#ECHO Current_HP %1, Max_HP %2 Current_M %3, Max_M %4, MV %5 and ~#%6

I doubt that will solve your problem though.. I would like to suggest that you open your Map configurations preferences..

Config > Configuration Settings > Configuration > MUD Prompt

clear all the check boxes except 'Allow string> prompt' then put '<' in the Prompt Char box

Good luck

Arcane


Sorry but that doesn't work either :-(
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