Fixing evolve worker being skipped problem#1469
Fixing evolve worker being skipped problem#1469vicch wants to merge 1 commit intoPokemonGoF:devfrom vicch:dev
Conversation
|
There is a |
|
tests, please. |
|
works fine for me (EDIT: just testing evolve, not using lucky eggs here). |
|
Doesn't work. When set to use a luck egg the lucky egg is applied but the evloves are skipped. |
|
That being said thanks for the pull request, it allowed me to evolve all the the 200 pidgeys I had collected previously for and allowed me to level up |
|
@thomaswelton 200! That's pretty aggressive. You are welcome. Batch evolving is indeed vital for quick leveling. Hope this could get completely fixed soon. |
| if not use_lucky_egg: # If not using lucky eggs, skipping checks below | ||
| return True | ||
|
|
||
| if lucky_egg_count > 0: |
There was a problem hiding this comment.
This will attempt to use a lucky egg every tick when the use_lucky_egg config is True
There was a problem hiding this comment.
I suppose yes, if you set "use_lucky_egg": true and you actually have lucky eggs.
There was a problem hiding this comment.
so every 30 mins it will use a lucky egg. This doesn't seem ideal. Not only that, currently it will send the API request every second (technically tick) which is not good at all.
|
Already fixed and merged in #1541 |
Short Description:
EvolveAllWorker._should_run()logic was wrong, causing evolve worker not running at startup.Fixes:
EvolveAllWorker._should_run()