Question for ml2517 or someone familiar with advpath.inc

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Sparky421
decaying skeleton
decaying skeleton
Posts: 7
Joined: Wed Jan 21, 2004 5:32 pm

Question for ml2517 or someone familiar with advpath.inc

Post by Sparky421 » Wed Jan 21, 2004 5:52 pm

I have been working on a macro that performs some tasks then needs to move to another location, again more tasks and move...ect. All aspects are working except the moving part. I also have a ini file for advpath.inc that alone gets me to my destination. The problem comes in when there is a task after the

Code: Select all

/call PlayFunction "PATH1 1 f nopp noz"
it will go right to the next call without finishing the path. I tried using a delay after the call, but it just sits there and doesn’t move. I have also tried loops measuring distance or movement, but again the pathing function just sits there as it is in the loop.

ml2517 I did play with this part of code you included in your help file...

Code: Select all

/if n @PathingFlag==0 do whatever 
with little success. I assumed it was some form of check to see if the ini file was at EOF or something. So if that piece of code is the answer a little more clarification on what it is checking would be very helpful.

So bottom line is how to I get a pathing.ini file to play to fruition before it reads further down the macro script?

-Sparky421

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Wed Jan 21, 2004 5:54 pm

I actually helped someone else do this in PM the other day. Send me your code and I'll get you started.

Sparky421
decaying skeleton
decaying skeleton
Posts: 7
Joined: Wed Jan 21, 2004 5:32 pm

Post by Sparky421 » Wed Jan 21, 2004 6:00 pm

wow thanks for the quick response... let me clean it up a bit before I send it, there is alot of extra decode stuff in it.

-Sparky421