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

-if not working properly

Open vanrzuf opened this issue 10 years ago • 13 comments

Expected Behavior

recycles selected items after spinning pokestop

Actual Behavior

recycles pokeballs

Steps to Reproduce

run bot with -if ["101","102","103","104"] (potions id)

Other Information

OS: debian wheezy Git Commit: 002dd59b75bc1cfb14d1e86d06e635774757203e

vanrzuf avatar Jul 23 '16 22:07 vanrzuf

did u find the solution

hawx07 avatar Jul 24 '16 00:07 hawx07

Can also confirm this. Passed in ["101","102","103","104","201"] but bot recycle pokeballs instead.

2016-07-23 20:04:28 [+] Loot: 2016-07-23 20:04:28 [+] 50 xp 2016-07-23 20:04:28 [+] 2x Pokeball 2016-07-23 20:04:28 [+] Recycling 2x Pokeball... 2016-07-23 20:04:28 [+] Recycling success 2016-07-23 20:04:28 [+] 1x Greatball 2016-07-23 20:04:28 [+] Recycling 1x Greatball... 2016-07-23 20:04:29 [+] Recycling success

jdinh1 avatar Jul 24 '16 00:07 jdinh1

Please verify my pull request #543 , to fix this issue

budi-khoirudin avatar Jul 24 '16 01:07 budi-khoirudin

@budi-khoirudin its working for superpotion but it didnt remove a revive or potion and i have 201 in there --item_filter ["101","102","103","201"]

[+] Loot: [+] 50 xp [+] 1x Revive [+] 2x Pokeball [#] PokeStop on cooldown. Time left: 5.00 minutes

[+] Loot: [+] 50 xp [+] 2x Greatball [+] 1x Super Potion [+] Recycling 1x Super Potion... [#] PokeStop on cooldown. Time left: 4.98 minutes

[+] Loot: [+] 50 xp [+] 1x Pokeball [+] 2x Potion [#] PokeStop on cooldown. Time left: 5.00 minutes

skydrome avatar Jul 24 '16 01:07 skydrome

@budi-khoirudin edited my comment above, it seems just to be removing super potion.

skydrome avatar Jul 24 '16 01:07 skydrome

How you use it? you must use like this => -if "101,102,103,104,201" , it's working properly below is the output not only super potion, in here example revive too

2016-07-24 08:28:33 [#] Now at Pokestop: mushola al hidayah vip - Spinning... 2016-07-24 08:28:36 [+] Loot: 2016-07-24 08:28:36 [+] 50 xp 2016-07-24 08:28:36 [+] 2x Revive (Total: 4) 2016-07-24 08:28:36 [+] Recycling 2x Revive... 2016-07-24 08:28:37 [+] Recycling success 2016-07-24 08:28:37 [+] 1x Pokeball (Total: 55) [2016-07-24 08:28:37] [#] PokeStop on cooldown. Time left: 4.95 minutes

you wrong how to use it @skydrome, not --item_filter ["101","102","103","201"] but --item_filter "101,102,103,201"

budi-khoirudin avatar Jul 24 '16 01:07 budi-khoirudin

@budi-khoirudin ah yes forgot to remove the brackets, its working now, cheers!

skydrome avatar Jul 24 '16 01:07 skydrome

@budi-khoirudin just copy pasted this from manual. Will try without brackets

vanrzuf avatar Jul 24 '16 07:07 vanrzuf

python pokecli.py -a google -u user -p pass -l "x.y" -w 4 -if "101,102,103,104,201" tried this. Still recycling pokeballs.

SpaceBoris avatar Jul 24 '16 08:07 SpaceBoris

Without brackets works to me.

vanrzuf avatar Jul 24 '16 08:07 vanrzuf

I'm the one that added the feature, tested with ["101", "102", "103"] in the config json file, I will now test it on the cmd line and convert "101,102,103" to an array! Sorry about that

dmateusp avatar Jul 24 '16 09:07 dmateusp

Having this issue aswell

ayozebarrera avatar Jul 24 '16 15:07 ayozebarrera

will be fixed in #638

fredrik-hellmangroup avatar Jul 24 '16 23:07 fredrik-hellmangroup