Zonz / ProShinePathfinder

A set of Lua scripts for PROShine that moves your bot anywhere the world with a single line of code.
MIT License
1 stars 4 forks source link

No alternative route | world map graph #5

Open M1L4 opened 7 years ago

M1L4 commented 7 years ago

No alternative Route - Problem: Pathfinder doesn't attempt to use alternative routes, when blocked - regarding world map graph.

Example: When I tried getting from Lavender Town to Vermillion City, pathfinder directed me towards Route 12. Once Route 12 was entered the algorithm realized that Snorlax is blocking its way and looped following exception:

Pathfinder --> Error in Path: from Route 12 to Lavender Town -- Reset and Recalc

Expected Behaviour: Note: Quest progess can have influence available path options. Not all of them can be determined behorehand. Once a blocked route is recognized, the next shortest alternative route should be picked. In the previous example: once Snorlax was encountered, pathfinder should have routed me through Rock Tunnel Cave.

M1L4 commented 7 years ago

Another occasion, when subway is not unlocked:

Error in Path: from Pokecenter Viridian to Viridian City Subway -- Reset and Recalc