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

No usable pokeballs found! [Endless loop]

Open llcashll opened this issue 10 years ago • 5 comments

Expected Behavior

Utilize whatever balls are remaining in inventory.

Actual Behavior

When Pokeballs are depleted, it will not switch to Great or Ultra balls and will get stuck in an endless loop.

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

    "type": "RecycleItems",
    "config": {
      "item_filter": {
        "Pokeball":       { "keep" : 100 },
        "Greatball":      { "keep" : 100 },
        "Ultraball":      { "keep" : 200 },
        "Potion":         { "keep" : 0 },
        "Super Potion":   { "keep" : 0 },
        "Hyper Potion":   { "keep" : 0 },
        "Max Potion":     { "keep" : 20 },
        "Revive":         { "keep" : 0 },
        "Razz Berry":     { "keep" : 100 }

Steps to Reproduce

Run out of Pokeballs, while having other balls in inventory.

Other Information

OS: Mac OSX Git Commit: 8b5af8d766ac161be926932b05e3fc785a33661d Python Version: Python 2.7.10

image

llcashll avatar Aug 10 '16 04:08 llcashll

Is your VIP set to true, and are you positive that you have great balls?

Ph4i1ur3 avatar Aug 10 '16 04:08 Ph4i1ur3

Encountered this same error with 100 ultra balls in my bag.

Edit: fix is here. The maximum available pokeball is only set to ultraball when the pokemon is designated as a VIP. If you're heavy on ultraballs and nothing else, you'll see the infinite loop.

shoelsch avatar Aug 10 '16 05:08 shoelsch

VIP is enabled, but shouldn't matter for this. I also [now] have 0 Greatballs and 120 Ultraballs. Should default to using Ultraballs- not sure why you would want it to just loop.

image

llcashll avatar Aug 10 '16 11:08 llcashll

When VIP is enabled the maximum the bot will use is a greatball currently, turning off VIP should allow it to use ultraballs

(It will save ultraballs for VIP Pokemon only)

Ph4i1ur3 avatar Aug 10 '16 12:08 Ph4i1ur3

@shoelsch Thanks for your help :)

N3W4L avatar Aug 10 '16 16:08 N3W4L