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

Throwing Raspberry after a missed Pokeball throw results in Unknown Response from server. #4290

Closed
RedViper9 opened this issue Aug 19, 2016 · 0 comments

Comments

@RedViper9
Copy link
Contributor

Expected Behavior

Bot should not throw a second berry if it misses the previous pokeball throw.

Actual Behavior

Bot throws a berry after a missed pokeball throw.
Server gives: Unknown response when throwing berry: 2.

I suspect that this is our bot sending an API call that would normally not be sent.

Config

http://pastebin.com/vxeDvsLL

Output when issue occurred

2016-08-19 14:23:44,830 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Raticate appeared! [CP 727] [NCP 0.5] [Potential 0.58] [A/D/S 11/2/13]
2016-08-19 14:23:51,182 [PokemonCatchWorker] [INFO] [threw_berry] Threw a Razz Berry! Catch rate with Greatball is now: 29.83
2016-08-19 14:24:13,538 [PokemonCatchWorker] [INFO] [threw_pokeball] OK throw! Used Greatball, with chance 29.83 (82 left)
2016-08-19 14:24:13,713 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Pokeball thrown to Raticate missed.. trying again!
2016-08-19 14:25:17,323 [PokemonCatchWorker] [INFO] [threw_berry_failed] Unknown response when throwing berry: 2.
2016-08-19 14:25:28,832 [PokemonCatchWorker] [INFO] [threw_pokeball] OK throw! Used Greatball, with chance 29.83 (81 left)
2016-08-19 14:25:31,240 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Pokeball thrown to Raticate missed.. trying again!
2016-08-19 14:25:38,159 [PokemonCatchWorker] [INFO] [threw_berry] Threw a Razz Berry! Catch rate with Greatball is now: 44.74
2016-08-19 14:25:43,834 [PokemonCatchWorker] [INFO] [threw_pokeball] Nice Curveball throw! Used Greatball, with chance 44.74 (80 left)
2016-08-19 14:25:44,202 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Raticate! [CP 727] [NCP 0.5] [Potential 0.58] [11/2/13] [+120 exp]

Steps to Reproduce

I guess the easiest would be to make a config with
"hit_rate": 0,
"vips": { "any": {} }

Other Information

OS: Linux Mint 18
Branch: Dev
Git Commit: cd841b0
Python Version: 2.7.12

@rdeeb any idea how we might approach this?

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

No branches or pull requests

2 participants