IV makes no sense
Expected Behavior
IV should be flipped from the way it works now. Setting -iv 0.5 should transfer 0.5-1, as those are the lower CP ones. Why would I want to transfer the high CP ones?
Actual Behavior
Transferring the good ones and keeping the low ones, which seems incorrect
Steps to Reproduce
Use the IV flag
Other Information
OS: Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
I can't fix it for now. My 500AM..
IV ratio is (pokemon IV)/15. So pokemon with ratio of 1 has 15 IV which is good, right?
@Luab I'm really not sure what IV is, all I know is it was throwing away high CP Pokemon, which is not what we want.
@rwwagner90 IV is a long term quality of pokemon and it determines maximum CP, so while pokemons with higher IV could have less CP their upgrade potential is higher. And visa versa. http://gaming.stackexchange.com/questions/276692/in-pokemon-go-what-are-my-pokemons-hidden-iv-stats-and-why-do-they-matter
Could be to do with the "-c" option not working ?
All pokemon still being transferred regardles off -c flag settings.
I think the default -iv is overriding any -cp we set
@Luab so are higher values of IV here better? I assume a 1.0 would be perfect?
here is the current logic based on codebase at https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/pokemongo_bot/cell_workers/pokemon_catch_worker.py#L102
if pokemon cp < config cp or pokemon potential < config potential
transfer it
else
keep it
i think there is nothing wrong there 😕
@rwwagner90 yes. But if IV is high, but CP is low it would take large amount of dust to upgrade the pokemon.
i catched some pokemons with much cp, it transfered. also i removed the -iv and still removed every pokemon with high cp.
can confirm the above issue with the latest commit
I just set -iv 0 to be able to use -cp 200 correctly
IV is a stat made of three values, each out of a maximum of 15. How, then, does code calculate IV as the numerator in the IV/15 formula?
@rwwagner90 @sinistance if cp < self.config.cp or pokemon_potential < self.config.pokemon_potential: transfer can be edited to if cp < self.config.cp and pokemon_potential < self.config.pokemon_potential: transfer then all high cp or high iv pokemon will be kept
this can be made more complex, e.g. cp > 1000 keep all 1000 > cp > 500 keep high iv cp < 500 release all
There also should be a vip list so that a low cp low iv mewtwo doesn't get transfered
i suggest we multiply by 100 to make it more human friendly
pokemon_potential = round(( (total_IV / 45.0) * 100), 2)
this simply turns it into a range from 0-100%
filtering by iv now, you dont even need to worry about cp anymore as it is irrelevant since this is a bot that plays the game for you, the higher the iv the better
Appears to completely disregard the CP value. Question is how it should it ideally be. To me it makes most sense that it be: CP OR IV lower than specified values for transfer?
Perhaps the could be more elaborate options as suggested.
@sinistance true but not the observed behavior. Dunno what is wrong...
@ts91 what is the observed behavior?
if pokemon cp < config cp or pokemon potential < config potential
transfer it
means that if iv is less than a limit it will be transferred regardless of cp
Made a mistake previously. @JohanJu it says OR right? So if CP is higher than limit is shouldn't be tranfered? I get [#] A Wild Drowzee appeared! [CP 467] [Potential 0.36] [x] Using Greatball... [x] Captured Drowzee! [CP 467] [IV 0.36] - exchanging for candy [#] Drowzee has been exchanged for candy!
with -iv 0.8 and -c 300
@ts91
if pokemon cp < config cp or pokemon potential < config potential transfer it
if pokemon false or true transfer it
false or true = true which means that it will be transferred