Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :start
- SET PythonPath=C:\Python27\python.exe
- SET BranchPath=C:\Users\Chris\Desktop\PokemonGo-Map-develop2
- SET Executable=runserver.py
- SET GAPI=*
- SET auth=google
- SET username=*
- SET password=*
- SET locale=EN
- echo off
- cls
- ::kill all python processes
- taskkill /IM python.exe /F
- echo %time% Starting worker processes...
- title Pokemon Go Map
- ::ping commands are to set a delay between opening all the servers, -n 2 = 1 second (2 pings total)
- :: if -st 10 then 4.9283 km, 1.425 km, 2.468175 km, 2.85 km -- http://www.sunearthtools.com/tools/distance.php -- https://github.com/AHAAAAAAA/PokemonGo-Map/wiki/How-to-cover-a-wider-area-with-multiple-searchers
- start "Alpha Sector" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.213428, -97.463332" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ping 127.0.0.1 -n 6 > nul
- ::start "0,1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2646748, -97.463332" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "0,2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2390514, -97.463332" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "0,4" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.1878046, -97.463332" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- start "1,2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2262455, -97.4361721" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ping 127.0.0.1 -n 2 > nul
- start "1,3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2006105, -97.4361721" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ping 127.0.0.1 -n 2 > nul
- ::start "1,1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2518689, -97.4361721" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "-1,3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2006105, -97.4904919" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "-1,2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2262455, -97.4904919" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "-1,1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2518689, -97.4904919" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "2,1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.2390514, -97.4090122" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "2,2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.213428, -97.4090122" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "2,3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.1878046, -97.4090122" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "Andy Alligator's" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.292731, -97.491365" -st 4 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- ::start "Alyssa" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "35.229196, -97.172862" -st 10 -H 0.0.0.0 -P 5000 -t 2 -k %GAPI% -L %locale%
- ::ping 127.0.0.1 -n 2 > nul
- echo %time% Start-up complete!
- ::loopback
- echo %time% 30 minutes until next restart...
- ping 127.0.0.1 -n 895 > nul
- echo %time% 15 minutes until next restart...
- ping 127.0.0.1 -n 895 > nul
- echo %time% RESTART IMMINENT - HOLD ON TO YOUR BUTTS
- ping 127.0.0.1 -n 11 > nul
- goto start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement