Pokemon Optimizer only running at bot start
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: a630689bfbd4e1cf09bfb3c7969fe5a557268c8b Python Version: Python 2.7.12
Any other relevant files/configs (eg: path files)
Try using this worker alone, and set to false the Evolve and TransferPokemon workers. Also, check the value of "min_slots_left" in PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_optimizer.py
Can still post the first minute of your log when you start the bot ?
The evolve and transfer tasks are set to false. the "min_slots_left" is set to 999. Here is the beginning of the log when the optimizer start: [2016-09-14 18:15:33] [PokemonOptimizer] [INFO] Pokemon Bag: 250/250 [2016-09-14 18:15:33] [PokemonOptimizer] [INFO] Transferring 67 Pokemon [2016-09-14 18:15:33] [PokemonOptimizer] [INFO] Exchanged Caterpie [IV 0.4] [CP 191] [73 candies] [2016-09-14 18:15:37] [PokemonOptimizer] [INFO] Exchanged Kakuna [IV 0.49] [CP 74] [27 candies] [2016-09-14 18:15:42] [PokemonOptimizer] [INFO] Exchanged Kakuna [IV 0.47] [CP 28] [28 candies] [2016-09-14 18:15:46] [PokemonOptimizer] [INFO] Exchanged Kakuna [IV 0.42] [CP 151] [29 candies] ...
The optimizer does not even start at each start of the bot :/ .
What's wrong with this log ?