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

Something wrong with 'moving towards fort'

Open leadboots5 opened this issue 10 years ago • 8 comments

Expected Behavior

It would move towards a fort. Spin it, then move towards a new one?

Actual Behavior

It moves towards(doesn't always get closer) a fort spins a fort and then continues moving towards the same fort? I think it may be hitting the same fort over and over again, but someone stripped the pokestop name out of the log. Here is a chunk of the log...

[15:10:22] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:10:36] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:10:55] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:11:04] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:11:10] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:11:19] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:11:27] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:11:44] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:11:53] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:12:14] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:12:23] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:12:33] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:12:51] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:13:30] Moving towards fort c913e37b9a054e9b8590c3bd3d8e08d0.16, 0.04km left [15:13:39] Moving towards fort c913e37b9a054e9b8590c3bd3d8e08d0.16, 0.04km left [15:13:48] Moving towards fort c913e37b9a054e9b8590c3bd3d8e08d0.16, 0.04km left [15:13:54] Arrived at pokestop. [15:13:55] Spinning ... [15:13:55] Loot: [15:13:55] 50 xp [15:13:56] - 3x Pokeball (Total: 78) [15:13:56] PokeStop on cooldown. Time left: 4 minutes, 59 seconds [15:14:03] -- Recycled 3x Pokeball (keeps only 75 maximum) [15:14:07] [x] Next egg incubates in 1.41 km [15:14:21] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:14:25] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:14:34] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:14:43] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:14:53] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:15:03] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:15:13] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:15:25] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:16:38] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.09km left [15:16:48] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.09km left [15:16:57] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:17:07] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:17:17] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:17:21] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:17:30] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:17:39] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:17:48] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:17:56] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:18:07] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:18:15] [x] Next egg incubates in 1.33 km [15:18:16] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:18:25] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:18:42] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:18:51] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:19:00] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:19:10] Moving towards fort c913e37b9a054e9b8590c3bd3d8e08d0.16, 0.04km left [15:19:26] Arrived at pokestop. [15:19:27] Spinning ... [15:19:27] Loot: [15:19:27] 50 xp [15:19:28] - 1x Revive (Total: 31) [15:19:28] - 1x Ultraball (Total: 40) [15:19:28] - 1x Pokeball (Total: 76) [15:19:28] PokeStop on cooldown. Time left: 4 minutes, 59 seconds [15:19:34] -- Recycled 1x Pokeball (keeps only 75 maximum) [15:19:35] -- Recycled 1x Revive (keeps only 30 maximum) [15:19:50] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:20:15] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:20:49] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:21:08] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:21:17] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:21:25] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:22:09] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:22:17] [x] Next egg incubates in 1.32 km [15:22:18] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:22:27] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:22:37] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:22:54] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:23:03] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:23:13] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:23:22] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:23:37] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:23:48] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.08km left [15:23:53] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:24:03] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:24:12] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:24:21] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:24:30] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:24:40] Arrived at pokestop. [15:24:41] Spinning ... [15:24:42] Loot: [15:24:42] 50 xp [15:24:42] - 3x Pokeball (Total: 78) [15:24:42] PokeStop on cooldown. Time left: 4 minutes, 59 seconds [15:24:53] -- Recycled 3x Pokeball (keeps only 75 maximum) [15:24:53] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:25:03] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:25:12] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:25:18] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:25:26] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.07km left [15:25:32] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:25:41] Session stale, re-logging in [15:25:41] Attempting login to Pokemon Go. [15:25:42] Login to Pokemon Go successful. [15:25:43] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:25:51] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:26:01] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:26:10] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.06km left [15:26:19] [x] Next egg incubates in 1.28 km [15:26:19] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:26:29] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:26:45] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:26:51] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:26:59] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.04km left [15:27:25] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:27:35] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:27:44] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left [15:27:54] Moving towards fort 7eaeaa34553e4570aeaaf7e6acdda01f.16, 0.05km left

Steps to Reproduce

"max_steps": 5,
"catch_pokemon": true,
"forts": {
  "spin": true,
  "avoid_circles": false,
  "max_circle_size": 10
},
"walk": 1.9,

Other Information

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

leadboots5 avatar Jul 29 '16 20:07 leadboots5

Same problem here. In my case the bot doesn't even reach the pokestop. It just kinda walks back and forth.

[22:37:00] [x] Next egg incubates in 1.75 km [22:37:01] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.20km left [22:37:08] [22:37:11] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.19km left [22:37:18] [22:37:20] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.19km left [22:37:23] [22:37:25] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.18km left [22:37:33] [22:37:36] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.17km left [22:37:44] [22:37:47] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.17km left [22:37:54] [22:37:56] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.16km left [22:38:03] [22:38:05] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.16km left [22:38:15] [22:38:18] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.16km left [22:38:25] [22:38:26] Walking from (40.781154532555746, -73.96713054007276) to [40.781427, -73.966728] 0.05km [22:38:29] [22:38:31] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.16km left [22:38:39] [22:38:41] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.15km left [22:38:47] [22:38:50] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.15km left [22:38:57] [22:38:59] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:39:07] [22:39:16] [22:39:18] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:39:24] [22:39:27] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:39:33] [22:39:36] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.13km left [22:39:43] [22:39:45] [x] Next egg incubates in 1.66 km [22:39:46] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.13km left [22:39:53] [22:39:55] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.12km left [22:40:02] [22:40:04] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.12km left [22:40:14] [22:40:19] [22:40:26] [22:40:30] [22:40:35] [22:40:40] [22:40:44] [22:40:49] [22:40:52] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:41:01] [22:41:03] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:41:10] [22:41:13] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.13km left [22:41:20] [22:41:22] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.13km left [22:41:30] [22:41:32] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.13km left [22:41:41] [22:41:46] [22:41:49] [22:41:53] [22:41:57] [22:42:02] [22:42:14] [22:42:17] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:42:24] [22:42:26] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:42:33] [22:42:35] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.14km left [22:42:45] [22:42:49] [22:42:55] [22:43:00] [22:43:11] [22:43:21] [22:43:24] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.15km left [22:43:31] [22:43:34] Moving towards fort 31df381c31fd4c88bd945279d2595150.16, 0.15km left [22:43:42] [22:43:46] [22:43:48] [x] Next egg incubates in 1.55 km

Also what's up with the empty lines?

Erody avatar Jul 29 '16 20:07 Erody

It does not really look like walking back and forth for me.. but it does look like it's walking in circles.. not that I can complain, it does its job perfectly.

I think there is a configuration issue here, something combined between walk, max_steps and the forts object.

lt-kraken avatar Jul 29 '16 20:07 lt-kraken

This seems to be related to the "avoid_circles" option because it was working fine before it was implemented. I also have it set to false and the bot is working weird as well. Will try true now. EDIT: Also for me it was not walking in circles, it was clearly walking back and forth. I had the web map open.

LostDGod avatar Jul 29 '16 21:07 LostDGod

Try to set the max circle value like this: "forts": { "spin": true, "avoid_circles": true, "max_circle_size": 5 },

I have no idea what it does, but when i lowered the value bot seems to spin pokestops more often/regulary

Yanush7 avatar Jul 29 '16 21:07 Yanush7

Just saying, but the default for max_circle_size is 50, not sure what effect it'll have having it at 5, think i'll experiment with that option soon :)

lt-kraken avatar Jul 29 '16 21:07 lt-kraken

I can just guess it is the number of last visited pokestops that bot remembers to avoid going back to recently visited pokestops. So it would go to 50 diferent pokestops before returning to the first one. But there is a big possibility that im wrong :)

Yanush7 avatar Jul 29 '16 21:07 Yanush7

@Yanush7 you are right https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files forts.max_circle_size 10 How many forts to keep in ignore list

To get the old behavior back you should set this value to 0

DimaVIII avatar Jul 30 '16 13:07 DimaVIII

Stepper and how it handles cells has gone through a lot of iteration so i'm going to close this as it's not relevant anymore. This could still be an issue, but it would need to be looked at under the newer code.

leadboots5 avatar Aug 03 '16 06:08 leadboots5