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=
- 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= AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4
- SET auth=
- SET username=
- SET password=
- SET thread=-t 1
- 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 5 -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.4611221897, -84.28708" -st 5 -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.4550600292, -84.2749005782" -st 5 -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.4429368395, -84.2749005782" -st 5 -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.4368746794, -84.2870777281" -st 5 -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.442935709, -84.2992556349" -st 5 -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.4550588986, -84.2992556349" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable8" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4732453793, -84.28708" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable9" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4671832185, -84.2748990625" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable10" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4611210579, -84.262718883" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable11" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4489978682, -84.262718883" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable12" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4368746786, -84.262718883" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable13" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4308125186, -84.274895276" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable14" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4247503588, -84.2870709122" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable15" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4308113887, -84.2992473051" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable16" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4368724184, -84.3114244546" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable17" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.448995608, -84.3114244546" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable18" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4611187977, -84.3114244546" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable19" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4671798267, -84.2992435175" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable20" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.485368569, -84.28708" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable21" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4793064079, -84.2748975458" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable22" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.473244247, -84.2627158502" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable23" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4671820862, -84.2505349128" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable24" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4550588966, -84.2505349128" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable25" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4429357069, -84.2505349128" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable26" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4308125173, -84.2505349128" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable27" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4247503574, -84.2627105491" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable28" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4186881978, -84.2748854289" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable29" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4126260382, -84.2870595525" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable30" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4186870683, -84.2992344322" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable31" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4247480983, -84.3114100682" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable32" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4308091282, -84.3235864608" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable33" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4429323178, -84.3235864608" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable34" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4550555075, -84.3235864608" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable35" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4671786971, -84.3235864608" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable36" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.473239726, -84.3114047657" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable37" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "30.4793007548, -84.2992223122" -st 5 -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 127.0.0.1 -n 1801 > nul
- goto start
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement