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

[BUG] EvolvePokemon task only run once at the start of the bot #3292

Closed
ghost opened this issue Aug 9, 2016 · 5 comments
Closed

[BUG] EvolvePokemon task only run once at the start of the bot #3292

ghost opened this issue Aug 9, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 9, 2016

Expected Behavior

EvolvePokemon task run during the normal task loop of the bot.

Actual Behavior

EvolvePokemon task only run once at the start of the bot. See tho logs for the actual behavior

Steps to Reproduce

Install latest version from dev branch with provided config

Other Information

OS: masOS 10.11.6
Git Commit: 0f2bddd
Python Version: Python 2.7.12

Config

{
    "auth_service": "",
    "username": "",
    "password": "",
    "location": "",
    "gmapkey": "",
    "tasks": [
        {
            "type": "HandleSoftBan"
        },
        {
            "type": "CollectLevelUpReward"
        },
        {
            "type": "IncubateEggs",
            "config": {
                "longer_eggs_first": true
            }
        },
        {
            "type": "NicknamePokemon",
            "config": {
                "nickname_template": "{name}_{iv_pct}"
            }
        },
        {
            "type": "TransferPokemon"
        },
        {
            "type": "EvolvePokemon",
            "config": {
                "evolve_all": "Caterpie, Weedle, Pidgey, Rattata, Spearow, Psyduck, Poliwag, Slowpoke, Drowzee, Goldeen, Staryu, Magikarp",
                "first_evolve_by": "iv",
                "evolve_above_cp": 0,
                "evolve_above_iv": 0,
                "logic": "and",
                "evolve_speed": 20,
                "use_lucky_egg": false
            }
        },
        {
            "type": "RecycleItems",
            "config": {
                "item_filter": {
                    "Pokeball": {
                        "keep": 50
                    },
                    "Greatball": {
                        "keep": 50
                    },
                    "Ultraball": {
                        "keep": 50
                    },
                    "Masterball": {
                        "keep": 50
                    },
                    "Potion": {
                        "keep": 0
                    },
                    "Super Potion": {
                        "keep": 0
                    },
                    "Hyper Potion": {
                        "keep": 50
                    },
                    "Max Potion": {
                        "keep": 50
                    },
                    "Revive": {
                        "keep": 10
                    },
                    "Max Revive": {
                        "keep": 10
                    },
                    "Razz Berry": {
                        "keep": 50
                    }
                }
            }
        },
        {
            "type": "CatchVisiblePokemon"
        },
        {
            "type": "CatchLuredPokemon"
        },
        {
            "type": "SpinFort"
        },
        {
            "type": "MoveToFort",
            "config": {
                "lure_attraction": true,
                "lure_max_distance": 2000
            }
        },
        {
            "type": "FollowSpiral",
            "config": {
                "diameter": 5,
                "step_size": 70
            }
        }
    ],
    "forts": {
        "avoid_circles": true,
        "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 12.5,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": false,
    "location_cache": false,
    "distance_unit": "km",
    "reconnecting_timeout": 5,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1,
    "catch_randomize_spin_factor": 1,
    "catch": {
        "any": {
            "catch_above_cp": 0,
            "catch_above_iv": 0,
            "logic": "or"
        }
    },
    "release": {
        "any": {
            "keep_best_cp": 1,
            "keep_best_iv": 2
        }
    },
    "vips": {
        "any": {
            "catch_above_cp": 1200,
            "catch_above_iv": 0.9,
            "logic": "or"
        },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}
    }
}

Logs

