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=
- 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=
- SET auth=
- SET username=
- SET username1=
- SET username2=
- SET username3=
- SET password=
- SET thread=-t 5
- SET locale=JP
- ::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)
- echo Starting instance number 1...
- Start "Movable1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.071807,7.653914 -st 4 -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 45.0783982999,7.65468127779 -st 4 -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 45.0746315468,7.66235373759 -st 4 -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 45.0680402942,7.66158562837 -st 4 -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 45.0652156874,7.65314689857 -st 4 -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 %username2% -p %password% -l 45.0689818282,7.64547509387 -st 4 -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 %username2% -p %password% -l 45.0755731879,7.6462413638 -st 4 -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