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

Multi Bot

Open jimmyruann opened this issue 10 years ago • 4 comments

Is there an easier way to do multi bots? I did screen and python pokecli.py --config ./configs/config1.json then i start another terminal and did the same thing but with config2.json. This method works but it's kinder confusing because when i'm back from afking i won't know which is which.

Other Information

OS: Ubuntu 14.04 LTS

jimmyruann avatar Jul 30 '16 11:07 jimmyruann

maybe set name for each screen? screen -S name

vanrzuf avatar Jul 30 '16 11:07 vanrzuf

I use docker to do that. Much more scalable.

avallete avatar Jul 30 '16 11:07 avallete

My current solution:

screen -S bots -c screenscript

screenscript: layout save default screen bot1.sh split -v focus screen bot2.sh split focus screen bot3.sh

each bot.sh executes "python pokecli.py -cf configs/config.json -u ... -p ... " i use a global config and overwrite it iside the bot.sh with bot specific settings.

later you can detach ctrl+a d, and retatch always using screen -r bots

Hansimausi1984 avatar Jul 30 '16 13:07 Hansimausi1984

Can someone please explain the docker part?

jimmyruann avatar Jul 30 '16 22:07 jimmyruann