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

Infinite loop with lured_pokemon_found and catch_above_iv

Open jrgutier opened this issue 10 years ago • 8 comments

If I have any capture filter set (i.e. catch_above_iv), and it will keep trying to catch the lured pokemon that doesn't match the filter without moving away from said forts. Might need some way to signify that the pokemon have already been blacklisted, stop trying to catch them, and to move on to the next fort.

I was able to work around it by placing the MoveToFort and FollowSpiral tasks before the CatchLuredPokemon task.

2016-08-15 11:40:41,720 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:43,454 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:43,454 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:45,238 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:45,238 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:49,135 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:49,135 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:50,671 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:50,671 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:52,133 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:52,133 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:54,252 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:54,252 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:55,938 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:55,938 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:40:57,409 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:40:57,409 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:00,796 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:00,796 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:02,411 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:02,411 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:04,131 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:04,132 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:06,049 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:06,050 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:08,046 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:08,046 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:09,678 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:09,678 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:11,435 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:11,435 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:13,873 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:13,873 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:15,547 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:15,547 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:16,991 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:16,991 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:18,651 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:18,651 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:20,374 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:20,374 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:23,195 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:23,195 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:24,822 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:24,822 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16) 2016-08-15 11:41:26,715 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Castagnola's (680dc1c30b8746e7820ed1f655cbadb7.16) 2016-08-15 11:41:26,715 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Joe's Crab Shack (6aefdc1391664e7f825315c5ddbc08f3.16)

jrgutier avatar Aug 15 '16 16:08 jrgutier

This might be actually in interaction with "lure_attraction": true and the filter. I disabled lure_attraction and everything seems to be working now.

jrgutier avatar Aug 15 '16 17:08 jrgutier

Setting lure_attration to false only reduce the bug occurence.

The bug is the interaction beetween pokemon_catch_worker and catch_*_pokemon. Because catcher will try to catch the nearest no wanted pokemon meanwhile all tick.

Quick (and ugly) fix in catch_* : call catch_pokemon in the loop.

z4ppy avatar Aug 15 '16 18:08 z4ppy

i've also seen this happen using followpath or movetomappokemon as well.

it always looked like a multiple lured in range bug to me but interesting that it will work with no filter.

accident12123 avatar Aug 15 '16 19:08 accident12123

In move_to_map_pokemon.py, there is a caught table so you don't teleport to the same pokemon more than once. Maybe set something similar up in catch_*_pokemon.py

jrgutier avatar Aug 15 '16 22:08 jrgutier

so what is the fix for this problem?

mjsaber avatar Aug 16 '16 07:08 mjsaber

Who knows with the limited information provided we are unable to assist, there is a template for a reason :(

k4n30 avatar Aug 16 '16 07:08 k4n30

ran into this problem..it was alternating between two lured_pokemon_found

prusswan avatar Aug 16 '16 08:08 prusswan

ran into this problem, too... I use followpath

chinkong83 avatar Aug 18 '16 19:08 chinkong83