Giter Site home page Giter Site logo

Transfer Pokemon about pokemate HOT 18 CLOSED

swipex avatar swipex commented on August 30, 2024
Transfer Pokemon

from pokemate.

Comments (18)

pkgofan avatar pkgofan commented on August 30, 2024 3

Think I found the problem. The math is legit but the logging statement is printing [stamina, defense, stamina] and not [attack, defense, stamina] hence it looks like it's trashing valuable pokemon.

System.out.println("Transferring " + (list.indexOf(p) + 1) + "/" + list.size() + " " + p.getPokemonId() + " CP " + p.getCp() + " [" + p.getIndividualStamina() + "/" + p.getIndividualDefense() + "/" + p.getIndividualStamina() + "]");

from pokemate.

pkgofan avatar pkgofan commented on August 30, 2024 2

Oh I get it by default it keeps the highest CP of each pokemon. Additionally it will keep it if it's above min-cp and iv-ratio. I was thinking it would compare IV and keep the "better" of the two. My iv-ratio was set to 90% I'll lower it, thanks.

from pokemate.

pkgofan avatar pkgofan commented on August 30, 2024 1

Currently it keeps the highest CP of any pokemon. Yes if your second is a 1k+ CP it will also be transferred.

Are you sure? I just tried this and it did the following even though I only have 1 of each.
Transferring 1/1 FLAREON CP 999 [6/6/6]
Transferring 1/1 HAUNTER CP 539 [9/13/9]
Transferring 1/1 VULPIX CP 377 [5/6/5]
Transferring 1/1 JIGGLYPUFF CP 471 [12/12/12]
Transferring 1/1 VAPOREON CP 1043 [13/2/13]

Also it seems to be transferring pokemon > 90% IP

Transferring 15/32 DRATINI CP 201 [13/15/13]
Transferring 1/1 ELECTABUZZ CP 1199 [15/15/15]
Transferring 4/4 GROWLITHE CP 714 [14/14/14]
Transferring 3/4 CATERPIE CP 225 [15/15/15]

from pokemate.

paradoxism13 avatar paradoxism13 commented on August 30, 2024 1

Same here.

http://imgur.com/a/2clXZ

from pokemate.

paradoxism13 avatar paradoxism13 commented on August 30, 2024 1

She was perfect... She was divine. And then Professor Willow stuffed her with all the rejects into the grinder. Like all the others, she became candy. :(

from pokemate.

SwipeX avatar SwipeX commented on August 30, 2024

Currently it keeps the highest CP of any pokemon. Yes if your second is a 1k+ CP it will also be transferred.

I plan on adding a setting to allow only the 'cheap' evoultions as it is better exp

from pokemate.

Simpuhl avatar Simpuhl commented on August 30, 2024

That's not entirely true because it transferred like 50 of mine when I first launched it. Not leaving a single 1 of a specific type in some cases. An example I had 3 Squirtle, and it transferred all 3. It should keep the highest one. Always keep at-least 1 and the highest one.

Also, maybe we can somehow keep all Pokemon with really high stats instead of transfer?

Lastly, if we don't own all 3 evolution of a specific type maybe it will save the candy instead of auto evolve?

from pokemate.

SwipeX avatar SwipeX commented on August 30, 2024

I still have to add the settings for it to be customizable. but currently it keeps pokemon with an IV > 90%. There will be more settings to come soon.

It does keep the best type of a pokemon I can assure you. It is possible that it did evolve it.

The feature will be released in the next release.

from pokemate.

paradoxism13 avatar paradoxism13 commented on August 30, 2024

I left the settings on the default 90% IV... and it transferred a 15/14/15 eevee after it caught it.

Edit:
Not the Eevee, but this is still a 95% IV pokemon
http://imgur.com/a/MZUOr

from pokemate.

Simpuhl avatar Simpuhl commented on August 30, 2024

OUCH

from pokemate.

pkgofan avatar pkgofan commented on August 30, 2024

I couldn't reproduce after pulling in the latest code, but then again I've also starred the pokemon I want to keep and have none of the big ones left after running it earlier today.

from pokemate.

paradoxism13 avatar paradoxism13 commented on August 30, 2024

I tried

#What IV% to keep pokemon at
iv-ratio=99

So only 100% 15/15/15 perfect IV pokemon with higher CP can replace perfect IV pokemon.

It transferred a 15/15/15 pokemon again. What it kept was just a random non-perfect IV pokemon with just a tad bit higher CP.

from pokemate.

paradoxism13 avatar paradoxism13 commented on August 30, 2024

Nice catch. I now feel better. Those perfects crushed and melted into candy were not so perfect after all.

from pokemate.

SwipeX avatar SwipeX commented on August 30, 2024

@pkgofan nice catch!

from pokemate.

SwipeX avatar SwipeX commented on August 30, 2024

anyone have issues with me closing this or does it need any more fixing?

from pokemate.

pkgofan avatar pkgofan commented on August 30, 2024

One related question. I hatched some eggs, ran this tool from today's source and then saw the following

Transferring 1/2 LAPRAS CP 650 [11/11/14]
Transferring 1/2 PORYGON CP 323 [14/10/15]

It saved a CP 1134 [15/2/6] Lapras and a CP 542 [15/7/3] Porygon. Is the logic to transfer based on a combination of current CP and IV? I had assumed it would try for the best IV. Thanks.

from pokemate.

Simpuhl avatar Simpuhl commented on August 30, 2024

It seems to work fine for me.

I have chosen to keep everything over 1000 CP or Anything above 85 IV. It does that.

from pokemate.

SwipeX avatar SwipeX commented on August 30, 2024

It just keeps it if it qualifies. You got it now.

from pokemate.

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.