Rympex / Pathfinding-Dijkstra

First Release
2 stars 2 forks source link

Stuck #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

If, for example, I command the bot to go from Route 2 to Route 11, it takes the Diglet Cave Shortcut, but it gets stuck if I don't have the move Cut in any of my pokemon, is there any way to work around it and just walk the long path?

Also, If I have the move Cut, it gets stuck in Digglet Cave Entrance, log is:

Exception Resolution:  [ Route 2 Stop3 To Digletts Cave Entrance 1 ]  GoTo  X:4 Y:12
Exception Resolution:  [ Route 2 To Digletts Cave Entrance 1 ]  GoTo  X:40 Y:96
Exception Resolution:  [ Route 2 Stop3 To Digletts Cave Entrance 1 ]  GoTo  X:4 Y:12
Exception Resolution:  [ Route 2 To Digletts Cave Entrance 1 ]  GoTo  X:40 Y:96
Exception Resolution:  [ Route 2 Stop3 To Digletts Cave Entrance 1 ]  GoTo  X:4 Y:12
Exception Resolution:  [ Route 2 To Digletts Cave Entrance 1 ]  GoTo  X:40 Y:96
Exception Resolution:  [ Route 2 Stop3 To Digletts Cave Entrance 1 ]  GoTo  X:4 Y:12
Exception Resolution:  [ Route 2 To Digletts Cave Entrance 1 ]  GoTo  X:40 Y:96
Rympex commented 8 years ago

https://github.com/Rympex/Pathfinding-Dijkstra/commit/60ee7c71fcedde982350135d44d1c394dd3ace23

Fixed