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

[Crash] randomly every 30 minutes around

Open rednka opened this issue 10 years ago • 4 comments

Hi , first I apologize for spelling , I use Google Translate for talking. Specifically I have an issue with PokemonGoBot when I run the script everything works , it captures me the Pokemon / pokéstop , walking & other .

But to get to a certain stage ( known to date) the script crash , forced to restart it's pretty annoying knowing that I would like it to work at night while I sleep for example.

I'm not really able to tell you what time it crash, being given that there is no record log.txt on my computer , it looks to be truly random .. Thanks in advance good job !

rednka avatar Jul 26 '16 21:07 rednka

@MeGaPk posted a good workaround for this: https://github.com/PokemonGoF/PokemonGo-Bot/issues/948#issuecomment-235229012

buettner123 avatar Jul 26 '16 22:07 buettner123

Hello, thanks for the return, i have creating a start.bat with this content :+1: @echo off :begin python pokecli.py goto begin

do you think if this .bat restarting the bot after a crash ? i appreciate your help, thanks !

EDIT : sorry for this duplicate issue, i'm new on github.

rednka avatar Jul 26 '16 22:07 rednka

@rednka That should work. If not, please use @MeGaPk's batch script:

For windows, you need create file in folder where "pokecli.py" with name, for example start.bat with this data:

@echo off
:begin
python2 pokecli.py
goto begin

AdaptCharm avatar Jul 27 '16 01:07 AdaptCharm

The script wasn't crash this night, thanks, but i have rename "python2" by "python" in this start.bat to work, thanks have a nice day !

rednka avatar Jul 27 '16 08:07 rednka