-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Limit PokemonOptimizer logs only after catching a Pokemon #5235
Comments
You config issue, read https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/pokemon_optimizer.md |
but instead of it running after every task it should only run if there's a change in the bag. Also i don't understand why it exchanges pokemon before evolving for xp. I see that pokemon is exchanged even if i have enough candy to evolve them. when evolve for xp is true I would assume that it would evolve every pokemon possible and then it could exchange after have evolved whatever possible |
|
ok if "min_slots_left" is set higher than bag size it will run all the time creating the log above. What we are asking here is if would be possible to make it only run if a pokemon is catched. There is no need for the optimizer to run if the bag haven't changed since last run. My other question is that i often see this even when Evolve for xp is true: why is this not evolved even though there's enough candy available? i don't have any lucky eggs so it's not because it's waiting for more, also no other weedles is evolved after the exchange. I'm hoping i could make the bot catch a pokemon, check if it can be evolved for xp and then exchange it, if it's not a keeper. |
Yes, so why are you putting it higher than the bag size if you don't want the task to always run ?
I have to see your config to explain the scenario. This is a very normal behavior and there is multiple way to explain it.
That is not at all how it is working. There is an algorithm running that already know in advance how many Pokemon will be transferred, how many will be evolved and how many candies you will have left at the end.
You have to use the Evolve task for that, not the Pokemon Optimizer. The Pokemon Optimizer will keep Pokemons on long run for the sake of xp or candies. |
I set And I don't mind that the |
Let me dig into some details to explain why it is not that easy to do:
Now, I am thinking about another solution, but I need to think more :) |
I got something to work. Will do a commit soon to fix that. |
Done |
Short Description
Make the
PokemonOptimizer
display log only after catching a Pokemon.Possible solution
PokemonOptimizer
currently spams the logs every second. Regardless of whether the bot catches a Pokemon or not. For example:How it would help others
Show more relevant information for the
PokemonOptimizer
in the logs.The text was updated successfully, but these errors were encountered: