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

[DEV] Bot is travelling ridiculously slow, further away and missing pokestops

Open AlexBailey opened this issue 10 years ago • 33 comments

The Dev bot is walking ridiculously slow in some cases (possibly left to right, but at the same speed, as this is measured by distance to the set pokestop?) and sometimes even just walks past the pokestop completely and heads to another instead? I'm on the latest release.

[20:17:00] Moving towards fort West India Quay DLR Station, 0.06km left [20:17:05] Moving towards fort West India Quay DLR Station, 0.06km left [20:17:18] Moving towards fort West India Quay DLR Station, 0.06km left [20:17:21] Moving towards fort West India Quay DLR Station, 0.06km left [20:17:33] Moving towards fort West India Quay DLR Station, 0.06km left [20:17:51] Moving towards fort West India Quay DLR Station, 0.07km left [20:17:54] Moving towards fort West India Quay DLR Station, 0.06km left [20:18:02] Moving towards fort West India Quay DLR Station, 0.06km left [20:18:14] Moving towards fort West India Quay DLR Station, 0.07km left [20:18:23] Moving towards fort West India Quay DLR Station, 0.07km left [20:18:35] Moving towards fort West India Quay DLR Station, 0.08km left [20:18:42] Moving towards fort West India Quay DLR Station, 0.08km left [20:18:44] [x] Next egg incubates in 4.36 km [20:18:55] Moving towards fort West India Quay DLR Station, 0.08km left [20:19:07] Moving towards fort West India Quay DLR Station, 0.09km left [20:19:19] Moving towards fort West India Quay DLR Station, 0.10km left [20:19:27] Moving towards fort West India Quay DLR Station, 0.10km left [20:19:35] Moving towards fort West India Quay DLR Station, 0.09km left [20:19:48] Moving towards fort West India Quay DLR Station, 0.10km left [20:19:55] Moving towards fort West India Quay DLR Station, 0.10km left [20:20:03] Moving towards fort West India Quay DLR Station, 0.10km left [20:20:20] Moving towards fort West India Quay DLR Station, 0.10km left [20:20:32] Moving towards fort West India Quay DLR Station, 0.10km left [20:20:45] Moving towards fort West India Quay DLR Station, 0.11km left [20:20:57] Moving towards fort West India Quay DLR Station, 0.11km left [20:21:09] Moving towards fort West India Quay DLR Station, 0.11km left [20:21:22] Moving towards fort Strange Purple Sculpture, 0.12km left [20:21:30] Moving towards fort Strange Purple Sculpture, 0.11km left [20:21:38] Moving towards fort Strange Purple Sculpture, 0.09km left [20:21:41] Walking from (51.508181797941496, -0.02132928682461375) to [51.508173448174894, -0.019475690805081554] 0.13km [20:21:46] Moving towards fort Strange Purple Sculpture, 0.09km left [20:21:54] Moving towards fort Strange Purple Sculpture, 0.09km left [20:22:07] Moving towards fort Strange Purple Sculpture, 0.09km left [20:22:15] Moving towards fort Strange Purple Sculpture, 0.09km left [20:22:31] Moving towards fort Strange Purple Sculpture, 0.10km left [20:22:41] Moving towards fort Strange Purple Sculpture, 0.10km left [20:22:43] [x] Next egg incubates in 4.27 km [20:22:44] Moving towards fort Strange Purple Sculpture, 0.10km left [20:22:56] Moving towards fort Strange Purple Sculpture, 0.10km left [20:23:04] Moving towards fort Strange Purple Sculpture, 0.10km left [20:23:21] Moving towards fort Strange Purple Sculpture, 0.11km left [20:23:33] Moving towards fort Strange Purple Sculpture, 0.11km left [20:23:41] Moving towards fort Strange Purple Sculpture, 0.11km left [20:23:49] Moving towards fort Strange Purple Sculpture, 0.11km left [20:23:57] Moving towards fort Strange Purple Sculpture, 0.11km left [20:24:10] Moving towards fort Strange Purple Sculpture, 0.11km left [20:24:17] Moving towards fort Strange Purple Sculpture, 0.11km left [20:24:25] Moving towards fort Strange Purple Sculpture, 0.11km left [20:24:37] Moving towards fort Strange Purple Sculpture, 0.12km left [20:24:50] Moving towards fort Strange Purple Sculpture, 0.12km left [20:25:02] Moving towards fort Strange Purple Sculpture, 0.12km left [20:25:10] Moving towards fort Strange Purple Sculpture, 0.12km left [20:25:23] Moving towards fort Former White Horse Pub Sign, 0.13km left [20:25:31] Moving towards fort Former White Horse Pub Sign, 0.12km left [20:25:48] Moving towards fort Former White Horse Pub Sign, 0.13km left [20:26:00] Moving towards fort Former White Horse Pub Sign, 0.13km left [20:26:08] Moving towards fort Former White Horse Pub Sign, 0.13km left [20:26:25] Moving towards fort Will Crooks Estate, 0.13km left [20:26:42] Moving towards fort Will Crooks Estate, 0.13km left [20:26:44] [x] Next egg incubates in 4.20 km [20:26:50] Moving towards fort Will Crooks Estate, 0.12km left [20:26:58] Moving towards fort Will Crooks Estate, 0.11km left [20:27:14] Moving towards fort Will Crooks Estate, 0.11km left [20:27:26] Moving towards fort Will Crooks Estate, 0.11km left [20:27:39] Moving towards fort Will Crooks Estate, 0.12km left [20:27:52] Moving towards fort Will Crooks Estate, 0.12km left [20:28:00] Moving towards fort Poplar Station, 0.12km left [20:28:03] Walking from (51.50815980303424, -0.0194107861105448) to [51.50637344817489, -0.019475690805081554] 0.20km [20:28:08] Moving towards fort Poplar Station, 0.12km left [20:28:20] Moving towards fort Poplar Station, 0.11km left [20:28:33] Moving towards fort Poplar Station, 0.11km left [20:28:41] Moving towards fort Poplar Station, 0.10km left [20:28:53] Moving towards fort Poplar Station, 0.10km left [20:29:08] Moving towards fort Poplar Station, 0.10km left [20:29:20] Moving towards fort Poplar Station, 0.09km left [20:29:28] Moving towards fort Poplar Station, 0.09km left [20:29:45] Moving towards fort West India Quay DLR Station, 0.10km left [20:29:57] Moving towards fort West India Quay DLR Station, 0.08km left [20:30:09] Moving towards fort West India Quay DLR Station, 0.07km left [20:30:17] Moving towards fort West India Quay DLR Station, 0.07km left [20:30:31] Moving towards fort West India Quay DLR Station, 0.06km left [20:30:34] Moving towards fort West India Quay DLR Station, 0.05km left [20:30:46] Moving towards fort West India Quay DLR Station, 0.05km left [20:30:48] [x] Next egg incubates in 4.05 km [20:30:59] Moving towards fort West India Quay DLR Station, 0.04km left [20:31:07] Now at Pokestop: West India Quay DLR Station [20:31:07] Spinning ... [20:31:07] Loot:
[20:31:07] 50 xp [20:31:08] - 3x Pokeball (Total: 53) [20:31:08] PokeStop on cooldown. Time left: 4 minutes, 59 seconds

AlexBailey avatar Jul 31 '16 19:07 AlexBailey

Please try switching MoveToFort and SpinFort tasks, I think I found the problem but need validation

klingan avatar Jul 31 '16 19:07 klingan

@klingan By switching, do you literally mean to replace MoveToFort with SpinFort and SpinFort to where MoveToFort was?

AlexBailey avatar Jul 31 '16 19:07 AlexBailey

yes, so it executes MoveToFort first and then tries to SpinFort

klingan avatar Jul 31 '16 19:07 klingan

I have the same problem, but it seems that mine is just following a spiral and not pathing towards pokestops at all.

captainmustard avatar Jul 31 '16 19:07 captainmustard

@klingan Ok, I've done that and saved the config and ran it again - it did not solve the problem, here's what I've got:

[20:47:06] Moving towards fort Canary Wharf Clocks, 0.05km left [20:47:14] Moving towards fort Canary Wharf Clocks, 0.05km left [20:47:22] Moving towards fort Canary Wharf Clocks, 0.05km left [20:47:35] Moving towards fort Canary Wharf Clocks, 0.06km left [20:47:42] Moving towards fort Canary Wharf Clocks, 0.06km left [20:47:50] Moving towards fort Canary Wharf Clocks, 0.06km left [20:47:58] Moving towards fort Canary Wharf Clocks, 0.06km left [20:48:11] Moving towards fort Canary Wharf Clocks, 0.06km left [20:48:19] Moving towards fort Canary Wharf Clocks, 0.07km left

Nothing seems to have changed at all

AlexBailey avatar Jul 31 '16 19:07 AlexBailey

having the same issue. also, when removing followspiral task its not moving at all

jayhostan avatar Jul 31 '16 19:07 jayhostan

same here, removing followspiral causes nothing to move. swapping movetofort and spinfort changed nothing

captainmustard avatar Jul 31 '16 19:07 captainmustard

Hmm, ok, back to the drawing board :( Must have been coincidal then.

klingan avatar Jul 31 '16 19:07 klingan

Is it basically having a hard time determining which location is closer when the distances are similar so it keeps dancing between the two or three?

WillM88 avatar Jul 31 '16 20:07 WillM88

The issue seems to be that it will always go to the closer location, but sometimes these change because of the human walking. I'm going to try to make the decision of walking toward fort x final. No changing it's mind until it reaches it. That should fix it.

MatthewBCooke avatar Jul 31 '16 20:07 MatthewBCooke

whats happened just now:

[21:00:50] Moving towards fort Royal Arcade, 0.05km left [21:00:53] Walking from (51.50860284129672, -0.14139971011091698) to [51.50675269791626, -0.14138983275818395] 0.21km [21:00:58] Moving towards fort Royal Arcade, 0.05km left [21:01:10] Moving towards fort Royal Arcade, 0.05km left [21:01:18] Moving towards fort Royal Arcade, 0.06km left [21:01:31] Moving towards fort Royal Arcade, 0.06km left [21:01:39] Moving towards fort Royal Arcade, 0.06km left

so the little guy is right next to that fort. this went on for 3 mins! changing btween 0.05 - 0.06

then: an other event kicked in , this case egg hatched. right after that:

[21:03:54] [x] Now incubating a 5.0km egg [21:04:01] Moving towards fort Royal Arcade, 0.05km left [21:04:05] Moving towards fort Royal Arcade, 0.04km left [21:04:13] Arrived at pokestop. [21:04:13] Now at Pokestop: Royal Arcade

so seems like an event can break the confusion

jayhostan avatar Jul 31 '16 20:07 jayhostan

Just noticed that sometimes suddenly nearest_fort is None Further debugging

klingan avatar Jul 31 '16 20:07 klingan

#2124 see this issue. maybe bag is full? turn off FollowSpiral in config, make sure you have a non full bag.

sgitkene avatar Jul 31 '16 20:07 sgitkene

[16:28:15] MoveToForWorker executed [16:28:15] I have space for loot? True [16:28:15] I am softbanned? False [16:28:15] Nearest fort: 648b964360ff428c9df11475f42bd2e2.12 [16:28:15] MoveToFortWorker: dist = 48.8493286389 [16:28:15] Moving towards fort Hendrik en Katrien(648b964360ff428c9df11475f42bd2e2.12), 48.85m left [16:28:19] Returning RUNNING [16:28:19] Worker <pokemongo_bot.cell_workers.move_to_fort.MoveToFort object at 0x392b0d0> returned RUNNING [16:28:20] Counting items: {1: 92, 2: 25, 3: 45, 101: 10, 102: 20, 103: 30, 201: 30, 401: 7, 501: 5, 701: 16, 901: 1} [16:28:20] Something rustles nearby! [16:28:26] MoveToForWorker executed [16:28:26] I have space for loot? True [16:28:26] I am softbanned? False [16:28:26] Nearest fort: 648b964360ff428c9df11475f42bd2e2.12 [16:28:26] MoveToFortWorker: dist = 45.8234891096 [16:28:26] Moving towards fort Hendrik en Katrien(648b964360ff428c9df11475f42bd2e2.12), 45.82m left [16:28:29] Returning RUNNING [16:28:29] Worker <pokemongo_bot.cell_workers.move_to_fort.MoveToFort object at 0x392b0d0> returned RUNNING [16:28:30] [x] Next egg incubates in 0.20 km [16:28:31] Counting items: {1: 92, 2: 25, 3: 45, 101: 10, 102: 20, 103: 30, 201: 30, 401: 7, 501: 5, 701: 16, 901: 1} [16:28:31] Something rustles nearby! [16:28:37] MoveToForWorker executed [16:28:37] I have space for loot? True [16:28:37] I am softbanned? False [16:28:37] Nearest fort: 648b964360ff428c9df11475f42bd2e2.12 [16:28:37] MoveToFortWorker: dist = 41.2109048929 [16:28:37] Moving towards fort Hendrik en Katrien(648b964360ff428c9df11475f42bd2e2.12), 41.21m left [16:28:40] Returning RUNNING [16:28:40] Worker <pokemongo_bot.cell_workers.move_to_fort.MoveToFort object at 0x392b0d0> returned RUNNING [16:28:42] Counting items: {1: 92, 2: 25, 3: 45, 101: 10, 102: 20, 103: 30, 201: 30, 401: 7, 501: 5, 701: 16, 901: 1} [16:28:42] MoveToForWorker executed [16:28:42] I have space for loot? True [16:28:42] I am softbanned? False [16:28:42] Now at 50.9297995389,5.33767871589. 35.5763846127 to go [16:28:47] Counting items: {1: 92, 2: 25, 3: 45, 101: 10, 102: 20, 103: 30, 201: 30, 401: 7, 501: 5, 701: 16, 901: 1} [16:28:47] Something rustles nearby! [16:28:53] MoveToForWorker executed [16:28:53] I have space for loot? True [16:28:53] I am softbanned? False [16:28:53] Nearest fort: 648b964360ff428c9df11475f42bd2e2.12 [16:28:53] MoveToFortWorker: dist = 45.205034017 [16:28:53] Moving towards fort Hendrik en Katrien(648b964360ff428c9df11475f42bd2e2.12), 45.21m left [16:29:00] Returning RUNNING [16:29:00] Worker <pokemongo_bot.cell_workers.move_to_fort.MoveToFort object at 0x392b0d0> returned RUNNING

klingan avatar Jul 31 '16 20:07 klingan

[16:28:42] Now at 50.9297995389,5.33767871589. 35.5763846127 to go line indicates the spiral worker was executed.

klingan avatar Jul 31 '16 20:07 klingan

@sgitkene Yeah, my bag isn't full... I can't see how this is linked as a possible solution either?

[21:27:48] Pokemon Bag: 122/250 [21:27:48] Items: 79/350

AlexBailey avatar Jul 31 '16 20:07 AlexBailey

@AlexBailey if bag is full, MoveToFort isnt executed.

klingan avatar Jul 31 '16 20:07 klingan

@klingan Gotcha! My apologies @sgitkene - The hunt for our solution continues...

AlexBailey avatar Jul 31 '16 20:07 AlexBailey

then something should be implemented to clean up bag at this point?

jayhostan avatar Jul 31 '16 20:07 jayhostan

well, it will move through the tasks again and run the Recycle worker which cleans up your bag However, if your item limits are too high it will still be full, but thats another issue and doesnt belong here :)

klingan avatar Jul 31 '16 20:07 klingan