PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.87k stars 1.54k forks source link

How to fix "Your Pokemon Invetory is Full" ??? #3473

Closed JandersonFB closed 8 years ago

JandersonFB commented 8 years ago

"release": { "release": {"Pidgey": {"always_release": true}}, "release": {"Caterpie": {"always_release": true}}, "release": {"Weedle": {"always_release": true}}, "release": {"Zubat": {"always_release": true}} }, image

jnnck commented 8 years ago

You should have something like:

"release": {
        "any": {
            "keep_best_cp": 2,
            "release_below_cp": 900,
            "release_below_iv": 0.9,
            "logic": "and"
        },
}

You can leave your pokemon specific rules in there as well but have a rule for all...

abiran commented 8 years ago

@jannickv are you in the dev branch? I read that keep_best_cp is only available on that branch. I'm in master and haven't try yet but I want it.

bigkraig commented 8 years ago

I've stopped releasing as of #3320

Config is

    "release": {
      "any": {"keep_best_iv": 3},
      "Arbok": {"keep_best_iv": 1},
      "Golbat": {"keep_best_iv": 1},
      "Charmeleon": {"keep_best_iv": 2},
      "Raticate": {"keep_best_iv": 1},
      "Sandslash": {"keep_best_iv": 1},
      "Nidoqueen": {"keep_best_iv": 1},
      "Nidoking": {"keep_best_iv": 1},
      "Pidgeotto": {"keep_best_iv": 1},
      "Spearow": {"keep_best_iv": 1},
      "Ekans": {"keep_best_iv": 1},
      "Kakuna": {"keep_best_iv": 1},
      "Clefairy": {"keep_best_iv": 1},
      "Clefable": {"keep_best_iv": 1},
      "Persian": {"keep_best_iv": 1},
      "Primeape": {"keep_best_iv": 1},
      "Arcanine": {"keep_best_iv": 1},
      "Machamp": {"keep_best_iv": 1},
      "Golem": {"keep_best_iv": 1},
      "Rapidash": {"keep_best_iv": 1},
      "Onix": {"keep_best_iv": 1},
      "Kingler": {"keep_best_iv": 1},
      "Rhydon": {"keep_best_iv": 1}
    },

It works if my config is

    "release": {
      "any": {"keep_best_iv": 3}
    },
babyinthesky commented 8 years ago

same here, I have dev installed yesterday, and not possible to release the specific pokemon, but for any it works.

fari-99 commented 8 years ago

@babyinthesky of course you can, you must config it.

here's the example of my config

