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

Module called "LevelUp" to use Lucky egg when enough evolutions to level up available #2833

Closed
pranavperfect opened this issue Aug 7, 2016 · 20 comments

Comments

@pranavperfect
Copy link

Trying to store pokemon in order to use a lucky egg and perform bulk evolutions. Want to understand how I can perform this using some configuration in config.json.

Essentially, if i have 36 Pidgey candies, bot should let 3+ pidgey be. If 60 pidgey candies, let 5+ pidgey be.

Can someone help out with this kind of config? This can help ensure that i get the most out of my lucky egg in one go.

@bruvv
Copy link
Contributor

bruvv commented Aug 7, 2016

And @pranavperfect please use the template for making an issue.

@pranavperfect
Copy link
Author

@nivong I believe @Brambi just wants to tell me to read 2780 which refers to an update in the wiki being an upcoming task and not an immediate task. And i understand that. Which is why you guys can close it and I can comment on it later after the wiki is updated.

@bruvv
Copy link
Contributor

bruvv commented Aug 7, 2016

@pranavperfect that issue where brambi was linking to has to do with the new encrypted updates and how to run the new bot ;)
Your "issue" isn't an issue it's a new feature that hasn't been implemented yet as far as I know ;)

@pranavperfect
Copy link
Author

Here is the detailed description of the new feature:

Just like we have modules for catching pokemon and evolving pokemon, if there could be a "level up" module which would act as follows:

  1. Calculate XP required to new level ==> XP required for next level - XP present
  2. Count number of Pidgey+Weedle+Caterpie in inventory available for level up
  3. Calculate possible XP earned if evolved using lucky egg (2_500_no. of evolutions)
    *Not taking into account XP earned from catching pokemon and swiping pokestops
  4. If Possible XP earned >= XP required for Level up
  5. Pause all other activity
  6. Start Lucky Egg
  7. Evolve Pidgey, Weedle and Caterpie
  8. After leveling up, keep strongest by CP or IV as set in config file
  9. Resume regular activity
  10. Else, continue catching pokemon and re-check after x mins

For step 2 to happen, bot needs to catch and release weak pokemon such that
weak pokemon in inventory = (candy/12)+1
So if there was 60 Pidgey candy, there should be 6 Pidgey in inventory.
weak pokemon should not be governed by the keep_best_cp/iv rule.

@pranavperfect
Copy link
Author

@nivong please let me know if this is enough details.

@pranavperfect
Copy link
Author

And again, this will not be an "always on" feature since lucky eggs are limited.

@mousetree
Copy link

mousetree commented Aug 7, 2016

@pranavperfect: in your release section, include settings like this:

"Caterpie": { "keep_for_evo": true },
"Weedle": { "keep_for_evo": true },
"Rattata": { "keep_for_evo": true },
"Zubat": { "keep_for_evo": true },
"Pidgey": { "keep_for_evo": true },

When you are ready you can add a task like:

{
  "type": "EvolvePokemon",
  "config": {
    "evolve_all": "Pidgey,Rattata,Weedle,Tentacool,Zubat,Ekans,Psyduck,Spearow,Caterpie",
    "first_evolve_by": "cp",
    "evolve_above_cp": 100,
    "evolve_above_iv": 0.1,
    "logic": "or",
    "evolve_speed": 20,
    "use_lucky_egg": true
  }
}

YMMV, but this seems to work well for me (on latest dev branch)

@pranavperfect pranavperfect changed the title Config Doubt: Keep pokemon count to what can be evolved [Improvement]: Module called "LevelUp" to use Lucky egg when enough evolutions to level up available Aug 7, 2016
@pranavperfect
Copy link
Author

@mousetree - First of all, the script does not display XP/stats periodically which i can monitor and be like "Hey i can level up now because i have enough evolutions etc.". Secondly, This would require me to keep changing my config whereas that is a module which actively monitors my possible evolutions and my required evolutions and then do it auto-magically. I'm just trying to have least restarts.

@nivong - Can we not display the stats periodically which are displayed only when the bot is stopped?
It would be helpful to know how we are progressing.

@mjmadsen
Copy link
Contributor

Done to an extent. Please reopen and expand if not.

@pranavperfect
Copy link
Author

I don't see the option? Do we have a wiki for it? Can you please explain where this feature has been added?

@bruvv
Copy link
Contributor

bruvv commented Aug 21, 2016

@pranavperfect
Copy link
Author

@nivong i don't understand how the commit helps. I can't find any reference to my feature request in the commits.

@pranavperfect
Copy link
Author

Level up thing definitely doesn't work. Or i don't know how to make it work. some guidance is required.

@k4n30
Copy link
Contributor

k4n30 commented Aug 24, 2016

@pranavperfect reopened for you :)

@k4n30 k4n30 changed the title [Improvement]: Module called "LevelUp" to use Lucky egg when enough evolutions to level up available Module called "LevelUp" to use Lucky egg when enough evolutions to level up available Aug 24, 2016
@pranavperfect
Copy link
Author

@k4n30 Thank you! I couldn't find a way to open it!

@mjmadsen mentioned that this feature has been built into the bot. But i don't see it happening. Is there some configuration that needs to be done for it?

@mjmadsen
Copy link
Contributor

@pranavperfect Sorry, I misread the wants. My bad!

@pranavperfect
Copy link
Author

@mjmadsen the config.json.optimizer.example has some content which relates to what i'd asked. but it is asking the user to tell how many evolutions are needed etc. but what the module should do is keep hoarding pidgey, weedle and caterpie and other "common" pokemon for an area and then once enough to level up using lucky egg, then start evolving. also taking into account that in 30 minutes, you'd be able to do roughly 60 evolutions.

@pranavperfect
Copy link
Author

@mjmadsen is this still under development or has been disregarded?

@mjmadsen
Copy link
Contributor

I don't know if anyone is currently working on this. A lot of bug fixes and small improvements.

Everything you asked for seems to be in the bot except for taking in account exp to next level or what not. Personally, I don't see much value in it. Exp is exp.

@oralunal
Copy link
Contributor

oralunal commented Sep 1, 2016

I agree with @mjmadsen . Exp is exp. No need to something like this.

Edit: Use optimizer to evolve with lucky egg and evolve only for exp. This will not calculate next level things but exp is exp. With optimize and lucky you will earn lots of exps.

@oralunal oralunal closed this as completed Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants