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

No usable pokeballs found! [Endless loop] #3386

Closed
llcashll opened this issue Aug 10, 2016 · 5 comments
Closed

No usable pokeballs found! [Endless loop] #3386

llcashll opened this issue Aug 10, 2016 · 5 comments

Comments

@llcashll
Copy link

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: 8b5af8d
Python Version: Python 2.7.10

image

@Ph4i1ur3
Copy link

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

@shoelsch
Copy link

shoelsch commented Aug 10, 2016

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.

@llcashll
Copy link
Author

llcashll commented Aug 10, 2016

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

@Ph4i1ur3
Copy link

Ph4i1ur3 commented Aug 10, 2016

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)

@N3W4L
Copy link

N3W4L commented Aug 10, 2016

@shoelsch Thanks for your help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants