PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Use last location when Bot restart.

Open sediyama opened this issue 10 years ago • 3 comments

Expected Behavior

When the Bot restart, it should use the location at the file ./data/last-location-NAME@HOST, not the location at ./configs/config.json

Actual Behavior

Every restart, the bot restart at the location found at the config.json file.

Steps to Reproduce

Start the bot, wait a few minutes. It will walk. Stop the bot and restart. It will restart at the default config.json location.

Possible solution

Use the location at ./data/last-location-NAME@HOST or at least randomize a little the start position.

How it would help others

It seems to be more human like.

sediyama avatar Aug 17 '16 17:08 sediyama

"location_cache": true

Pretty sure this is implemented, I believe this starts the bot at the location it was last at.

Foulwerp avatar Aug 17 '16 17:08 Foulwerp

remove the location option from your config file and the bot starts as last known location.

akanezumi avatar Aug 17 '16 17:08 akanezumi

@akanezumi can confirm.

MiniWire avatar Aug 17 '16 18:08 MiniWire