PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Added ability for Optimizer to handle favorites

Open Jcolomar opened this issue 8 years ago • 4 comments

Something is wrong. My rule is set favorite if iv greater than 0.99 and optimizer try set favorites all pokemons.

optimizer setup: https://pastebin.com/87FL3Z83

Jcolomar avatar Apr 25 '17 09:04 Jcolomar

I see you have enabled debug on the optimizer, could you please provide the debug log for a optimizer run?

I use the favorite function to prevent transfer Pokemon I really want to keep (Unown 😉) I mostly use something like:

{
  "mode": "overall",
  "names": [
      "Unown"
  ],
  "favorite": true
},
{
  "mode": "overall",
  "names": [
      "gym"
  ],
  "top": 1,
  "sort": [
      "attack_perfection"
  ],
  "favorite": true
}

To keep Pokemon above with the best IV I would do:

{
    "// Keep best iv of each family and evolve it if its iv is greater than 0.9": {},
    "mode": "by_family",
    "names": ["!gym"],
    "top": 1,
    "sort": [
        "iv",
        "cp"
    ],
    "evolve": {
        "iv": 0.9
    },
    "upgrade": {
      "iv": 1.0
    }

This will keep IV 100% Pokemons always, and upgrade them if I can.

I agree the function should work with your config, but to see how your rules are evaluated we need to look in the debug log.

davidakachaos avatar Apr 25 '17 11:04 davidakachaos

asap one of my acc be out of softbanned, ill paste optimizer log

Jcolomar avatar Apr 25 '17 12:04 Jcolomar

Now no set favorite... and i have some iv = 1

https://pastebin.com/CZunhxx1

Jcolomar avatar Apr 25 '17 18:04 Jcolomar

One question, will it be hard to make it favorite shiny?

MerlionRock avatar Apr 26 '17 04:04 MerlionRock