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

[Bug] The Bot doesn't walk to the nearest Pokestop

Open d-magiera opened this issue 10 years ago • 8 comments

Expected Behavior

The Bot moves to the nearest Pokestop.

Actual Behavior

The next Pokestop isn't the nearest one and the Bot moves 750 Meters instead of >20.

screen Screenshot from the log

spawn_position The spawn location in NY Central Park (40.771133, -73.974187)

next_pokestop The next PokeStop where the bot wants to move

image_2016-07-22_at_17-48-35 There you can see all Pokestops in the near of the spawn. - I think this need to fixed

Steps to Reproduce

Spawn to NY Central Park - works for me 5/5.

Other Information

OS: Windows10 - 64 Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) 17:00

d-magiera avatar Jul 22 '16 15:07 d-magiera

Was about the report the same. It picks one 1238m away, instead of the closest which about 80m

Orrielel avatar Jul 22 '16 15:07 Orrielel

Duplicate with #186

d-magiera avatar Jul 22 '16 15:07 d-magiera

This is a known behaviour that we need to fix.

douglascamata avatar Jul 22 '16 15:07 douglascamata

#141

ChronoAS avatar Jul 22 '16 16:07 ChronoAS

Saw it too late - sorry.

d-magiera avatar Jul 22 '16 16:07 d-magiera

I want to say, this is a beautifully reported issue. 10/10 would read again.

jtdroste avatar Jul 22 '16 16:07 jtdroste

@jtdroste @douglascamata Is this as simple as adding Reverse=true to my forts sorting in bot.py, or is this something larger?

CapCap avatar Jul 22 '16 18:07 CapCap

@CapCap I'm not sure. Test it please. I'll close this to avoid duplicated issue spam.

douglascamata avatar Jul 22 '16 20:07 douglascamata