Closed ChrisHaPunkt closed 8 years ago
Even if i start from a clean config, no transfer at all with 245/250 and
{
"type": "TransferPokemon",
"config": {
"enabled": true,
"min_free_slot": 5,
"transfer_wait_min": 3,
"transfer_wait_max": 5
}
},
or
"min_free_slot": 20,
Same error here:
"type": "PokemonOptimizer", "config": { "enabled": true, "min_slots_left": 5, "action_wait_min": 3, "action_wait_max": 5, "transfer": true, "evolve": true, "evolve_to_final": true, "evolve_time": 25, "evolve_for_xp": false, "evolve_only_with_lucky_egg": true, "evolve_count_for_lucky_egg": 1, "may_use_lucky_egg": false, "upgrade": true, "upgrade_level": 40, "rules": [ { "mode": "overall", "top": 1, "sort": ["-candy", "cp"], "evolve": false, "buddy": true }, { "mode": "by_family", "top": 2, "sort": ["iv", "dps_attack"], "upgrade": {"iv": 1}, "evolve": {"iv": 1} }, { "// For Pokemon of final evolution and with iv greater than 1, keep the best dps_attack": {}, "mode": "by_pokemon", "names": ["!with_next_evolution"], "top": 1, "sort": ["dps_attack"], "keep": {"iv": 1} } ] } },
Just checked latest dev branch and transferpokemon is working as expected, given the rules I've supplied.
@ChrisHaPunkt The default config does not release anything until you configure release rules (near the bottom). That's by design for safety reasons.
I notice in your original config, you have specified to keep a lot of things. That is cumulative, so perhaps your bag is full of things you actually told the bot not to release, and it now can't make any more space? Hard to say without knowing what you actually have in your bag.
Until recently, we had an issue with transferpokemon that meant things were being released when they shouldn't be. This issue was corrected. Perhaps your bot is now working properly and your rules need attention?
Here's my output from transferpokemon and optimizer, both transferring correctly:
[2016-09-25 06:59:28] [TransferPokemon] [INFO] Keeping best 2 Beedrill, based on ivcp
[2016-09-25 06:59:28] [TransferPokemon] [INFO] Kept Beedrill (CP: 1102, IV: 0.53, IVCP: 0.430330395154)
[2016-09-25 06:59:28] [TransferPokemon] [INFO] Kept Beedrill (CP: 558, IV: 0.84, IVCP: 0.842528784378)
[2016-09-25 06:59:29] [TransferPokemon] [INFO] Released Beedrill (CP: 1090, IV: 0.47, IVCP: 0.38) You now have 405 Weedle candies
[2016-09-25 06:59:33] [TransferPokemon] [INFO] Keeping best 2 Pidgeot, based on ivcp
[2016-09-25 06:59:33] [TransferPokemon] [INFO] Kept Pidgeot (CP: 637, IV: 0.8, IVCP: 0.808392136245)
[2016-09-25 06:59:33] [TransferPokemon] [INFO] Kept Pidgeot (CP: 977, IV: 0.8, IVCP: 0.759352091936)
[2016-09-25 06:59:33] [TransferPokemon] [INFO] Released Pidgeot (CP: 1601, IV: 0.4, IVCP: 0.32) You now have 368 Pidgey candies
[2016-09-25 06:59:39] [TransferPokemon] [INFO] Released Pidgeot (CP: 1630, IV: 0.49, IVCP: 0.42) You now have 369 Pidgey candies
[2016-09-25 06:59:43] [TransferPokemon] [INFO] Keeping best 2 Nidorino, based on ivcp
[2016-09-25 06:59:43] [TransferPokemon] [INFO] Kept Nidorino (CP: 767, IV: 0.89, IVCP: 0.891042312434)
[2016-09-25 06:59:43] [TransferPokemon] [INFO] Kept Nidorino (CP: 765, IV: 0.87, IVCP: 0.872766009717)
[2016-09-25 07:22:17] [PokemonOptimizer] [INFO] Pokemon Bag: 221 / 250
[2016-09-25 07:22:17] [PokemonOptimizer] [INFO] Transferring 3 Pokemon
[2016-09-25 07:22:18] [PokemonOptimizer] [INFO] Exchanged Butterfree [IV 0.78] [CP 104] [159 candies]
[2016-09-25 07:22:24] [PokemonOptimizer] [INFO] Exchanged Beedrill [IV 0.84] [CP 558] [289 candies]
[2016-09-25 07:22:29] [PokemonOptimizer] [INFO] Exchanged Beedrill [IV 0.11] [CP 340] [290 candies]
[2016-09-25 07:22:36] [PokemonOptimizer] [INFO] Pokemon Bag: 218 / 250
[2016-09-25 07:22:36] [PokemonOptimizer] [INFO] Evolving 7 Pokemon (the best)
[2016-09-25 07:22:36] [PokemonOptimizer] [INFO] Evolved Kakuna [IV 0.51] [CP 78] [241 candies] [+500 xp]
[2016-09-25 07:22:43] [PokemonOptimizer] [INFO] Evolved Pidgey [IV 0.76] [CP 255] [362 candies] [+500 xp]
[2016-09-25 07:22:49] [PokemonOptimizer] [INFO] Evolved Pidgeotto [IV 0.76] [CP 468] [313 candies] [+500 xp]
[2016-09-25 07:22:56] [PokemonOptimizer] [INFO] Evolved Pidgeotto [IV 0.62] [CP 348] [264 candies] [+500 xp]
[2016-09-25 07:23:02] [PokemonOptimizer] [INFO] Evolved Rattata [IV 0.64] [CP 406] [411 candies] [+500 xp]
[2016-09-25 07:23:10] [PokemonOptimizer] [INFO] Evolved Zubat [IV 0.69] [CP 96] [33 candies] [+500 xp]
[2016-09-25 07:23:16] [PokemonOptimizer] [INFO] Evolved Diglett [IV 0.51] [CP 206] [1 candies] [+500 xp]
[2016-09-25 07:23:22] [PokemonOptimizer] [INFO] Upgrading 5 Pokemon [936598 stardust]
[2016-09-25 07:23:23] [PokemonOptimizer] [INFO] Upgraded Butterfree [IV 0.24] [CP 920] [155 candies] [932598 stardust]
[2016-09-25 07:23:29] [PokemonOptimizer] [INFO] Upgraded Butterfree [IV 0.24] [CP 920] [151 candies] [928598 stardust]
[2016-09-25 07:23:34] [PokemonOptimizer] [INFO] Upgraded Butterfree [IV 0.24] [CP 920] [147 candies] [924098 stardust]
Thanks for your answers. I am currently on latest master branch. As u see on my log output, there are no messages from the TransferPokemon worker at all. No "Keep xy" or "keep xy based on rule xz". It seems as would the task never been triggered.
As mentioned, I started also from a clean config with adjusting the release rule (any below 1 IV, but keep best 1 CP) and the task configured as stated in op. But there were no messages in log from this task too.
Can someone confirm that the task is actually working on latest master branch? @Gobberwart , are u on master branch?
I cleaned up the release part in my config and it works again. I cannot tell what exactly did the fix.
Expected Behavior
current pokemon bag 250/250 -> Should trigger the Transfer Pokemon Task
Actual Behavior
Will be completely skipped, no log entries, nothing.
Your FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/yr6u0BZZ
Steps to Reproduce
cant tell, seems to appear after my previous
setup.sh -u
. But my Bag wasn't full enough to trigger.Other Information
OS: deb9
Branch: master Git Commit: fd495448a6393e886a74d846ad086e0fed45f986 Python Version: 2.7.9 Any other relevant files/configs (eg: path files)