"release" : {
      "any": {"release_below_cp": 200, "release_below_iv": 0.3, "logic": "or"},
      "Doduo": {"always_release": true},
      "Dodrio": {"always_release": true},
      "Golbat": {"always_release": true},
      "Zubat": {"always_release": true},
      "Sandslash": {"always_release": true},
      "Sandshrew": {"always_release": true},
      "Arbok": {"always_release": true},
      "Ekans": {"always_release": true},
      "Fearow": {"always_release": true},
      "Spearow": {"always_release": true},
      "Rattata": {"always_release": true},
      "Raticate": {"always_release": true},

      "Victreebel": {"keep_best_iv": 1},
      "Weepinbell": {"always_release": true},
      "Bellsprout": {"always_release": true},

      "Machamp": {"keep_best_iv": 1},
      "Machoke": {"always_release": true},
      "Machop": {"always_release": true},

      "Alakazam": {"keep_best_iv": 1},
      "Kadabra": {"always_release": true},
      "Abra": {"always_release": true},

      "Poliwrath": {"keep_best_iv": 1},
      "Poliwhirl": {"always_release": true},
      "Poliwag": {"always_release": true},

      "Vileplume": {"keep_best_iv": 1},
      "Gloom": {"always_release": true},
      "Oddish": {"always_release": true},

      "Nidoking": {"keep_best_iv": 1},
      "Nidorino": {"always_release": true},
      "Nidoran M": {"always_release": true},

      "Nidoqueen": {"keep_best_iv": 1},
      "Nidorina": {"always_release": true},
      "Nidoran F": {"always_release": true},

      "Pidgeot": {"keep_best_iv": 1},
      "Pidgeotto": {"always_release": true},
      "Pidgey": {"always_release": true},

      "Beedrill": {"keep_best_iv": 1},
      "Kakuna": {"always_release": true},
      "Weedle": {"always_release": true},

      "Butterfree": {"keep_best_iv": 1},
      "Metapod": {"always_release": true},
      "Caterpie": {"always_release": true},

      "Starmie": {"keep_best_iv": 1},
      "Staryu": {"always_release": true},

      "Seadra": {"keep_best_iv": 1},
      "Horsea": {"always_release": true},

      "Seaking": {"keep_best_iv": 1},
      "Goldeen": {"always_release": true},

      "Tangela": {"always_release": true},

      "Chansey": {"keep_best_iv": 1},

      "Rhydon": {"keep_best_iv": 1},
      "Rhyhorn": {"always_release": true},

      "Weezing": {"keep_best_iv": 1},
      "Koffing": {"always_release": true},

      "Lickitung": {"always_release": true},

      "Hitmonchan": {"keep_best_iv": 1},

      "Hitmonlee": {"keep_best_iv": 1},

      "Marowak": {"keep_best_iv": 1},
      "Cubone": {"always_release": true},

      "Exeggcutor": {"keep_best_cp": 2},
      "Exeggcute": {"always_release": true},

      "Electrode": {"keep_best_iv": 1},
      "Voltorb": {"always_release": true},

      "Krabby": {"keep_best_iv": 1},
      "Kingler": {"always_release": true},

      "Magnemite": {"keep_best_iv": 1},
      "Magneton": {"always_release": true},

      "Slowbro": {"keep_best_iv": 1},
      "Slowpoke": {"always_release": true},

      "Rapidash": {"keep_best_iv": 1},
      "Ponyta": {"always_release": true},

      "Pinsir": {"always_release": true},

      "Gyarados": {"keep_best_iv": 1, "keep_best_cp": 2},
      "Magikarp": {"keep_best_cp": 1},

      "Kabuto": {"always_release": true},
      "Kabutops": {"keep_best_iv": 1},

      "Flareon": {"keep_best_cp": 2},
      "Jolteon": {"keep_best_cp": 2},
      "Vaporeon": {"keep_best_cp": 2},
      "Eevee": {"keep_best_iv": 3},

      "Golem": {"keep_best_iv": 1},
      "Graveler": {"always_release": true},
      "Geodude": {"always_release": true},

      "Golduck": {"keep_best_iv": 1},
      "Psyduck": {"always_release": true},

      "Persian": {"keep_best_iv": 1},
      "Meowth": {"always_release": true},

      "Dugtrio": {"keep_best_iv": 1},
      "Diglett": {"always_release": true},

      "Venomoth": {"keep_best_iv": 1},
      "Venonat": {"always_release": true},

      "Wigglytuff": {"keep_best_iv": 1},
      "Jigglypuff": {"always_release": true},

      "Clefable": {"keep_best_iv": 1},
      "Clefairy": {"always_release": true},

      "Primeape": {"keep_best_iv": 1},
      "Mankey": {"always_release": true},

      "Arcanine": {"keep_best_cp": 2},
      "Growlithe": {"always_release": true},

      "Tentacruel": {"keep_best_cp": 2},
      "Tentacool": {"always_release": true},

      "Parasect": {"keep_best_iv": 1},
      "Paras": {"always_release": true},

      "Ninetales": {"keep_best_cp": 2},
      "Vulpix": {"always_release": true},

      "Hypno": {"release_below_cp": 2000},
      "Drowzee": {"always_release": true},

      "Onix": {"always_release": true},

      "Gengar": {"keep_best_iv": 1},
      "Haunter": {"always_release": true},
      "Gastly": {"always_release": true},

      "Cloyster": {"keep_best_iv": 1},
      "Shellder": {"always_release": true},

      "Primeape": {"keep_best_iv": 1},
      "Mankey": {"always_release": true},

      "Muk": {"keep_best_iv": 1},
      "Grimer": {"always_release": true},

      "Dewgong": {"keep_best_iv": 1},
      "Seel": {"always_release": true},

      "Omastar": {"keep_best_iv": 1},
      "Omanyte": {"always_release": true},

      "Jynx": {"always_release": true},

      "Scyther": {"keep_best_cp": 1},

      "Porygon": {"keep_best_iv": 1},

      "Raichu": {"keep_best_iv": 1},
      "Pikachu": {"keep_best_iv": 1},

      "Blastoise": {"keep_best_iv": 1},
      "Wartortle": {"keep_best_iv": 1},
      "Squirtle": {"always_release": true},

      "Charizard": {"keep_best_iv": 1},
      "Charmeleon": {"keep_best_iv": 1},
      "Charmander": {"always_release": true},

      "Venusaur": {"keep_best_iv": 1},
      "Ivysaur": {"keep_best_iv": 1},
      "Bulbasaur": {"always_release": true},

      "Ditto": {"keep_best_iv": 1},
      "Magmar": {"keep_best_iv": 1},
      "Electabuzz": {"keep_best_iv": 1},
      "Lapras": {"keep_best_cp": 2, "keep_best_iv": 1},

      "Tauros": {"keep_best_iv": 1},
      "Mr. Mime": {"keep_best_iv": 1},
      "Kangaskhan": {"keep_best_iv": 1},
      "Farfetch'd": {"keep_best_iv": 1},

      "Mew": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Mewtwo": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Dragonite": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Dragonair": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Dratini": {"keep_best_iv": 1},
      "Moltres": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Zapdos": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Articuno": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Snorlax": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Aerodactyl": {"keep_best_cp": 2, "keep_best_iv": 1}
}
foster82 commented 8 years ago

Hi guys, this is my config for releasing pokemon ,but it doesnt seem to be working and the bot will not release any captured pokemon. Any ideas whats wrong ???

` { "type": "TransferPokemon", "release": { "any": { "keep_best_cp": 5, "release_below_cp": 350, "release_below_iv": 0.2, "logic": "and" }} },

`

babyinthesky commented 8 years ago

@foster82
You need to separate keep_best_cp and release_below_cp to different lines

example the following works in my config: "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"}, "any": {"keep_best_cp": 3, "keep_best_iv": 3},

And you don't need to add "release" inside "TransferPokemon". "release" should be an independent area. please check config.json.example in your config folder.

"release": {
  "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
  "any": {"keep_best_cp": 3, "keep_best_iv": 3}, 
foster82 commented 8 years ago

ok so i have now changed it to this :

{ "type": "TransferPokemon", "release": { "any": {"release_below_cp": 400, "release_below_iv": 0, "logic": "or"}, "any": {"keep_best_cp": 5, "keep_best_iv": 5} } }, and is still not releasing pokemon once caught.

babyinthesky commented 8 years ago

@foster82

move release to a separate area, not together with type TransferPokemon.

can you check your config.json.example file? It should be something like this:

"distance_unit": "km", "reconnecting_timeout": 15, "evolve_captured": "NONE", "catch_randomize_reticle_factor": 1.0, "catch_randomize_spin_factor": 1.0, "logging_color": true, "catch": { "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}, "// Example of always catching Rattata:": {}, "// Rattata": { "always_catch" : true } }, "release": { "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"}, "any": {"keep_best_cp": 3, "keep_best_iv": 3}, " Rattata": {"always_release": true}, " Rattata": {"keep_best_cp": 2},

foster82 commented 8 years ago

cracked it nice one thanks