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

Loop-ing error: 'No usable pokeballs found!' #3739

Closed
Bizz opened this issue Aug 12, 2016 · 0 comments
Closed

Loop-ing error: 'No usable pokeballs found!' #3739

Bizz opened this issue Aug 12, 2016 · 0 comments

Comments

@Bizz
Copy link

Bizz commented Aug 12, 2016

Expected Behavior

Being able to catch pokemon's with only one type of better pokeballs.

Actual Behavior

Stuck in loop with error: 'No usable pokeballs found!'

Your config.json (remove your credentials and any other private info)

{
    "auth_service": "PROTECTED",
    "username": "PROTECTED",
    "password": "PROTECTED",
    "location": "PROTECTED",
    "gmapkey": "PROTECTED",
    "tasks": [
      {"type": "HandleSoftBan"},
      {"type": "CollectLevelUpReward"},
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {"type": "TransferPokemon"},
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 1000,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Pokeball":       { "keep" : 10 },
            "Greatball":      { "keep" : 10 },
            "Ultraball":      { "keep" : 90 },
            "Masterball":     { "keep" : 90 },

            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 10 },
            "Max Potion":     { "keep" : 90 },

            "Revive":         { "keep" : 10 },
            "Max Revive":     { "keep" : 90 },

            "Razz Berry":     { "keep" : 10 },
            "Bluk Berry":     { "keep" : 10 },
            "Nanab Berry":     { "keep" : 10 },
            "Wepar Berry":     { "keep" : 10 },
            "Pinap Berry":     { "keep" : 10 }
          }
        }
      },
      {"type": "CatchVisiblePokemon"},
      {"type": "CatchLuredPokemon"},
      {"type": "SpinFort"},
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 9,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },
    "release": {
      "any": {"release_below_cp": 500, "release_below_iv": 0, "logic": "or"},
      "any": {"keep_best_cp": 2}
    },
    "vips" : {
        "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}
    }
}

Steps to Reproduce

  1. Have only Ultraballs, 0 Greatballs, 0 Pokeballs and lots of Ultraballs (in my case 89 Ultraballs).
  2. Encounter pokemon
  3. => No usable pokeballs found!

Other Information

OS: Linux 2.6.32-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015 x86_64 GNU/Linux
Branch: master
Git Commit: d7cb7df
Python Version: Python 2.7.12

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

2 participants