PokemonGo-Bot: Endless loop between stops that are too close to each other
Stop! Before you create this issue (you can delete this section when opening the issue):
- Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
- Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
- Are you running
master
? We work on thedev
branch and then add that functionality tomaster
. Your issue may be fixed ondev
and there is no need for this issue, just wait and it will eventually be merged tomaster
.
Expected Behavior
Walks from stops to stops
Actual Behavior
Stuck between choosing stops (endless loop)
2016-08-10 01:01:55,888 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:01:57,489 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.06km 2016-08-10 01:01:59,858 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:01,358 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:03,191 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:06,022 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:08,117 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:09,753 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:12,520 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:14,315 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:15,857 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:18,404 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:20,769 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:22,447 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:25,052 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:26,868 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:28,551 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:30,207 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:31,825 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop1 - 0.05km 2016-08-10 01:02:34,809 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.06km 2016-08-10 01:02:36,355 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Stop2 - 0.05km 2016-08-10 01:02:36,575 [PokemonGoBot] [INFO] [bot_exit] Exiting bot.
Your config.json (remove your credentials and any other private info)
your config here
Steps to Reproduce
Stand between two stops?
Other Information
OS: Windows 10 Git Commit: (run ‘git log -n 1 --pretty=format:“%H”’ and paste it here) Python Version: (run ‘python -V’ and paste it here)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (3 by maintainers)
Hello there, I might have found a solution (don’t know if temporary or not): deleting the “last-location-username.json” file didn’t work for me, so… I tried deleting the
“cells-username.json”
It’s working pretty much fine right now, not looping since the last time I started it, about 20 minutes ago.
MEMO: username = your username, obviously
By the way, quick workaround is to just delete
data/last-location-<your_username>.json
Just do arm data/last-location
and pressTab
and it should autocomplete and hit enter key and you can run again, but be careful, do it maybe after a while as it’s gonna teleport as it’ll start from starting point 😃You should really fill out the parts of the issue form you ignored, instead of ignoring them. It really helps narrow the issue you are having. (Config, Commit)