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:\PogoMap"
- SET Executable="C:\PogoMap\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=ptc
- 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 "-26.1707978103, 152.66564" -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 "-26.1768589324, 152.677338865" -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 "-26.1889821221, 152.677338865" -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 "-26.1950432437, 152.665638174" -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 "-26.1889811757, 152.653938091" -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 "-26.1768579861, 152.653938091" -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 "-26.1586746207, 152.66564" -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 "-26.164735743, 152.677337649" -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 "-26.1707968652, 152.689035906" -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 "-26.1829200548, 152.689035906" -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 "-26.1950432445, 152.689035906" -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 "-26.201104366, 152.677334606" -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 "-26.2071654875, 152.665632696" -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 "-26.2011034192, 152.653931396" -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 "-26.1950413511, 152.642230704" -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 "-26.1829181614, 152.642230704" -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 "-26.1707949718, 152.642230704" -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 "-26.1647329043, 152.653928353" -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 "-26.146551431, 152.66564" -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 "-26.1526125536, 152.677336433" -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 "-26.158673676, 152.689033475" -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 "-26.1647347983, 152.700731124" -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 "-26.176857988, 152.700731124" -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 "-26.1889811776, 152.700731124" -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 "-26.2011043673, 152.700731124" -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 "-26.2071654887, 152.689029214" -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 "-26.21322661, 152.677326695" -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 "-26.2192877312, 152.665623566" -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 "-26.2132256627, 152.653921047" -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 "-26.2071635943, 152.642219137" -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 "-26.2011015261, 152.630517837" -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 "-26.1889783364, 152.630517837" -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 "-26.1768551467, 152.630517837" -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 "-26.1647319571, 152.630517837" -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 "-26.1586698897, 152.642214878" -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 "-26.1526078225, 152.653911311" -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 "35.7307377983, 139.722859332" -st 5 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable38" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7489490668, 139.735754" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable39" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7428804896, 139.748702841" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable40" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7368119126, 139.761650695" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable41" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7307433358, 139.774597562" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable42" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7246747591, 139.787543443" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable43" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7125389924, 139.787543443" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable44" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.7004032257, 139.787543443" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable45" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.688267459, 139.787543443" -st 10 -ns -k %GAPI% -L %locale% %thread%
- ping 127.0.0.1 -n 6 > nul
- Start "Movable46" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.6761316923, 139.787543443" -st 10 -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