Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Set PythonPath to where your Python is installed, Typically C:\Python27\Python.exe
- :: Set BranchPath to where you have the Pokemon Live Map folder
- SET PythonPath= C:\Python27\Python.exe
- SET BranchPath= C:\Users\x\Desktop\PokemonGo-Map-develop
- SET Executable=runserver.py
- ::GAPI is your google map api key
- ::auth is the authentication service you are using. PTC or Google
- ::Self explanatory, username of the chosen auth service
- ::again.. do i need to explain? password of chosen auth
- ::Threads default is 1, if you want more, change it here.. 1 is recommended until multithreading is fixed in windows.
- ::locale is the language output in your terminal, default is EN (english)
- SET GAPI= AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHqxxxxxx
- SET auth= ptc
- SET username= xxxx
- SET password= xx
- SET thread=-t 2
- SET locale=EN
- ::kill all python processes
- taskkill /IM python.exe /F
- echo Starting worker processes....
- ::title of this command window
- title Pokemon Go Map
- ::paste the second column of colors here, down to the last space of the color you wanted. Pink = 1 Leap, Purple - 2 Leaps, Blue = 3 Leaps, Green = 4 Leaps, and Yellow = 5 Leaps. The amount of workers required gets silly after 5 Leaps :P)
- Start "Movable1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.448999, -84.28708" -st 7 -H 0.0.0.0 -P 5000 -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.466510274, -84.28708" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4577534566, -84.2694870156" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable4" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4402421826, -84.2694870156" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable5" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4314853664, -84.28707526" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable6" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4402398242, -84.3046650835" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable7" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4577510982, -84.3046650835" -st 7 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- ::this part is the time it will pause till going back to the start again to restart the servers (edit the 1801 to change the delay in seconds)
- echo Waiting 30 minutes to restart all processes
- ping 0.0.0.0 -n 1801 > nul
- goto start
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement