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

Walk in circle

Open DavidTai1 opened this issue 10 years ago • 12 comments

Expected Behavior

walk around

Actual Behavior

walk in circle

Steps to Reproduce

starting position: -35.289139, 149.132514

I have kept a file for recording the pokstops that it visited(in pic). 1 b8de7a5a-9674-4273-bbae-2c55e5e18cf3

Other Information

OS: MAC OS X 10.11.5 Git Commit: I download zip file to replace the old files and remove old pyc. The file downloaded is from commit 3a18aa57dfb67e2e09c207087cad6e5aa1867112

DavidTai1 avatar Jul 27 '16 18:07 DavidTai1

Time was: [14:30:04][14:31:30][14:34:05][14:37:24] / [14:39:49][14:41:06] etc....

DavidTai1 avatar Jul 27 '16 19:07 DavidTai1

I think it is because the 5min has past after spin the first stop, and at that time the first stop is also the closest stop to spin. I modified spin cooldown to 10min and it walks to other stops. Suggestions: Maybe keep a routing table for pokstops within a limited area? After modified to 10min: GPS: [ -35.289608, 149.132551 ] GPS: [ -35.289443, 149.131941 ] GPS: [ -35.290217, 149.131696 ] GPS: [ -35.290608, 149.130875 ] GPS: [ -35.290028, 149.130429 ] GPS: [ -35.289775, 149.129859 ]

DavidTai1 avatar Jul 27 '16 19:07 DavidTai1

Can confirm: circle

binarydepartment avatar Jul 27 '16 19:07 binarydepartment

@binarydepartment You can try to change cooldown time for spinning. Mine is about 10min ([14:39:49] - [14:30:04])and it works pretty well now but this is not a good solution might fail in your case.

DavidTai1 avatar Jul 27 '16 19:07 DavidTai1

dev/master? max steps? mode?

Philipp59 avatar Jul 27 '16 19:07 Philipp59

@Philipp59 dev 3a18aa57dfb67e2e09c207087cad6e5aa1867112 max_steps: 5 mode:all

DavidTai1 avatar Jul 27 '16 20:07 DavidTai1

same bug for me http://i.imgur.com/KbqFkJz.png mode: all walk 4.16 max_steps 5 branch dev commit 15a034427d805e0bacb79fc0a1f3c96a6c93f0e3

T3hKonijn avatar Jul 27 '16 20:07 T3hKonijn

Where do you modify spin cooldown?

javiercravioto avatar Jul 27 '16 22:07 javiercravioto

@javiercravioto .../pokemongo_bot/cell_workers/seen_fort_worker.py line 120, change 300s to the seconds you want. remember to remove file seen_fort_worker.pyc

DavidTai1 avatar Jul 27 '16 22:07 DavidTai1

Thanks! I feel we should add this to the wiki. Do you agree?

javiercravioto avatar Jul 27 '16 22:07 javiercravioto

Or, maybe if farm is not set, increase this value to enable the bot to walk farther?

javiercravioto avatar Jul 27 '16 22:07 javiercravioto

@javiercravioto I think they might come up a better solution very soon but for now this is the only way. It needs a update in algorithm, there can be different circles on the map, increase the cooldown value probably just solve the problem temporally. It will fail at some point eg. suddenly walk into a very large circle on the map.

DavidTai1 avatar Jul 27 '16 22:07 DavidTai1