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
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Tue Apr 16, 2002 12:55 am   

Forced mapping
 
I would like my mapper to ignore the input to the mud and only go by what it says, for example this is what it looks like (input lines will start with a star):

*south
You walk south.
A Dusty Smithy
Obvious exits: North East South@ West
An slimy cecratche seer stands here, clicking quietly to itself.

but sometimes in mist zones the input and the output don't match up because you get lost, but it always shows you which way you actually went through the "You walk ..." i can get it to move when it sees the "You walk..." but it doubles up because it's going in that direction for the input and the trigger i set up. i only want it to worry about what the mud sends. is there any way to do this?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Apr 16, 2002 1:14 am   
 
Try this:
#TRIGGER {You walk (%w)} {#NODIR;#MOVE %1}

Kjata
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Tue Apr 16, 2002 1:27 am   
 
do you think that will work for mapping to?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Apr 16, 2002 1:30 am   
 
It should work for mapping, but you may need to use the #MAKE command instead of #MOVE if the room you are moving into does not exist.

Kjata
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Fri May 10, 2002 4:49 am   
 
Well, i thought is was all working properly but apparently my trigger wasn't even catching because i tried using %t instead of %w ... but anyways, it does help for mist zones and it also fixes a few other problems, but it also causes my mapper to double open doors. like so:

*open door east
*east
It's already open!

You walk east.
*open door east
A Wide Circle of Willow Trees
Obvious exits: East South West
An animate tree with rope-like branch limbs lurches through here.

That's impossible, I'm afraid.

it sends the open door command like normal before it sends the direction command, but then because of my trigger it tries to open it immediatly after walking in whatever direction i went. i wouldn't ever need it to open the door in the direction i actually went even if it's not the direction i typed in. and when going accross zones it jumps an extra room in which ever direction i was headed.
any ideas?
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