2016-08-09 16:28:22,185 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-09 16:28:22,187 [       cli] [INFO] No config argument specified, checking for /configs/config.json
2016-08-09 16:28:22,188 [       cli] [INFO] Configuration initialized
2016-08-09 16:28:22,196 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-09 16:28:22,197 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
2016-08-09 16:28:22,197 [PokemonGoBot] [INFO] [location_found] Location found: 52.011775, 4.359331 (52.011775, 4.359331, 0.0)
2016-08-09 16:28:22,197 [PokemonGoBot] [INFO] [position_update] Now at (52.011775, 4.359331, 0)
2016-08-09 16:28:22,197 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-09 16:28:25,840 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-09 16:28:26,971 [PokemonGoBot] [INFO] 
2016-08-09 16:28:26,971 [PokemonGoBot] [INFO] --- BottBob ---
2016-08-09 16:28:26,972 [PokemonGoBot] [INFO] Level: 25 (Next Level: 176525 XP) (Total: 723475 XP)
2016-08-09 16:28:26,972 [PokemonGoBot] [INFO] Pokemon Captured: 2232 | Pokestops Visited: 2718
2016-08-09 16:28:26,973 [PokemonGoBot] [INFO] Pokemon Bag: 148/250
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] Items: 300/350
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] Stardust: 886 | Pokecoins: 0
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] PokeBalls: 49 | GreatBalls: 48 | UltraBalls: 50
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] RazzBerries: 49 | BlukBerries: 0 | NanabBerries: 0
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] LuckyEgg: 6 | Incubator: 1 | TroyDisk: 6
2016-08-09 16:28:26,974 [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 50 | MaxPotion: 20
2016-08-09 16:28:26,975 [PokemonGoBot] [INFO] Incense: 9 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-09 16:28:26,975 [PokemonGoBot] [INFO] Revive: 10 | MaxRevive: 0
2016-08-09 16:28:26,975 [PokemonGoBot] [INFO] 
2016-08-09 16:28:26,975 [PokemonGoBot] [INFO] Found encrypt.so! Platform: darwin Encrypt.so directory: /Users/xxx/Programming/pokemongo-bot-bottbob
2016-08-09 16:28:26,975 [PokemonGoBot] [INFO] 
2016-08-09 16:28:29,257 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-09 16:28:29,863 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-09 16:28:29,864 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.43 km
2016-08-09 16:28:31,355 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Goldeen renamed to Goldeen_49
2016-08-09 16:28:33,557 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Weedle renamed to Weedle_36
2016-08-09 16:28:34,861 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Goldeen with CP 501 and IV 0.49!

2016-08-09 16:28:58,925 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Goldeen with CP 350 and IV 0.31!
2016-08-09 16:29:20,456 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Poliwag with CP 293 and IV 0.24!
2016-08-09 16:29:36,279 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Psyduck with CP 365 and IV 0.24!
2016-08-09 16:29:56,822 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Weedle with CP 204 and IV 0.36!
2016-08-09 16:30:21,063 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.10km (attraction of lure 0.29km)
2016-08-09 16:30:22,618 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.33 km
2016-08-09 16:30:24,695 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Poliwhirl renamed to Poliwhirl_24
2016-08-09 16:30:26,462 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Seaking renamed to Seaking_31
2016-08-09 16:30:28,353 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Golduck renamed to Golduck_24
2016-08-09 16:30:30,278 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Kakuna renamed to Kakuna_36
2016-08-09 16:30:32,285 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Seaking renamed to Seaking_49
2016-08-09 16:30:32,956 [TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Kakuna, based on cp and iv
2016-08-09 16:30:33,682 [TransferPokemon] [INFO] [pokemon_release] Exchanged Kakuna [CP 220] [IV 0.36] for candy.
2016-08-09 16:30:37,417 [TransferPokemon] [INFO] [keep_best_release] Keeping best 3 Golduck, based on cp and iv
2016-08-09 16:30:38,161 [TransferPokemon] [INFO] [pokemon_release] Exchanged Golduck [CP 838] [IV 0.24] for candy.
2016-08-09 16:30:39,963 [TransferPokemon] [INFO] [keep_best_release] Keeping best 3 Poliwhirl, based on cp and iv
2016-08-09 16:30:40,696 [TransferPokemon] [INFO] [pokemon_release] Exchanged Poliwhirl [CP 520] [IV 0.24] for candy.
2016-08-09 16:30:43,188 [TransferPokemon] [INFO] [keep_best_release] Keeping best 3 Seaking, based on cp and iv
2016-08-09 16:30:43,982 [TransferPokemon] [INFO] [pokemon_release] Exchanged Seaking [CP 781] [IV 0.31] for candy.
2016-08-09 16:30:47,467 [TransferPokemon] [INFO] [pokemon_release] Exchanged Seaking [CP 1119] [IV 0.49] for candy.
2016-08-09 16:30:57,035 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.05km (attraction of lure 0.05km)
2016-08-09 16:31:06,454 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort *** (***)
2016-08-09 16:31:07,152 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Poliwag appeared! [CP 152] [Potential 0.47] [A/D/S 4/10/7]
2016-08-09 16:31:11,401 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 53.30 (48 left)
2016-08-09 16:31:12,036 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Poliwag! [CP 152] [Potential 0.47] [4/10/7] [+210 exp]
2016-08-09 16:31:12,037 [PokemonCatchWorker] [INFO] [gained_candy] You now have 204 Poliwag candy!
2016-08-09 16:31:17,676 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.11km (attraction of lure 0.28km)
2016-08-09 16:31:25,845 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort *** (***)
2016-08-09 16:31:26,510 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.10km (attraction of lure 0.27km)
2016-08-09 16:31:30,715 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Poliwag renamed to Poliwag_47
2016-08-09 16:31:37,899 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort *** (***)
2016-08-09 16:31:38,618 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.09km (attraction of lure 0.26km)
2016-08-09 16:31:47,275 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.25km)
2016-08-09 16:31:57,344 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Pidgey appeared! [CP 168] [Potential 0.53] [A/D/S 7/6/11]
2016-08-09 16:32:01,523 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 47.34 (47 left)
2016-08-09 16:32:02,171 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Pidgey! [CP 168] [Potential 0.53] [7/6/11] [+210 exp]
2016-08-09 16:32:02,172 [PokemonCatchWorker] [INFO] [gained_candy] You now have 1338 Pidgey candy!
2016-08-09 16:32:07,187 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.24km)
2016-08-09 16:32:16,162 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.04km (attraction of lure 0.23km)
2016-08-09 16:32:21,415 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Pidgey renamed to Pidgey_53
2016-08-09 16:32:29,763 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 50. Items awarded: {u'Pokeball': 3}
2016-08-09 16:32:33,013 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.22km)
2016-08-09 16:32:42,241 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.21km)
2016-08-09 16:32:44,687 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.22 km
2016-08-09 16:32:51,667 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.04km (attraction of lure 0.19km)
2016-08-09 16:33:01,114 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 50. Items awarded: {u'Pokeball': 2, u'Revive': 1}
2016-08-09 16:33:04,351 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.18km)
2016-08-09 16:33:14,722 [RecycleItems] [INFO] [item_discarded] Discarded 2x Pokeball (maximum 50).
2016-08-09 16:33:15,456 [RecycleItems] [INFO] [item_discarded] Discarded 1x Revive (maximum 10).
2016-08-09 16:33:16,160 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Poliwag appeared! [CP 342] [Potential 0.4] [A/D/S 2/2/14]
2016-08-09 16:33:19,748 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 35.29 (51 left)
2016-08-09 16:33:20,387 [PokemonCatchWorker] [INFO] [pokemon_capture_failed] Poliwag capture failed.. trying again!
2016-08-09 16:33:23,108 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 35.29 (50 left)
2016-08-09 16:33:23,731 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Poliwag! [CP 342] [Potential 0.4] [2/2/14] [+210 exp]
2016-08-09 16:33:23,731 [PokemonCatchWorker] [INFO] [gained_candy] You now have 207 Poliwag candy!
2016-08-09 16:33:29,257 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.08km (attraction of lure 0.11km)
2016-08-09 16:33:39,675 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.10km)
2016-08-09 16:33:43,560 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Poliwag renamed to Poliwag_40
2016-08-09 16:33:50,491 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.05km (attraction of lure 0.09km)
2016-08-09 16:33:59,785 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 50. Items awarded: {u'Pokeball': 3}
2016-08-09 16:34:02,386 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.09km (attraction of lure 0.09km)
2016-08-09 16:34:12,848 [RecycleItems] [INFO] [item_discarded] Discarded 1x Pokeball (maximum 50).
2016-08-09 16:34:12,862 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.07km)
2016-08-09 16:34:21,486 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.06km)
2016-08-09 16:34:31,542 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.04km (attraction of lure 0.04km)
2016-08-09 16:34:41,604 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort *** (***)
2016-08-09 16:34:42,230 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Psyduck appeared! [CP 320] [Potential 0.31] [A/D/S 1/1/12]
2016-08-09 16:34:45,159 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 43.22 (49 left)
2016-08-09 16:34:45,822 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Psyduck! [CP 320] [Potential 0.31] [1/1/12] [+210 exp]
2016-08-09 16:34:45,822 [PokemonCatchWorker] [INFO] [gained_candy] You now have 317 Psyduck candy!
2016-08-09 16:34:51,644 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 50. Items awarded: {u'Razz Berry': 2, u'Pokeball': 1}
2016-08-09 16:34:54,256 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.10km (attraction of lure 0.25km)
2016-08-09 16:34:58,654 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Psyduck renamed to Psyduck_31
2016-08-09 16:35:07,527 [RecycleItems] [INFO] [item_discarded] Discarded 1x Razz Berry (maximum 50).
2016-08-09 16:35:07,529 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort *** (***)
2016-08-09 16:35:08,221 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.09km (attraction of lure 0.24km)
2016-08-09 16:35:17,669 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.23km)
2016-08-09 16:35:26,469 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.22km)
2016-08-09 16:35:35,148 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.04km (attraction of lure 0.20km)
2016-08-09 16:35:44,951 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 50. Items awarded: {u'Revive': 2, u'Greatball': 1}
2016-08-09 16:35:48,230 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.08km (attraction of lure 0.19km)
2016-08-09 16:35:57,380 [RecycleItems] [INFO] [item_discarded] Discarded 2x Revive (maximum 10).
2016-08-09 16:35:57,396 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.06km (attraction of lure 0.18km)
2016-08-09 16:36:05,889 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.05km (attraction of lure 0.17km)
2016-08-09 16:36:15,578 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Magikarp appeared! [CP 56] [Potential 0.64] [A/D/S 12/11/6]
2016-08-09 16:36:18,472 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 70.08 (49 left)
2016-08-09 16:36:19,106 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Magikarp! [CP 56] [Potential 0.64] [12/11/6] [+210 exp]
2016-08-09 16:36:19,107 [PokemonCatchWorker] [INFO] [gained_candy] You now have 105 Magikarp candy!
2016-08-09 16:36:24,764 [  SpinFort] [INFO] [spun_pokestop] Spun pokestop ***. Experience awarded: 100. Items awarded: {u'Razz Berry': 3, u'Pokeball': 3, u'Greatball': 1}
2016-08-09 16:36:28,675 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop *** - 0.07km (attraction of lure 0.16km)
2016-08-09 16:36:32,466 [NicknamePokemon] [INFO] [rename_pokemon] Pokemon Magikarp renamed to Magikarp_64
2016-08-09 16:36:33,103 [TransferPokemon] [INFO] [keep_best_release] Keeping best 3 Magikarp, based on cp and iv
2016-08-09 16:36:33,844 [TransferPokemon] [INFO] [pokemon_release] Exchanged Magikarp [CP 56] [IV 0.64] for candy.
@balpoint
Copy link

balpoint commented Aug 9, 2016

Hope this will be fixed soon.

@DimaVIII
Copy link

It's a new feature... and there is no config switch for this...

This was referenced Aug 10, 2016
@Quantra
Copy link
Contributor

Quantra commented Aug 10, 2016

"evolve_captured": "NONE",

Configure evolve captured in the same way as evolve_all and it will work as expected.

@ghost
Copy link
Author

ghost commented Aug 10, 2016

"evolve_captured": "NONE" solved the problem!

@ghost ghost closed this as completed Aug 10, 2016
@ghost ghost mentioned this issue Aug 10, 2016
@paulinhoneto
Copy link

Transfer pokemon ?

This issue was closed.
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

4 participants