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

Doesn't seem to be releasing pokemon

Open tauntonian opened this issue 10 years ago • 7 comments

Expected Behavior

Bot should release pokemon below 350CP or below 0.3 IV

Actual Behavior

All pokemon are held

Steps to Reproduce

Other Information

My config:

{ "auth_service": "google", "username": "xxx", "password": "xxx", "location": "xx,xx", "gmapkey": "xxx", "max_steps": 2, "catch_pokemon": true, "spin_forts": true, "walk": 4.16, "action_wait_min": 1, "action_wait_max": 4, "debug": false, "test": false, "health_record": true, "initial_transfer": 1, "location_cache": true, "distance_unit": "km", "reconnecting_timeout": 15, "item_filter": { "1": { "keep" : 100 }, "101": { "keep" : 10 }, "102": { "keep" : 30 }, "103": { "keep" : 30 }, "201": { "keep" : 30 }, "701": { "keep" : 100 } }, "evolve_all": "Pidgey,Weedle,Rattata,Caterpie", "evolve_speed": 20, "cp_min": 300, "use_lucky_egg": true, "hatch_eggs": true, "longer_eggs_first": true, "evolve_captured": false, "catch": { "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}, "// Example of always catching Rattata:": {}, "// Rattata": { "always_catch" : true } }, "release": { "any": {"release_below_cp": 350, "release_below_iv": 0.3, "logic": "or"}, "// Example of always releasing Rattata:": {}, "// Rattata": { "always_release" : true }, "Squirtle": { "always_release" : false }, "Dratini": { "always_release" : false }, "Wartortle": { "always_release" : false }, "Blastoise": { "always_release" : false }, "Charmander": { "always_release" : false }, "Dragonair": { "always_release" : false }

}

}

tauntonian avatar Jul 28 '16 18:07 tauntonian

try changing the release log into "and"

aTadTasty avatar Jul 28 '16 18:07 aTadTasty

I would, but then I'd have to wait for pokemon that are both under 350 and less than 0.3 IV - it seems less efficient and not what I'm looking for the bot to do.

tauntonian avatar Jul 28 '16 19:07 tauntonian

Same here, seems inconsistent

when releasing

[02:52:21] Something rustles nearby! [02:52:23] A Wild Voltorb appeared! [CP 140] [Potential 0.33] [02:52:23] IV [Stamina/Attack/Defense] = [0/13/2] [02:52:27] Using Pokeball (chance: 57.27%)... (12 left!) [02:52:28] Captured Voltorb! [CP 140] [Potential 0.33] [0/13/2] [02:52:33] [x] Found fort 6c2420ba253b4629b288c85765a99659.16 at distance 0.02km [02:52:33] [x] Need to move closer to Pokestop [02:52:39] POKE TRANSFER WORKING [02:52:40] Releasing Voltorb with CP 140 and IV 0.33. Matching release rule: CP < 1000 AND IV < 0.8. [02:52:40] Exchanging Voltorb [CP 140] [Potential 0.33] for candy! [02:52:45] [x] Found fort 6c2420ba253b4629b288c85765a99659.16 at distance 0.02km [02:52:45] [x] Need to move closer to Pokestop

when not releasing

[02:54:00] Something rustles nearby! [02:54:00] A Wild Rattata appeared! [CP 135] [Potential 0.42] [02:54:00] IV [Stamina/Attack/Defense] = [10/2/7] [02:54:04] Catch Rate with normal Pokeball is low (47.34%). Throwing Razz Berry... (42 left!) [02:54:04] Catch Rate with normal Pokeball has increased to 71.01% [02:54:04] Using Pokeball (chance: 71.01%)... (11 left!) [02:54:06] Captured Rattata! [CP 135] [Potential 0.42] [10/2/7] [02:54:11] [x] Found fort f06931364d774d1ea77583d21ba7bd59.11 at distance 0.01km [02:54:11] [x] Need to move closer to Pokestop [02:54:16] POKE TRANSFER WORKING [02:54:17] [x] Found fort f06931364d774d1ea77583d21ba7bd59.11 at distance 0.01km [02:54:17] [o] Arrived at Pokestop [02:54:18] Now at Pokestop: Statue in AMP Centre [02:54:18] Spinning ... [02:54:19] Loot: [02:54:19] 50 xp [02:54:19] - 3x Pokeball (Total: 14) [02:54:19] PokeStop on cooldown. Time left: 5 minutes, 0 seconds [02:54:26] POKE TRANSFER WORKING

My config:

"Voltorb":      { "release_below_cp": 1000, "release_below_iv": 0.8, "logic": "and" }
"Rattata":      { "release_below_cp": 300, "release_below_iv": 0.8, "logic": "and" }

i added that "POKE TRANSFER WORKING" log to make sure that the worker is called, is that because worker's api call got interrupted?

bimahp avatar Jul 28 '16 20:07 bimahp

it seems like "release_pokemon" value is losing somewhere in between. got "pokemon bag is full" removed pokemon_transfer_worker.py lines 15-16 next run it released all by the rules.

wcrwcr avatar Jul 28 '16 23:07 wcrwcr

You need to add "release_pokemon": true to your config file.

niinn avatar Jul 28 '16 23:07 niinn

yes, I've pulled the latest commits, it's still not releasing anything

EDIT: Updated my config.json with newest pull and it works again

tauntonian avatar Jul 28 '16 23:07 tauntonian

all set

tauntonian avatar Jul 28 '16 23:07 tauntonian