Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
robert
Wanderer


Joined: 25 Feb 2004
Posts: 98

PostPosted: Mon Dec 27, 2010 6:05 am   

How to keep Map location accurate with hard exit
 
Hey All,

When slow walking, what would be the strategy for keeping your location accurate when the exit only works 20% of the time. I created a room trigger that would keep trying to exit when the failure message occurs, but then when I finally get to the next room even though the room is #TAGed and then #OKed the room location isn't updated unless I TAG and OK it again.

Thanks!

Robert
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Mon Dec 27, 2010 6:32 am   
 
Are you using #NODIR when you fail to move? To keep the mapper up-to-date on your movement status.
_________________
Discord: Shalimarwildcat
Reply with quote
robert
Wanderer


Joined: 25 Feb 2004
Posts: 98

PostPosted: Mon Dec 27, 2010 7:44 pm   
 
#NODIR worked great. :) I made a room trigger that did #NODIR and the resent the direction and everything was good. :)

Thanks Shalimar!
Reply with quote
robert
Wanderer


Joined: 25 Feb 2004
Posts: 98

PostPosted: Wed Dec 29, 2010 5:21 pm   
 
So I figured out that the #NODIR was only working if the next room was the end of the walk. What #NODIR did was remove the next direction in the walk, not leave that direction in the walk queue. The reason the room wasn't updated in my first attempt at just repeating the direction was because the slow walk timed out. If I changed it so that slow walks never abort due to timeout, just sending the direction again works, although the room script needs to be the next room as CMud assumes you want the script for the next room activated.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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