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

[Feature Request] Release Pokemon that are already in your bag

Open IQNeoXen opened this issue 10 years ago • 9 comments

Can we implement a kind of filter that keeps the best 1-2 pokemon of one type and releases all the others? Would be very useful imo.. somehow the filter to release certain pokemon when caught doesn't work very well for me, so my bag is always full after a couple of hours...

Correct me if this has already been implemented or mentioned before ;)

IQNeoXen avatar Jul 28 '16 18:07 IQNeoXen

Try this: https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files#keep-the-strongest-pokemon-configuration-dev-branch

vicch avatar Jul 28 '16 18:07 vicch

Already tried this, doesn't seem to be working for me. I'm on a fresh clone of dev. I already tried changing the "logic" to "and", but it still doesn't work. Also this only works for pokemon that the bot catches, but i'd like him to check all pokemon in my bag on startup :D

IQNeoXen avatar Jul 28 '16 19:07 IQNeoXen

Currently this bot has no initial transfer feature working properly.

LostDGod avatar Jul 28 '16 20:07 LostDGod

I really never encounter any problem with the catch/release config

I keep it as simple as possible - "catch": { "any": {"catch_above_cp": 200, "catch_above_iv": 0.55, "logic": "and"}, "Magikarp": {"never_capture": false}, "Bulbasaur": {"never_capture": false}, "Charmander": {"never_capture": false}, "Squirtle": {"never_capture": false}, "Abra": {"never_capture": false}, "Machop": {"never_capture": false}, "Bellsprout": {"never_capture": false}, "Growlithe": {"never_capture": false}, "Geodude": {"never_capture": false}, "Eevee": {"never_capture": false}, "Dratini": {"never_capture": false} }, "release": { "any": {"release_below_cp": 1000, "release_below_iv": 0.9, "logic": "and"}

And as you can see when I start the bot after I finish my nightly walk to release all the "junk" I catch there is no problem. [23:02:38] Starting PokemonGo Bot.... [23:02:39] Exchanging Bulbasaur [CP 483] [Potential 0.29] [23:02:42] Exchanging Bulbasaur [CP 259] [Potential 0.33] [23:02:44] Exchanging Eevee [CP 322] [Potential 0.73] [23:02:47] Exchanging Magikarp [CP 126] [Potential 0.82] [23:02:49] Exchanging Magikarp [CP 63] [Potential 0.56] [23:02:52] Exchanging Magikarp [CP 60] [Potential 0.42] [23:02:55] Exchanging Magikarp [CP 50] [Potential 0.62] [23:02:57] Exchanging Magikarp [CP 27] [Potential 0.36] [23:03:00] Exchanging Magikarp [CP 10] [Potential 0.69] [23:03:02] Exchanging Weedle [CP 10] [Potential 0.51] [23:03:05] Exchanging Dratini [CP 495] [Potential 0.62] [23:03:08] Exchanging Spearow [CP 207] [Potential 0.33] [23:03:11] Exchanging Pikachu [CP 152] [Potential 0.47] [23:03:13] Exchanging Nidoran F [CP 216] [Potential 0.64] [23:03:16] Exchanging Venonat [CP 249] [Potential 0.73] [23:03:18] Exchanging Meowth [CP 225] [Potential 0.42] [23:03:20] Exchanging Psyduck [CP 538] [Potential 0.38] [23:03:24] Exchanging Growlithe [CP 604] [Potential 0.62] [23:03:26] Exchanging Growlithe [CP 474] [Potential 0.78] [23:03:30] Exchanging Poliwag [CP 290] [Potential 0.18] [23:03:33] Exchanging Abra [CP 257] [Potential 0.78] [23:03:36] Exchanging Slowpoke [CP 364] [Potential 0.44] [23:03:38] Exchanging Squirtle [CP 284] [Potential 0.33] [23:03:41] Exchanging Koffing [CP 174] [Potential 0.6] [23:03:43] Exchanging Horsea [CP 379] [Potential 0.73] [23:03:46] Exchanging Electabuzz [CP 370] [Potential 0.4] [23:03:49] Exchanging Pinsir [CP 908] [Potential 0.27]

Maybe you have some conflicts in your config file? Try to keep it very simple and reasonable. You can also try the new "keep best" option to see if this will fix it. Good luck :)

boriss579 avatar Jul 28 '16 20:07 boriss579

@boriss579 It did the same for me. However I still have over 100 pokemons left to release. Have you actually checked if all of the pokemons that meet the criteria have been released?

LostDGod avatar Jul 28 '16 21:07 LostDGod

Yes, it release all the Pokémon that meet the criteria for me...

boriss579 avatar Jul 28 '16 21:07 boriss579

Here's my config: http://pastebin.com/sciXWQHy And here's my current poke bag: http://pastebin.com/Vz8KUvdQ

Only noticed now, its pretty obvious. The bot is saving 1 poke of each specie (probably the one with the highest CP). The user should be able to turn this feature on/off at will in config.json.

LostDGod avatar Jul 28 '16 21:07 LostDGod

@boriss579 Yeah that's pretty much what i want, but it doesn't work for me... i just re-cloned and it still doesn't work...

IQNeoXen avatar Jul 29 '16 09:07 IQNeoXen

Works now! Wtf did I do :D

IQNeoXen avatar Jul 29 '16 09:07 IQNeoXen