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

Bot stops responding after ~10 minutes

Open Z3r0byte opened this issue 10 years ago • 18 comments

The bot stops encountering any pokemon after ~10 minutes and a few minutes later it stops walking. Its still doing the output of the stats. I've had this issue multiple times.

EDIT: I have this issue on both master and dev branch.


2016-08-17 17:24:17,318 [ SpinFort] [INFO] [spun_pokestop] Spun pokestop Santa Monica Clocktower. Experience awarded: 50. Items awarded: {u'Pokeball': 2, u'Greatball': 1}
2016-08-17 17:24:19,396 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.10km
2016-08-17 17:24:21,375 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.10km
2016-08-17 17:24:23,496 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.10km
2016-08-17 17:24:25,608 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.10km
2016-08-17 17:24:27,305 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.09km
2016-08-17 17:24:29,251 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.09km
2016-08-17 17:24:30,755 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.08km
2016-08-17 17:24:41,158 [UpdateLiveStats] [INFO] [log_stats] NblablaR | Uptime : 0:10:42 | Earned 1,600 Stardust | +2,920 XP | 16,385 XP/h | Visited 13 stops
2016-08-17 17:24:45,131 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 2.25 km
2016-08-17 17:24:50,439 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Puma Statue - 0.08km
Stops working here
2016-08-17 17:25:14,156 [UpdateLiveStats] [INFO] [log_stats] NblablaR | Uptime : 0:11:15 | Earned 1,600 Stardust | +2,920 XP | 15,584 XP/h | Visited 13 stops
2016-08-17 17:25:47,040 [UpdateLiveStats] [INFO] [log_stats] NblablaR | Uptime : 0:11:47 | Earned 1,600 Stardust | +2,920 XP | 14,859 XP/h | Visited 13 stops

Z3r0byte avatar Aug 17 '16 16:08 Z3r0byte

Can you tell where it is not responding anymore? it creates a new line every ~5-10secs?

The problem i have is, that it stops running and doesnt respond anymore (no new log-lines and not running anymore). I can fix it by typing a spacebar or any key to the cmdline (Win10). Cant provide any logs right now, will do it when it happens next time.

EDIT:

2016-08-17 19:54:17,318 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Eevee appeared! [CP 44] [Potential 0.64] [A/D/S 15/1/13] 2016-08-17 19:54:20,223 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 96.16 (175 left) 2016-08-17 19:54:20,661 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Eevee! [CP 44] [Potential 0.64] [15/1/13] [+150 exp] 2016-08-17 19:54:21,109 [PokemonCatchWorker] [INFO] [gained_candy] You now have 24 Eevee candy! 2016-08-17 19:54:26,127 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop ######### - 0.05km

--AFTER 5 MINUTES IDLING CTRL-C--

2016-08-17 19:58:32,756 [PokemonGoBot] [INFO] [bot_interrupted] Bot caught SIGINT. Shutting down. 2016-08-17 19:58:33,072 [ cli] [INFO] 2016-08-17 19:58:33,073 [ cli] [INFO] Ran for 0:06:59 2016-08-17 19:58:33,075 [ cli] [INFO] Total XP Earned: 1050 Average: 9020.06/h 2016-08-17 19:58:33,078 [ cli] [INFO] Travelled 0.02km 2016-08-17 19:58:33,081 [ cli] [INFO] Visited 4 stops 2016-08-17 19:58:33,085 [ cli] [INFO] Encountered 6 pokemon, 6 caught, 5 released, 0 evolved, 0 never seen before 2016-08-17 19:58:33,094 [ cli] [INFO] Threw 6 pokeballs 2016-08-17 19:58:33,098 [ cli] [INFO] Earned 600 Stardust 2016-08-17 19:58:33,102 [ cli] [INFO] 2016-08-17 19:58:33,104 [ cli] [INFO] Highest CP Pokemon: Spearow [CP: 59] [IV: 5/5/8] Potential: 0.4 2016-08-17 19:58:33,108 [ cli] [INFO] Most Perfect Pokemon: Eevee [CP: 45] [IV: 15/14/4] Potential: 0.73

MiniWire avatar Aug 17 '16 17:08 MiniWire

@MiniWire I updated my post. EDIT: Looks like we're having the same issue.

Z3r0byte avatar Aug 17 '16 18:08 Z3r0byte

@Z3r0byte Now I see, I still haven't found out why. But it behaves quite differntly as it seems, My problem occurs on 2 different Windows 10 machines. Yours is atleast calling UpdateLiveStats.

MiniWire avatar Aug 17 '16 18:08 MiniWire

@MiniWire I'm using Ubuntu, so its not platform specific.

Z3r0byte avatar Aug 17 '16 18:08 Z3r0byte

@Z3r0byte I would like to debug things, but I'm a newbie in Python. Problem occured for me since the first versions of the bot, but thought that would be a problem related with my connection/Windows10.

MiniWire avatar Aug 17 '16 18:08 MiniWire

Mine stops after 30 mins

Faithu avatar Aug 17 '16 19:08 Faithu

Same here. Mine stops after 8 ~ 10 mins

bimahp avatar Aug 17 '16 19:08 bimahp

Check amount of pokestops on your UI map. Maybe all of them cached and bot just stand still? I got this situation once cause only few pokestops on botting area. Bot already visited all of them and put them into cache and was standing on same spot without single move.

sohje avatar Aug 17 '16 21:08 sohje

@sohje Naw its on it's way to a pokestop and then just stops doesn't turn up to the pokestop

Faithu avatar Aug 17 '16 22:08 Faithu

@sohje How do I enable that UImap? And I'm botting in LA, so there are enough pokestops :)

Z3r0byte avatar Aug 18 '16 06:08 Z3r0byte

do you have the never_catch flag active?

tomorrowplusone avatar Aug 18 '16 08:08 tomorrowplusone

@tomorrowplusone Nope, iets configured tot catch all pokémon

Z3r0byte avatar Aug 18 '16 09:08 Z3r0byte

I just ran my bot on a debian x86_64 machine with python-dev. It ran 8 hrs without hanging up. Maybe our problem has to do with the python version? But I could also be completely wrong, just saying.

MiniWire avatar Aug 18 '16 09:08 MiniWire

I just noticed the bot stopper after it logged about ten times it found two lured pokemon. That was the only thing it logged. Then it just hang

Z3r0byte avatar Aug 18 '16 10:08 Z3r0byte

i disabled liveStats and bot running fine for 8+ hours, dunno if its the problem

bimahp avatar Aug 18 '16 10:08 bimahp

l found this problem about 2 weeks ago, but l found that although there are no new lines, the bot is still running after some mins.

dextercai avatar Aug 18 '16 12:08 dextercai

@Z3r0byte please update your OP with the detail requested in the issue template so that the proper assistance can be provided

k4n30 avatar Aug 18 '16 13:08 k4n30

Just wanted to add that it works on Debian fine, but still idles on Windows10 after a random time with the same config(sometimes minutes, sometimes hours; no network disconnect or anything related to standby/energysaving) . I suppose that it has something to do with Python itself or the encrypt lib?

MiniWire avatar Aug 19 '16 01:08 MiniWire