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

PokemonOptimizer stops after counting pokemon in bag #5565

Closed
Vorta opened this issue Sep 20, 2016 · 1 comment
Closed

PokemonOptimizer stops after counting pokemon in bag #5565

Vorta opened this issue Sep 20, 2016 · 1 comment
Assignees
Labels

Comments

@Vorta
Copy link

Vorta commented Sep 20, 2016

Hello!

I'm using PokemonGo-Bot on Windows. I'm using the default PokemonOptimizer config. Yesterday it was working normally, but today, when I start the bot, it just stops after PokemonOptimizer counts the pokemon in the bag. Full output is as follows:

--------------------Starting bot--------------------


2016-09-20 14:15:50,334 [       cli] [INFO] PokemonGO Bot v1.0
2016-09-20 14:15:50,339 [       cli] [INFO] commit: unknown
2016-09-20 14:15:50,339 [       cli] [INFO] No auth argument specified, checking for ***\Bots\PoGoBot\pokemongo_bot\..\configs\auth.json
2016-09-20 14:15:50,341 [       cli] [INFO] No config argument specified, checking for ***\Bots\PoGoBot\pokemongo_bot\..\configs\config.json
2016-09-20 14:15:50,342 [       cli] [INFO] Configuration initialized
2016-09-20 14:15:50,342 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-20 14:15:50,342 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-20 14:15:50,346 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
2016-09-20 14:15:50,467 [PokemonGoBot] [INFO] Setting start location.
2016-09-20 14:15:51,434 [PokemonGoBot] [INFO] Location found: ***
2016-09-20 14:15:51,434 [PokemonGoBot] [INFO] Now at ***
2016-09-20 14:15:51,434 [PokemonGoBot] [INFO] Login procedure started.
2016-09-20 14:16:23,427 [PokemonGoBot] [INFO] Login successful.
2016-09-20 14:16:23,628 [PokemonGoBot] [INFO] Found encrypt_64.dll! Platform: win32 encrypt_64.dll directory: ***\Bots\PoGoBot
not found
2016-09-20 14:16:23,628 [PokemonGoBot] [INFO]
2016-09-20 14:16:24,980 [PokemonGoBot] [INFO] Level: 14 (Next Level: 10620 XP) (Total: 89380 XP)
2016-09-20 14:16:24,982 [PokemonGoBot] [INFO] Pokemon Captured: 215 | Pokestops Visited: 469
2016-09-20 14:16:25,165 [PokemonGoBot] [INFO]
2016-09-20 14:16:25,165 [PokemonGoBot] [INFO] --- PoGoBot ---
2016-09-20 14:16:26,233 [PokemonGoBot] [INFO] Pokemon Bag: 199/250
2016-09-20 14:16:26,233 [PokemonGoBot] [INFO] Items: 221/350
2016-09-20 14:16:26,233 [PokemonGoBot] [INFO] Stardust: 29579 | Pokecoins: 0
2016-09-20 14:16:26,234 [PokemonGoBot] [INFO] PokeBalls: 103 | GreatBalls: 62 | UltraBalls: 0 | MasterBalls: 0
2016-09-20 14:16:26,236 [PokemonGoBot] [INFO] RazzBerries: 38 | BlukBerries: 0 | NanabBerries: 0
2016-09-20 14:16:26,237 [PokemonGoBot] [INFO] LuckyEgg: 2 | Incubator: 2 | TroyDisk: 2
2016-09-20 14:16:26,240 [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 2 | HyperPotion: 0 | MaxPotion: 0
2016-09-20 14:16:26,240 [PokemonGoBot] [INFO] Incense: 5 | IncenseSpicy: 0 | IncenseCool: 0
2016-09-20 14:16:26,243 [PokemonGoBot] [INFO] Revive: 3 | MaxRevive: 0
2016-09-20 14:16:26,244 [PokemonGoBot] [INFO]
2016-09-20 14:16:26,482 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-20 14:16:26,482 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-20 14:16:26,483 [PokemonGoBot] [INFO] Starting bot...
2016-09-20 14:16:28,007 [PokemonOptimizer] [INFO] Pokemon Bag: 199/250

And nothing happens after that.

I've tried it on a different computer and everything is the same.

config.json is as follows:

{
    "tasks": [
        {
            "type": "PokemonOptimizer",
            "config": {
                "enabled": true,
                "min_slots_left": 5,
                "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", "Vaporeon"]
                },
                "rules": [
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["iv"],
                        "evolve": {"iv": 0.9}
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["ncp"],
                        "evolve": {"ncp": 0.9}
                    },
                    {
                        "mode": "by_family",
                        "top": 1,
                        "sort": ["cp"]
                    },
                    {
                        "mode": "by_family",
                        "names": ["gym"],
                        "top": 3,
                        "sort": ["iv", "ncp"],
                        "evolve": {"iv": 0.9, "ncp": 0.9},
                        "upgrade": {"iv": 0.9, "ncp": 0.9}
                    }
                ]
            }
        }
    ]
}

python.exe process causes ~15% load to the CPU when the line Pokemon Bag is reached.

@Vorta Vorta changed the title PokemonOptimizer PokemonOptimizer stops after counting pokemon in bag Sep 20, 2016
@julienlavergne julienlavergne self-assigned this Sep 20, 2016
@julienlavergne
Copy link
Contributor

PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants