 |
draean Newbie
Joined: 04 May 2009 Posts: 9
|
Posted: Mon May 04, 2009 4:59 pm
Slow walk being flaky, any ideas? |
So I basically know how slow walk works, and my script will run it fine about 60% of the time. but sometimes it fails and some random point along the path, showing a somewhat wrong path behind (adds extra dirs that it shouldnt) but the path ahead is just deleted (says none)
When I #stop a path, it doesn't empty the path ahead, so I don't think it's a stop command.
Also, once I saw it throw a down when I'm certain there are no downs in the path.
I've gone over my code and haven't found anything obvious, though since it's not a stop I have no idea what it could be. are there finicky things with slow walk? I set the timeout time to 0 (or infinity) is there something that it needs to see to recognize a successful walk and increment the path? if so how do I access that?
Thanks in advance for your help. |
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon May 04, 2009 6:34 pm |
I've experienced both flakiness and I've reported on bugs that I've found with the slow walker. It's always been a bit of a challenge for me to work with.
|
|
|
 |
draean Newbie
Joined: 04 May 2009 Posts: 9
|
Posted: Mon May 04, 2009 8:02 pm |
More info:
The path behind is incorrectly stated as double what it should be (ex. path goes 2n3e4n, path behind ends up being 4n6e8n)
I suppose I could implement my own slow walk, but it seems like this is exactly what I'm trying to get =/ |
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon May 04, 2009 8:44 pm |
How are you initiating the slow walk? And what version of cmud are you using?
|
|
|
 |
draean Newbie
Joined: 04 May 2009 Posts: 9
|
Posted: Mon May 04, 2009 11:10 pm |
I'm initiating the slow walk like this:
#sl slowpath
where slowpath is a path
I'm running 2.37, it's prompting me to download a beta, but I was figuring I'm not nerdy enough to go for betas |
|
|
 |
draean Newbie
Joined: 04 May 2009 Posts: 9
|
Posted: Tue May 05, 2009 3:24 am |
So, I'm trying to reimplement slowwalk so I can control everything, the problem I'm running into is I'm trying to make it able to use the '.3n2w3n' syntax for 1 step.
dirlist = .3n|w|n|e|n
dirindex = 1
then I just run:
%item(@dirlist, @dirindex)
#add dirindex 1
but the problem I have is it sends '.3n' to the mud, instead of expanding it. how can I get it to expand it as normal?
thanks in advance!
alternatively, if you can figure out why my slow walks are being flaky, that'd work well too! |
|
|
 |
WJCevelin Newbie
Joined: 07 Aug 2009 Posts: 4
|
Posted: Sat Aug 08, 2009 5:38 am |
Quote: |
dirlist = .3n|w|n|e|n
dirindex = 1
then I just run:
%item(@dirlist, @dirindex)
#add dirindex 1 |
just use drilist = n|n|n|w|n|e|n
and it works like a charm...
been beating myself in the head over this for days. nice to see that you solved the problem :) |
|
|
 |
|
|