Hi everyone,
Recently I have been creating some scripts to go to the training area (dont ask why I dont use “get position” feature please), to go back to town if some conditions are satisfied or for some other things. This is not happening all the time but recently I have seen this “error” message a lot. For example, if you have a script to return back to town from Jangan Cave (first floor), it keeps saying “Possibly stuck - going back a coordinate”. I manage to fix this by just playing with coordinates but it was “trial and error” and it took like an hour to fix this. I am pretty sure this is happening to many people as well.
Let me give you an example before going further:
...
[13:54:50] Conditions: Executing script [C:/Users/test/AppData/Local/Programs/phBot Testing/test-script.txt]
[13:54:51] Script: Walking to -23043, -300
[13:55:02] Script: Walking to -23057, -292
[13:55:08] Script: Walking to -23075, -292
[13:55:12] Script: Possibly stuck - going back a coordinate
[13:55:15] Script: Walking to -23075, -292
[13:55:18] Script: Walking to -23091, -292
[13:55:22] Script: Possibly stuck - going back a coordinate
[13:55:24] Script: Walking to -23091, -292
[13:55:27] Script: Walking to -23118, -293
[13:55:33] Script: Possibly stuck - going back a coordinate
[13:55:36] Script: Walking to -23118, -293
[13:55:40] Script: Possibly stuck - going back a coordinate
[13:55:42] Script: Walking to -23118, -293
[13:55:50] Script: Possibly stuck - going back a coordinate
[13:55:52] Script: Walking to -23118, -293
[13:56:00] Script: Possibly stuck - going back a coordinate
[13:56:02] Script: Walking to -23118, -293
[13:56:11] Script: Possibly stuck - going back a coordinate
...
What I was wondering is how these “walk” command works? What is the real reason for this and how to resolve this once and for all (if there is one)? Is there a way to automatically generate a walk script like this from point A to B without walking all the way to point A to B?
I think the best answer would probably come from @Ryan himself. If you need any more information, I would gladly give you more details.