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
rozdwojeniejazni
Wanderer


Joined: 13 Aug 2011
Posts: 74

PostPosted: Mon Aug 06, 2012 11:20 am   

#stop - #step problem [solved]
 
Please help me with this commands combination. I think I understand well how these work, but I can't get them to work for me.
Map in slow mode, pretty much everything goes well by autoconfiguring the mapper.

Below is translated mud output and my comment in brackets:
Quote:
(I start the walk by double clicking on target room)
You start marching northeast.
Old road.
===] sw and n
> n
You start running north.
Old road.
===] s and ne
> ne
You are too tired to continue. (this line triggers my #stop, so the map position stays where it was)
Slow walking aborted
(I wait about 30 secs to recover the energy. Then I try to resume the walk by manual typing #step)
> ne
You start walking northeast.
Old road.
===] sw and nw
>
(And here is the problem. Movement was successful but mapper froze in previous room.)

Nothing happens anymore, except "Slow walking aborted" after the time defined in preferences Timeout aborts walk.

edit: Some small corrections in log


Last edited by rozdwojeniejazni on Tue Aug 07, 2012 8:26 am; edited 2 times in total
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Aug 06, 2012 1:15 pm   
 
I think you need a #NODIR in the trigger along with #STOP to tell the mapper that the move was not successful. #STOP won't confirm the move, but it also won't tell the mapper that it wasn't successful, so Cmud is still waiting for the first ne to complete.

Basically, what is happening is:

The walk sends the 'ne' command
The mud sends 'You are too tired to continue'
The trigger sends #STOP
Cmud is still waiting for the completion of a 'ne' command
#STEP sends 'ne' again, so there are now _two_ 'ne' commands in the queue
You move 'ne'
The walk sends 'sw', and you move in that direction
Cmud is expecting the room to the ne, and the room name does not match, so Cmud continues waiting for the matching room
Reply with quote
rozdwojeniejazni
Wanderer


Joined: 13 Aug 2011
Posts: 74

PostPosted: Mon Aug 06, 2012 2:18 pm   
 
You are right, it needs to be #nodir then #stop. Good thinking.

This help is greatly appreciated!
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