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

Using greatballs for every pokemon

Open harsh1412 opened this issue 10 years ago • 5 comments

[#] Finished walking to (xx) (xx) [#] Something rustles nearby! [#] A Wild Doduo appeared! [CP11] [x] Using Greatball... [x] Captured Doduo! [CP11] - exchanging for candy I have like 217 Normal pokeballs -.-'

harsh1412 avatar Jul 22 '16 06:07 harsh1412

Feature not implemented yet.

AdaptCharm avatar Jul 22 '16 06:07 AdaptCharm

@TheGoldenXY I mean its using greatballs for every pokemon.

harsh1412 avatar Jul 22 '16 06:07 harsh1412

The issue is here: https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/cell_workers/pokemon_catch_worker.py#L38

It loops through the items and uses the last one found.

To switch to normal pokeballs before greatballs (and ultraballs/masterballs) you need to change the range function to this:

for i in range(4, 0, -1):

That will loop through it in reverse.

hvdklauw avatar Jul 22 '16 06:07 hvdklauw

I suggest a blacklist to not catch the most common Pokemon (as defined by a list) using gread balls / master balls / ultra balls.

This list can also be used to get automatically get rid of these Pokemon, regardless of CP.

Balauue avatar Jul 22 '16 09:07 Balauue

it was fixed at some point in DEV branch

fredrik-hellmangroup avatar Jul 24 '16 22:07 fredrik-hellmangroup