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

Pokemon Optimizer fails to transfer Poke's #5439

Closed
RedViper9 opened this issue Sep 13, 2016 · 4 comments
Closed

Pokemon Optimizer fails to transfer Poke's #5439

RedViper9 opened this issue Sep 13, 2016 · 4 comments

Comments

@RedViper9
Copy link
Contributor

RedViper9 commented Sep 13, 2016

Expected Behavior

pokemon_optimizer does:

by family; top 2 by ivcp = evolve
    else transfer
per pokemon; top 2 by attack perfection w/ ivcp>0.8 = upgrade
per pokemon; top 2 by defense perfection w/ ivcp>0.8 = upgrade

Actual Behavior

Nothing is exchanged or evolved, pokemon bag is full.
Attempt to transfer doesn't seem to respect delay timers.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

http://pastebin.com/7hh1K9nm

Also tried for PokemonOptimizer using only

 "rules": [
                    {
                        "mode": "by_family",
                        "top": 2,
                        "sort": ["ivcp"],
                        "evolve": true,
                        "upgrade": {"ivcp": 0.8}
                    }
             ]

Output when issue occurred

http://pastebin.com/hckyRJK3

Steps to Reproduce

Use config above with 815abd7

Other Information

OS: Linux Mint 18
Branch: Dev
Git Commit: 815abd7
Python Version: 2.7.12

Attempted Solutions

Reverted pokemon_optimizer.py to 9a00253
This optimizer was working for me as of last night.
Today, pokemon can not be transferred. Assuming that this is due to API change.

EvolvePokemon and TransferPokemon tasks work fine.

@solderzzc
Copy link
Contributor

wired. never saw that happen. you also need pip install --upgrade -r requirement.txt after a fresh clone.

@RedViper9
Copy link
Contributor Author

@solderzzc yep, that runs as well. Says everything is up to date. I use this short bash script

cd ~/PokemonGo-Bot
git fetch --all
git reset --hard origin/dev
git pull origin dev
source bin/activate
pip install -U -r requirements.txt
git submodule init
git submodule update

@julienlavergne
Copy link
Contributor

There is issues in your config in rule 2 and 3

"sort" : ["attack_perfection", {"ivcp": 0.8}]

should be changed to something else. It depends what you want to do with that rule.

@julienlavergne
Copy link
Contributor

  • the output that you show has been produced with enabled: false, that is why timer is not respected, it is only a dry run.

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

3 participants