Skip to content

Pokemon Optimizer only running at bot start #8

@Koofy

Description

@Koofy

Expected Behavior

the pokemon optimizer should be run periodically at least or better every time a pokemon is caught.

Actual Behavior

the pokemon optimizer is run only at bot start

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

  {
        "type": "PokemonOptimizer",
        "config": {
            "enabled": true,
            "min_slots_left": 999,
            "transfer": true,
            "transfer_wait_min": 3,
            "transfer_wait_max": 5,
            "evolve": true,
            "evolve_time": 25,
            "evolve_for_xp": true,
            "evolve_only_with_lucky_egg": false,
            "evolve_count_for_lucky_egg": 80,
            "may_use_lucky_egg": true,
            "upgrade": true,
            "upgrade_level": 60,
            "groups": {
                "gym": ["Dragonite", "Snorlax", "Lapras", "Arcanine"]
            },
            "rules": [
                {
                    "mode": "by_pokemon",
                    "top": 1,
                    "sort": ["cp", "iv"],
          "evolve": {"iv": 0.9}
                }
      ]
        }
    }

Output when issue occurred

none

Steps to Reproduce

Let a bot catch a pokemon.
the new pokemon should be evolved or transferred or replace another that should be transferred

Other Information

OS:
Mac OSX
Branch:
dev
Git Commit:
a630689
Python Version:
Python 2.7.12

Any other relevant files/configs (eg: path files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions