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

BUG : Not switching to use Ultra Balls when there is no pokeball and Greatballs #3861

Closed
ajaysinghi opened this issue Aug 13, 2016 · 4 comments

Comments

@ajaysinghi
Copy link

Expected Behavior

Should switch to use ultra ball when there is 0 pokeball and 0 greatball.

Actual Behavior

Not switching to use Ultra Balls when there is no pokeball and no Greatballs

Steps to Reproduce

2016-08-13 22:04:33,358 [PokemonGoBot] [INFO] Level: 25 (Next Level: 127730 XP) (Total: 772270 XP)
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Pokemon Captured: 2593 | Pokestops Visited: 2473
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Pokemon Bag: 223/250
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Items: 169/350
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Stardust: 130488 | Pokecoins: 0
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] PokeBalls: 0 | GreatBalls: 0 | UltraBalls: 56
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] RazzBerries: 27 | BlukBerries: 0 | NanabBerries: 0
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] LuckyEgg: 4 | Incubator: 0 | TroyDisk: 6
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 20 | MaxPotion: 27
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Incense: 7 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-13 22:04:33,372 [PokemonGoBot] [INFO] Revive: 20 | MaxRevive: 0
2016-08-13 22:04:33,388 [PokemonGoBot] [INFO]
2016-08-13 22:04:33,388 [PokemonGoBot] [INFO]

[22:04:35] Starting bot...
[22:04:36] Received level up reward: []
[22:04:36] Next egg incubates in 3.30 km
[22:04:41] Something rustles nearby!
[22:04:41] A wild Sandshrew appeared! [CP 254] [Potential 0.51] [A/D/S 5/11/7]
[22:04:45] No usable pokeballs found!
[22:04:51] Moving towards pokestop Mini Drinking Fountain - 0.17km
[22:04:51] {'distance_unit': '', 'distance': '', 'current_position': (33.81536277548762, -117.92371469087469), 'last_position': (33.815458, -117.9235857)}
[22:04:57] Something rustles nearby!
[22:04:58] A wild Sandshrew appeared! [CP 254] [Potential 0.51] [A/D/S 5/11/7]
[22:05:02] No usable pokeballs found!
[22:05:07] Moving towards pokestop Mini Drinking Fountain - 0.15km
[22:05:07] {'distance_unit': '', 'distance': '', 'current_position': (33.81526293049548, -117.9238293664991), 'last_position': (33.81536277548762, -117.92371469087469)}
[22:05:11] Something rustles nearby!
[22:05:12] A wild Sandshrew appeared! [CP 254] [Potential 0.51] [A/D/S 5/11/7]
[22:05:15] No usable pokeballs found!
[22:05:20] Moving towards pokestop Mini Drinking Fountain - 0.14km
[22:05:20] {'distance_unit': '', 'distance': '', 'current_position': (33.81514640373668, -117.92391853737121), 'last_position': (33.81526293049548, -117.9238293664991)}
[22:05:22] Next egg incubates in 3.27 km
[22:05:24] Something rustles nearby!
[22:05:24] A wild Sandshrew appeared! [CP 254] [Potential 0.51] [A/D/S 5/11/7]
[22:05:28] No usable pokeballs found!

@smfbrooks
Copy link

What commit are you using?

@ajaysinghi
Copy link
Author

OS: Windows 8 Professional
Branch: Dev
Git Commit: b21b144
Python Version: Python 2.7.12

@smfbrooks
Copy link

You are on master. This feature is implemented in dev. Switch to dev or wait for it to be merged to master.

@BriceSD
Copy link
Contributor

BriceSD commented Aug 13, 2016

@ajaysinghi As @keugnu said you’re on master.
Try :

git checkout dev
git pull origin dev

Don’t forget to configure the feature too.
Next time follow the template please. Having your config file is important.

@BriceSD BriceSD closed this as completed Aug 13, 2016
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

3 participants