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

Bot stuck when going to pokestop

Open brantje opened this issue 10 years ago • 14 comments

Expected Behavior

Visit pokestop

Actual Behavior

It seems to be stuck

[18:05:00] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:00] Arrived at pokestop.
[18:05:01] Walking from (52.362811, 4.874941) to [52.363453831591436, 4.87519017666829] 0.07km
[18:05:03] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:04] Arrived at pokestop.
[18:05:04] Walking from (52.362811, 4.874941) to [52.36525383159144, 4.87519017666829] 0.27km
[18:05:11] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:11] Arrived at pokestop.
[18:05:19] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:19] Arrived at pokestop.
[18:05:24] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:24] Arrived at pokestop.
[18:05:31] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:31] Arrived at pokestop.
[18:05:36] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:36] Arrived at pokestop.
[18:05:43] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:43] Arrived at pokestop.
[18:05:48] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:48] Arrived at pokestop.
[18:05:55] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:05:56] Arrived at pokestop.
[18:06:01] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:06:01] Arrived at pokestop.
[18:06:08] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:06:08] Arrived at pokestop.
[18:06:13] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:06:13] Arrived at pokestop.
[18:06:20] Moving towards fort Columns Decoration on a Wall, 0.07km left
[18:06:21] Arrived at pokestop.
[18:06:33] Moving towards fort Rutsche, 0.09km left
[18:06:33] Arrived at pokestop.
[18:06:41] Moving towards fort Rutsche, 0.08km left
[18:06:41] Arrived at pokestop.
[18:06:45] Moving towards fort Rutsche, 0.08km left
[18:06:45] Arrived at pokestop.
[18:06:53] Moving towards fort Rutsche, 0.08km left
[18:06:53] Arrived at pokestop.
[18:06:57] Moving towards fort Rutsche, 0.08km left
[18:06:57] Arrived at pokestop.

Steps to Reproduce

Maybe when you set the bot to the same location

Other Information

OS: Linux Git Commit: 5639a2ea1ce5d87ff418946b88670d1cd88799dc

brantje avatar Jul 31 '16 16:07 brantje

I just had this as well. No idea what caused this but the commit I was using and OS below.

OS: Linux Git Commit: bdaddec9ee64691e5b0a8bda55bf76f83442232f

full config.json: https://gist.github.com/mattias/aa521ba9946d7286d3c997cf3f5426d7

mattias avatar Jul 31 '16 16:07 mattias

Show your task config

douglascamata avatar Jul 31 '16 16:07 douglascamata

had bot moving erratically as well

sgitkene avatar Jul 31 '16 16:07 sgitkene

#1885 and it was fixed some time ago but seems to be broken again.

sgitkene avatar Jul 31 '16 17:07 sgitkene

Probably it's Follow Spiral contending with Approach Pokestop.

sgitkene avatar Jul 31 '16 17:07 sgitkene

show config and logs from bot, including both start up report

douglascamata avatar Jul 31 '16 18:07 douglascamata

Seeing simular odd behavior, using default config file.

twaffle avatar Jul 31 '16 18:07 twaffle

Removing - "type: FollowSpiral" appears to fix it. Maybe add some threshold in the spiraling towards the Pokestop, and linearly walk when < x metres.

AstralVX avatar Jul 31 '16 18:07 AstralVX

I can confirm removing FollowSpiral fixed the issue for me as well.

psfaux avatar Jul 31 '16 18:07 psfaux

If i remove "type: FollowSpiral" i'm getting another error:

File "pokecli.py", line 494, in <module> main() File "pokecli.py", line 52, in main config = init_config() File "pokecli.py", line 124, in init_config load.update(json.load(data)) File "C:\Python27\lib\json\__init__.py", line 290, in load **kw) File "C:\Python27\lib\json\__init__.py", line 338, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Saeldur23 avatar Jul 31 '16 19:07 Saeldur23

@Saeldur23 your json is wrong

sgitkene avatar Jul 31 '16 19:07 sgitkene

@Saeldur23 did you also remove the enclosing { } and the previous comma?

lhung avatar Jul 31 '16 19:07 lhung

Ahhh, i feel dumb now. The comma it was :/

Saeldur23 avatar Jul 31 '16 19:07 Saeldur23

Already stated that this is configuration solved and solved through tweaking config.

douglascamata avatar Aug 01 '16 22:08 douglascamata