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

Pokemon appear non-stop with new config

Open boriss579 opened this issue 10 years ago • 4 comments

Expected Behavior

If a Pokémon don't meet the config catch parameter the bot should ignore it after the first encounter and stop showing it. I'm not sure if this is a bug, or something to improve - or maybe it is just how the bot work and show info and there is no problem here :)

Actual Behavior

[00:44:52] Scanning area for objects.... [00:44:52] Walking from (32.096465, 34.773278) to (32.098965, 34.773278) 0.28km [00:44:55] Something rustles nearby! [00:44:55] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:44:55] IV [Stamina/Attack/Defense] = [3/8/10] [00:44:59] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:44:59] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:01] Scanning area for objects.... [00:45:01] Walking from (32.096520823312055, 34.77328575620386) to (32.098965, 34.773278) 0.27km [00:45:05] Something rustles nearby! [00:45:05] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:05] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:09] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:09] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:12] Scanning area for objects.... [00:45:12] Walking from (32.09657343017679, 34.77330979501811) to (32.098965, 34.773278) 0.27km [00:45:16] Something rustles nearby! [00:45:16] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:16] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:20] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:20] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:22] Scanning area for objects.... [00:45:22] Walking from (32.09660297524416, 34.7733328461097) to (32.098965, 34.773278) 0.26km [00:45:26] Something rustles nearby! [00:45:26] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:26] IV [Stamina/Attack/Defense] = [3/8/10] [00:45:29] A Wild Magnemite appeared! [CP 101] [Potential 0.47] [00:45:29] IV [Stamina/Attack/Defense] = [3/8/10]

Steps to Reproduce

Just change config to something like "catch": { "any": {"catch_above_cp": 1000, "catch_above_iv": 0.85, "logic": "or"}

Other Information

OS: Git Commit: 32cefeed4760d6b5d2b3eb76d783d0f13d068e83

boriss579 avatar Jul 25 '16 21:07 boriss579

Add: Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

fredrik-hellmangroup avatar Jul 25 '16 22:07 fredrik-hellmangroup

Since the bot is configured not to capture that Pokemon, it sees it every iteration as long as you are in range. We need to adjust the order so it only outputs to console if it plans to capture it.

SteffanLong avatar Jul 25 '16 22:07 SteffanLong

OK, so you can close. Thanks.

boriss579 avatar Jul 25 '16 22:07 boriss579

SO HOW DO WE FIX THIS??

JohnnyOmm avatar Jul 28 '16 17:07 JohnnyOmm