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

[Suggestion] Auto-restart and sleep mode

Open Pyrofer opened this issue 10 years ago • 5 comments

Expected Behavior

After unhandled server output/crash restart by logging in again. Possible delay for login so as not to spam the servers

Sleep timer so it doesn't hunt 24/7 to avoid detection. Maybe only hunt for 8 hours of a day or always sleep during certain hours

Actual Behavior

N/A

Steps to Reproduce

N/A

Other Information

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

Pyrofer avatar Jul 28 '16 11:07 Pyrofer

read the wiki in section restarting bot, and softban, I think it's already clear ?

ericksuryadinata avatar Jul 28 '16 11:07 ericksuryadinata

duplicate of #643, maybe fixed in #701

it's not the bot who need tweaking: the operator (you) is the one that needs to be clever enough to avoid botting for 8 hours at ludicrous speed...

ironbishop avatar Jul 28 '16 13:07 ironbishop

The script there is for Mac. I think the best setup would currently be a docker container that automatically restarts. As for myself, I'll probably use a shell script that checks for running screen sessions. A prerequisite is that the bot needs to terminate. I have no idea wether the expiring login token is still a thing, the bot did not stop in this event, rendering my approach useless. A health check would fix this, maybe that is already implemented, would be very interesting to know.

ferbeb avatar Jul 28 '16 13:07 ferbeb

you guys overthink. just write pokecli.py ; sleep 10m ; pokecli.py ; sleep 10m ; pokecli.py ; sleep 10m ; pokecli.py ; sleep 10m ; pokecli.py ; sleep 10m ; ... ^_^

ironbishop avatar Jul 28 '16 13:07 ironbishop

Duplicate of https://github.com/PokemonGoF/PokemonGo-Bot/issues/643

/closed

AdaptCharm avatar Jul 28 '16 22:07 AdaptCharm