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

Allow bot to use better balls if it fails to capture repeatedly #3561

Closed
shoelsch opened this issue Aug 11, 2016 · 2 comments
Closed

Allow bot to use better balls if it fails to capture repeatedly #3561

shoelsch opened this issue Aug 11, 2016 · 2 comments

Comments

@shoelsch
Copy link

If capture keeps failing with pokeball, upgrade ball.

[22:57:16] Something rustles nearby!
[22:57:16] A wild Kabuto appeared! [CP 765] [Potential 0.51] [A/D/S 15/2/6]
[22:57:19] Catch rate of 23.05 with Pokeball is low. Throwing Razz Berry (have 9)
[22:57:19] Threw a Razz Berry! Catch rate with Pokeball is now: 23.05
[22:57:19] Used Pokeball, with chance 34.57 (24 left)
[22:57:20] Kabuto capture failed.. trying again!
[22:57:21] Catch rate of 34.57 with Pokeball is low. Throwing Razz Berry (have 8)
[22:57:22] Threw a Razz Berry! Catch rate with Pokeball is now: 34.57
[22:57:22] Used Pokeball, with chance 51.86 (23 left)
[22:57:22] Kabuto capture failed.. trying again!
[22:57:24] Used Pokeball, with chance 51.86 (22 left)
[22:57:24] Kabuto capture failed.. trying again!
[22:57:26] Used Pokeball, with chance 51.86 (21 left)
[22:57:26] Kabuto capture failed.. trying again!
[22:57:29] Used Pokeball, with chance 51.86 (20 left)
[22:57:29] Kabuto capture failed.. trying again!
[22:57:31] Used Pokeball, with chance 51.86 (19 left)
[22:57:31] Kabuto capture failed.. trying again!
[22:57:33] Used Pokeball, with chance 51.86 (18 left)
[22:57:33] Kabuto capture failed.. trying again!
[22:57:36] Used Pokeball, with chance 51.86 (17 left)
[22:57:36] Kabuto vanished!

First, let me know if there's some configuration parameter I'm missing.

I think it's ridiculous in the case above that a pokeball was used 7 times in a row and failed 7 times in a row before the pokemon in question vanishes. By my calculation, the event above occurs in ~1% of cases (if we assume that the chance % is accurate): (1-0.5186)^7. Still, I would expect the probability of a pokemon vanishing to increase over the duration of an encounter and for the bot to be intelligent enough to expedite the capture in this scenario.

Again, tell me there's a config option for this if there is: give me the ability to specify my default ball preference for pokemon (e.g., I want to use an ultraball first and foremost if I encounter a Kabuto); allow the bot to switch to a better ball if its failure rate seems to contradict the catch rate.

@kesfaw
Copy link

kesfaw commented Aug 11, 2016

in config.json you specify your wanted pokemons at "vips" value as below. The bot always uses ultraball to catch them.

    "vips" : {
         "Kabuto" : {}
    }

@shoelsch
Copy link
Author

@kesfaw thank you. closing the issue.

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

No branches or pull requests

2 participants