Map-A-Droid / MAD

Map PoGo stuff with Android devices
212 stars 132 forks source link

Add skip_calculate flag to RouteManager.start_routemanager #1343

Open MonsterMap opened 1 year ago

MonsterMap commented 1 year ago

Allows us to skip calculating the initial route when starting, so that calculation can be started separately (fixes #1289)

Currently start_routemanager() will always get a new route, which for quests will fail if all stops have been finished. As we're going to start calculation ourselves, we can skip the initial route.

This has been tested with quests, spawns, and raids by clearing the existing route and starting a recalc.

Grennith commented 1 year ago

What about routes missing in case of mon_mitm scanning for example and not intending to manually trigger the calulcation of a route?