Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoveToFort do not move to fort close enough (more than 0.04km) #5293

Closed
Wolf4 opened this issue Sep 8, 2016 · 6 comments
Closed

MoveToFort do not move to fort close enough (more than 0.04km) #5293

Wolf4 opened this issue Sep 8, 2016 · 6 comments
Assignees
Labels

Comments

@Wolf4
Copy link

Wolf4 commented Sep 8, 2016

Expected Behavior

Bot moves to the fort correctly (now it looks like bot teleport to the fort and then spin it)

Actual Behavior

"MoveToFort" should "move" to 0.04m close like it was before and then spin.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

http://pastebin.com/LTBmXRgD

Output when issue occurred

[2016-09-08 15:10:49] [MoveToFort] [INFO] Moving towards pokestop Крокодил - 0.05km
[2016-09-08 15:10:49] [ SpinFort] [INFO] Spun pokestop Крокодил. Experience awarded: 50. Items awarded: 1x Potion, 1x Pokeball, 1x Revive
[2016-09-08 15:10:54] [MoveToFort] [INFO] Moving towards pokestop Фонтан в парке Челюскинцев - 0.09km
[2016-09-08 15:10:55] [ SpinFort] [INFO] Spun pokestop Фонтан в парке Челюскинцев. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Revive
[2016-09-08 15:10:59] [MoveToFort] [INFO] Moving towards pokestop Фонарь Небесных Сфер - 0.12km
[2016-09-08 15:11:01] [ SpinFort] [INFO] Spun pokestop Фонарь Небесных Сфер. Experience awarded: 50. Items awarded: 3x Pokeball
[2016-09-08 15:11:06] [MoveToFort] [INFO] Moving towards pokestop Черепашка - 0.18km
[2016-09-08 15:11:08] [ SpinFort] [INFO] Spun pokestop Черепашка. Experience awarded: 50. Items awarded: 1x Razz Berry, 2x Pokeball
[2016-09-08 15:11:13] [MoveToFort] [INFO] Moving towards pokestop Зайчик - 0.05km
[2016-09-08 15:11:14] [ SpinFort] [INFO] Spun pokestop Зайчик. Experience awarded: 50. Items awarded: 2x Pokeball, 1x Hyper Potion
[2016-09-08 15:11:18] [MoveToFort] [INFO] Moving towards pokestop Frog Statue - 0.09km
[2016-09-08 15:11:19] [ SpinFort] [INFO] Spun pokestop Frog Statue. Experience awarded: 50. Items awarded: 3x Pokeball

Steps to Reproduce

Start bot with provided config

Other Information

OS:
mac os

Branch:
dev

Git Commit:
6aea15f

Python Version:
Python 2.7.12

Any other relevant files/configs (eg: path files)

@julienlavergne
Copy link
Contributor

Can you highlight the line where you see an error ?

@Wolf4
Copy link
Author

Wolf4 commented Sep 8, 2016

@anakin5 Error not in output, but in behaviour. Currently bot do not move to fort close enough. You can see it in provided output: [SpinFort] called right after [MoveToFort] without taking into account distance to the fort.
For example

[2016-09-08 15:11:06] [MoveToFort] [INFO] Moving towards pokestop Черепашка - 0.18km
[2016-09-08 15:11:08] [ SpinFort] [INFO] Spun pokestop Черепашка. Experience awarded: 50. Items awarded: 1x Razz Berry, 2x Pokeball

Obviously 180 meters is not enough distance to spin a fort.

@julienlavergne
Copy link
Contributor

Your MoveToFort task will only emit a log every 5 seconds. Reduce it to zero if you want to see all the logs.

@Wolf4
Copy link
Author

Wolf4 commented Sep 8, 2016

@anakin5 i see. So actually problem in fast movement speed. More than 100 meters in 2 seconds is way too fast.

@jnnck
Copy link

jnnck commented Sep 8, 2016

same issue as #5291

@Gobberwart
Copy link
Contributor

Gobberwart commented Sep 8, 2016

#5295 should have fixed this. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants