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

Clean Pokemon's and IV stat #22

Open
jacoborequena opened this issue Aug 13, 2016 · 11 comments
Open

Clean Pokemon's and IV stat #22

jacoborequena opened this issue Aug 13, 2016 · 11 comments

Comments

@jacoborequena
Copy link

good would be an option when the stock pokemon is full, scroll through the list and throw away the trash pokemones , based on the calculation IV , because if it is listed, you can throw good pokemon kidding me boot one zubat with 99% iv XD !, and if possible catch him say that when your index and if the list of pokemons trash once the boat is not something like

@putuoka
Copy link
Contributor

putuoka commented Aug 13, 2016

it's nearly impossible to check IV with this bot since this bot not accessing API directly to the server. This bot experience only what normal player see.

@tellomichmich
Copy link
Owner

Maybe we could use this technique ? https://pokeassistant.com/main/ivcalculator?locale=en

@putuoka
Copy link
Contributor

putuoka commented Aug 14, 2016

@tellomichmich that's great. i'm forgot we can calculate it. yes sure we can use it. the only way. good job

@tellomichmich
Copy link
Owner

Nearly done, some optimization must be done one CleanAllPokemon

@Bolo30
Copy link

Bolo30 commented Aug 27, 2016

In order to know IV stat of pokemon already captured i made a copy of script to manually launch on selected pokemon :

PokemonName = GetPokemonName()
PokemonCP = GetPokemonCP()
PokemonIV = GetPokemonIV(PokemonName, PokemonCP)
COOL_LOG("%s :" % (PokemonName))
COOL_LOG("\tCP %d" % (PokemonCP))
COOL_LOG("\tDEF %d" % (PokemonIV['defenseIV']))
COOL_LOG("\tATK %d" % (PokemonIV['attackIV']))
COOL_LOG("\tSTA %d" % (PokemonIV['staminaIV']))
COOL_LOG("\tIV %.2f" % (PokemonIV['perfection']))

It's working with majority of pokemon, but sometimes it crash with error :

Traceback (most recent call last):
File "c:\python27\pokenoxbotiv.py", line 1185, in
COOL_LOG("\tDEF %d" % (PokemonIV['defenseIV']))
TypeError: 'NoneType' object has no attribute 'getitem'

Crash example :

201-08-28_010138

Example below is ok :

2016-08-28_010213

Another example with crash :

2016-08-28_010322

Example below ok :

2016-08-28_011024

@tellomichmich
Copy link
Owner

GetPokemonIV(PokemonName, PokemonCP) can return None if it is impossible to compute the IV.

You should test "if not (IV is None):..."

@Bolo30
Copy link

Bolo30 commented Aug 28, 2016

Ok thank you, i will try that

@Dodo111
Copy link

Dodo111 commented Aug 29, 2016

I know absolutely nothing about python. Can you post a copy of your script? Sounds neat!

@Bolo30
Copy link

Bolo30 commented Aug 30, 2016

Hi Dodo111,
You can find the script i'm using next to this message (it's just a modified version of pokenoxbot.py only to check IV, i don't create anything).
To work you just need to launch it with the batch file and open a pokemon page. Batch file repeat the process every 2s so you can switch on other pokemon you want check.

PokeNoxBotIV.zip

@Dodo111
Copy link

Dodo111 commented Aug 31, 2016

Thank you so much!! :)

@Dodo111
Copy link

Dodo111 commented Sep 2, 2016

So I have been experimenting with http://forum.xda-developers.com/xposed/modules/xposed-pokemon-iv-checker-xposed-module-t3440346 which reads pokemon data directly from RAM to display the hidden IV values.

It turns out the IV checker script is extremely inaccurate - it missed quite a few 100% and is more often wrong than right. Just a little heads up. As this module is totally ban safe (does't use mitm or anything) perhaps the IV filter could be instructed to read it?

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

5 participants