Code Monkey home page Code Monkey logo

Comments (5)

cglatot avatar cglatot commented on September 14, 2024

You shouldn't need to go to the protobufs at all, there are methods in Session that allow you to evolve. Look at the API for info. And look at their demo.py - it has evolve demos in there: https://github.com/rubenvereecken/pokemongo-api

If you are going to submit a pull request for this make sure you do the following:

  • Check for number of candies and calculate how many evolutions can happen for that pokemon (and display to user)
  • Correctly deduct candies when evolving (or make sure that you don't try to evolve more than can be evolved)
  • Allow the user to specify how many to evolve for each pokemon
  • Allow the user to specify a certain Pokemon (and how many to evolve), or to evolve everything available (or at the very least, code it in a way that the second feature could be added on easily enough)

If you meet those criteria, and it follows similar formatting / tabular layout as the rest I'll be happy to merge. Looking at the transfer and counts methods will likely provide most of the code for it anyway.

from pokemanager.

fprovostpoulin avatar fprovostpoulin commented on September 14, 2024

Is there a way to ask to activate a lucky egg before starting the evolutions ? That way you can as well tell if you have the optimal number of upgrades.

Also, it may be nice to have an option to filter by How much candy it requires... that way we could focus on just pidgey, caterpies and weedles if we want (Or as it'S done in the "Transfer" option, maybe ask for what pokemon we want to evolve, and how many of them starting by the higher IV maybe )

from pokemanager.

MatyiFKBT avatar MatyiFKBT commented on September 14, 2024

@fprovostpoulin maybe you need to activate the egg on your phone and than run the code on your computer. If you don't happen to have thousands of Pokémons, it should be done in 30 minutes.

from pokemanager.

fprovostpoulin avatar fprovostpoulin commented on September 14, 2024

can't we use session.evolvePokemon(monster[6]) in order to do it ? I didn't succeed to evolve through this method. Any help ?

from pokemanager.

BeardAnnihilator avatar BeardAnnihilator commented on September 14, 2024

#59

from pokemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.