Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: 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=PATH\TO\PYTHON.EXE
- SET BranchPath="PATH\TO\POKEMONGO-MAP FOLDER"
- 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
- ::locale is the language output in your terminal, default is EN (english)
- SET GAPI=GAPI_KEY
- SET auth=AUTH_TYPE
- SET locale=EN
- SET username=USER
- SET password=PASS
- ::kill all python processes
- :Start
- echo Force closing all python processes....
- taskkill /IM python.exe /F
- echo Starting worker processes....
- ::title of this command window
- title Pokemon Go Map Manager
- ::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)
- echo Starting instance number 1...
- Start "Movable1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.336471, 18.039445" -st 5 -H 0.0.0.0 -P 5000 -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 2...
- Start "Movable2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3411525957, 18.0405032393" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 3...
- Start "Movable3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3383433793, 18.0479104485" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 4...
- Start "Movable4" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3336618417, 18.0468512776" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 5...
- Start "Movable5" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3317893923, 18.0383870518" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 6...
- Start "Movable6" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3345980705, 18.0309804831" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 7...
- Start "Movable7" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3392797363, 18.0320374996" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 8...
- Start "Movable8" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3458341794, 18.0415617699" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 9...
- Start "Movable9" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "59.3430293349, 18.0489661517" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 10...
- Start "Movable10" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3402152084, 18.0563768286" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 11...
- Start "Movable11" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3355376187, 18.0553220655" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 12...
- Start "Movable12" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3308522616, 18.0542563326" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 13...
- Start "Movable13" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3289797403, 18.0458017848" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 14...
- Start "Movable14" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3271077727, 18.0373293946" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 15...
- Start "Movable15" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3299119634, 18.0299275177" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 16...
- Start "Movable16" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.332724591, 18.022516898" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 17...
- Start "Movable17" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3374024476, 18.0235670645" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 18...
- Start "Movable18" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3420880504, 18.0246287763" -st 5 -ns -k %GAPI%
- ping 127.0.0.1 -n 6 > nul
- echo Starting instance number 19...
- Start "Movable19" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l "59.3439619409, 18.0330854159" -st 5 -ns -k %GAPI%
- ::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 127.0.0.1 -n 1801 > nul
- goto Start
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement