PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.87k stars 1.54k forks source link

Better AI in catching? #3871

Closed ghost closed 8 years ago

ghost commented 8 years ago

In several tries, if not successful, maybe use a razz berry or change to great ball?

2016-08-13 12:13:34,289 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 422] [Potential 0.51] [A/D/S 10/11/2] 2016-08-13 12:13:37,108 [PokemonCatchWorker] [INFO] [threw_berry] Threw a Razz Berry! Catch rate with Pokeball is now: 44.91 2016-08-13 12:13:37,108 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 44.91 (25 left) 2016-08-13 12:13:37,345 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Pidgey capture failed.. trying again! 2016-08-13 12:13:39,308 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 44.91 (24 left) 2016-08-13 12:13:39,559 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Pidgey capture failed.. trying again! 2016-08-13 12:13:41,030 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 44.91 (23 left) 2016-08-13 12:13:41,260 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Pidgey capture failed.. trying again! 2016-08-13 12:13:43,819 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 44.91 (22 left) 2016-08-13 12:13:44,091 [PokemonCatchWorker] [INFO] [pokemon_vanished] Pidgey vanished!

BriceSD commented 8 years ago

@spoxus You have the same catch chance the tenth time and the first time. It should only be based on capture chance imo.

But it’s throwing a berry only once and the catch rate doesn’t seems to change as it is suppose to. Looks like a bug to me. Please add more informations.

avexus commented 8 years ago

fixed.

2016-08-13 14:22:03,424 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Krabby appeared! [CP 456] [Potential 0.73] [A/D/S 10/15/8] 2016-08-13 14:22:05,920 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Greatball, with chance 43.83 (14 left) 2016-08-13 14:22:06,164 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Krabby capture failed.. trying again! 2016-08-13 14:22:08,401 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Greatball, with chance 43.83 (13 left) 2016-08-13 14:22:08,716 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Krabby capture failed.. trying again! 2016-08-13 14:22:10,739 [PokemonCatchWorker] [INFO] [threw_berry] Threw a Razz Berry! Catch rate with Pokeball is now: 47.88 2016-08-13 14:22:10,740 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 47.88 (20 left) 2016-08-13 14:22:10,999 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Krabby! [CP 456] [Potential 0.73] [10/15/8] [+120 exp]

avexus commented 8 years ago

@BriceSD