 |
ccogdill Beginner
Joined: 16 Jul 2002 Posts: 27
|
Posted: Sun Nov 11, 2007 8:44 pm
Clear out the directions in the speedwalking queue |
Is there a way to clear out the directions in the queue for speed walking? I have a bot that I created that will #slow walk me to a location on the mud. But sometimes if I go through a portal it will randomly teleport me to a unknown location on the mud, and there are still directions in the queue. Then cMud will keep trying to go through all those directions in the queue until it runs out of directions. Since I am in a unknown place it's annoying to try to go east but if the direction in west in the %nextdir() I walk east then automatically it dumps west to the mud. The I will get the "Slow walking aborted" message because my room desc doesn't match what they expect.
I have tried using #stop but that doesn't clear out the queue.
I checked on the zMud discussion group and they suggested I try using #NODIR 1 but that failed to clear out the queue as well.
Any help will be greatly appreciated. |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Nov 11, 2007 8:53 pm |
Using #NODIR 1 will do it.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Nov 12, 2007 7:34 am |
#QUEUE 0 works as well.
|
|
_________________ Asati di tempari! |
|
|
 |
eupher Apprentice
Joined: 18 Jan 2001 Posts: 116 Location: USA
|
Posted: Sun Aug 28, 2011 12:17 pm Neither of these solutions work for me |
I'm having the same problem as the original poster from so long ago, and can't find the solution. I'm using the #SLOW command to follow a path in CMUD 3.34. I'm not using the mapper at all. If something goes wrong while walking the path, like falling off a tree or something, then I'd like to be able to clear the remaining steps so I can start a new slow walk from the new location. However, all of the old directions remain in the queue until I exhaust them using #OK. I tried both of the solutions listed in this thread, and neither one of them is clearing the queue.
Suggestions? |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Aug 28, 2011 2:44 pm |
In your case, if you are not using the mapper then you must obviously set some variable to empty. If you have no variable, then there's nothing you can do because the commands were already sent to the game.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
eupher Apprentice
Joined: 18 Jan 2001 Posts: 116 Location: USA
|
Posted: Sun Aug 28, 2011 3:10 pm |
I'm not sure what you mean by "some variable". I'm using the #SLOW command. The commands have not already been sent to the game. They are in the slow walking queue. After an unsuccessful move I #STOP the walk, but the remaining directions are still in the queue (in CMUD, not already sent to the mud). At that point, I'd like to tell CMUD to forget the rest of the commands... empty out the queue. Is there a way to do that?
|
|
|
 |
Fizgar Magician
Joined: 07 Feb 2002 Posts: 333 Location: Central Virginia
|
Posted: Sun Aug 28, 2011 8:11 pm |
Try simply typing:
That should clear out the queue.
|
|
_________________ Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34 |
|
|
 |
eupher Apprentice
Joined: 18 Jan 2001 Posts: 116 Location: USA
|
Posted: Sun Aug 28, 2011 9:15 pm |
That did it. Thanks for the help.
|
|
|
 |
|
|