Release pokemon condition
Expected Behavior
Release pokemon below CP OR below IV
Actual Behavior
Release Pokemon below CP AND below IV

Steps to Reproduce
Put in the config "any": {"release_below_cp": 800, "release_below_iv": 0.85, "logic": "or"} and start the bot
Other Information
OS: WIN 10 Git Commit: 6dd0fade877a4e5281156381e8d1eff4d17316b8
It's all work correct on screenshot (and config set to "logic" : "or"): 800>787 or 0.85>0.84 => true => exchange 800>974 or 0.85>0.56 => true => exchange 800>42 or 0.85>0.91 => true => exchange 800>302 or 0.85>0.38 => true => exchange
Oh damn i'm an idiot... thanks to remind me that
No it does not work:
"Hypno": { "release_under_cp": 763, "release_under_iv": 0.8, "cp_iv_logic": "and" },
[x] Transferring Hypno with CP 1414
-> This sucks, really!
See the last config file it changes #1348
That config only works in the dev repository I assume? And that one does not work here.
Traceback (most recent call last):
File "pokecli.py", line 291, in
that's right it works only on dev
Tried the dev but there is still a bug there. And if someone else creates an issue for this, it just gets closed as invalid? #1372
With "OR" only 1 condition needs to be met to return true (release). For instance if you set up to release with this config: CP<800 IV<0.85 OR , it will release all pokes with CP<800 (regardless of IV) and all pokes with IV<0.85 (regardless of CP). With "AND" both conditions need to be met to return true. So with your values: CP<800 IV<0.85 AND , the bot would only keep pokes with CP>800 AND IV>0.85. EDIT: You can always add this below the "any" release config to prevent from releasing rare pokes in case you screw up the config values/logic: "Dragonite": { "never_release" : true },
I'm pretty sure the bot still reads the OR as AND(vice versa).
ever since they added the new catch and release function.
Latest Dev. [08:40:51] Release config for Drowzee: Conf, CP 374 or IV 0.5 - Poke, CP 310 IV 0.56 [08:40:51] Exchanging Drowzee for candy!
here have the problem too , my setting are
"Dratini": { "release_under_cp": 343, "release_under_iv": 0.9, "cp_iv_logic": "and" },
but my bot still keep the dratini , even the iv not meet 0.9 this value
[2016-07-28 20:35:02] [#] A Wild Dratini appeared! [CP 462] [Potential 0.49] [2016-07-28 20:35:02] [#] IV [Stamina/Attack/Defense] = [9/2/11] [2016-07-28 20:35:04] [x] Using Greatball (chance: 38.24%)... (0 left!) [2016-07-28 20:35:05] [x] Captured Dratini! [CP 462] [IV 0.49] [2016-07-28 20:35:06] [x] Captured Dratini! [CP 462] [2016-07-28 20:35:43] [#] Something rustles nearby! [2016-07-28 20:35:44] [#] A Wild Mankey appeared! [CP 170] [Potential 0.4]
any way to solve ? want a high iv and cp only
Thats the issue where the Dratini has a high CP but a low IV. The AND function checks if both are correct, and it appears only one of them does, so it goes "nope". I think OR would work better there.
ok thanks , maybe at this moment i try to set ridiculous cp to keep IV 0.9 pokemon
Re-read my previous comment, it explains how the OR and AND logic works. Check #1169 for more details.
There is nothing wrong with the release config. You need to understand how boolean math works.
/closed