Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: LivedKrad on July 22, 2005, 04:33 PM

Title: [D2GS] Running to continuous locations
Post by: LivedKrad on July 22, 2005, 04:33 PM
Does anyone know the maximum amount of run to location packets you can add into the sort of "queue"? It would seem, after trying to do a sort of "pathing" to Akara, the character doesn't want to go beyond four RUN packets.


Public Sub MidToAkara()
RunToLoc 5830, 4439
RunToLoc 5848, 4437
RunToLoc 5855, 4428
RunToLoc 5870, 4430
RunToLoc 5862, 4427
RunToLoc 5875, 4430
End Sub


I have to recall the MidToAkara() routine for it to run all the way to 5875, 4430. Any suggestions? Ideas?
Title: Re: [D2GS] Running to continuous locations
Post by: Elneroth on July 22, 2005, 06:14 PM
Don't send them all at once.
Send one, then wait for the 'Stopped Moving' packet, then send another.
If you have already sent one, then send another immediatally, it cancels out the first one and goes to the second's coordinates.
If you try to run 'too far' at once, it will give you a Reassignment packet.