Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.87 KB | None | 0 0
  1. :: Set PythonPath to where your Python is installed, Typically C:\Python27\Python.exe
  2. :: Set BranchPath to where you have the Pokemon Live Map folder
  3.  
  4. SET PythonPath=
  5. SET BranchPath=
  6. SET Executable=runserver.py
  7.  
  8. ::GAPI is your google map api key
  9. ::auth is the authentication service you are using. PTC or Google
  10. ::Self explanatory, username of the chosen auth service
  11. ::again.. do i need to explain? password of chosen auth
  12. ::Threads default is 1, if you want more, change it here.. 1 is recommended until multithreading is fixed in windows.
  13. ::locale is the language output in your terminal, default is EN (english)
  14.  
  15.  
  16. SET GAPI= AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4
  17. SET auth=
  18. SET username=
  19. SET password=
  20. SET thread=-t 1
  21. SET locale=EN
  22.  
  23.  
  24. ::kill all python processes
  25. taskkill /IM python.exe /F
  26. echo Starting worker processes....
  27.  
  28.  
  29. ::title of this command window
  30. title Pokemon Go Map
  31.  
  32. ::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)
  33.  
  34. 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%
  35. ping 127.0.0.1 -n 6 > nul
  36. 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%
  37. ping 127.0.0.1 -n 6 > nul
  38. 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%
  39. ping 127.0.0.1 -n 6 > nul
  40. 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%
  41. ping 127.0.0.1 -n 6 > nul
  42. 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%
  43. ping 127.0.0.1 -n 6 > nul
  44. 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%
  45. ping 127.0.0.1 -n 6 > nul
  46. 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%
  47. ping 127.0.0.1 -n 6 > nul
  48. 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%
  49. ping 127.0.0.1 -n 6 > nul
  50. 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%
  51. ping 127.0.0.1 -n 6 > nul
  52. 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%
  53. ping 127.0.0.1 -n 6 > nul
  54. 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%
  55. ping 127.0.0.1 -n 6 > nul
  56. 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%
  57. ping 127.0.0.1 -n 6 > nul
  58. 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%
  59. ping 127.0.0.1 -n 6 > nul
  60. 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%
  61. ping 127.0.0.1 -n 6 > nul
  62. 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%
  63. ping 127.0.0.1 -n 6 > nul
  64. 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%
  65. ping 127.0.0.1 -n 6 > nul
  66. 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%
  67. ping 127.0.0.1 -n 6 > nul
  68. 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%
  69. ping 127.0.0.1 -n 6 > nul
  70. 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%
  71. ping 127.0.0.1 -n 6 > nul
  72. 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%
  73. ping 127.0.0.1 -n 6 > nul
  74. 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%
  75. ping 127.0.0.1 -n 6 > nul
  76. 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%
  77. ping 127.0.0.1 -n 6 > nul
  78. 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%
  79. ping 127.0.0.1 -n 6 > nul
  80. 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%
  81. ping 127.0.0.1 -n 6 > nul
  82. 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%
  83. ping 127.0.0.1 -n 6 > nul
  84. 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%
  85. ping 127.0.0.1 -n 6 > nul
  86. 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%
  87. ping 127.0.0.1 -n 6 > nul
  88. 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%
  89. ping 127.0.0.1 -n 6 > nul
  90. 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%
  91. ping 127.0.0.1 -n 6 > nul
  92. 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%
  93. ping 127.0.0.1 -n 6 > nul
  94. 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%
  95. ping 127.0.0.1 -n 6 > nul
  96. 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%
  97. ping 127.0.0.1 -n 6 > nul
  98. 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%
  99. ping 127.0.0.1 -n 6 > nul
  100. 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%
  101. ping 127.0.0.1 -n 6 > nul
  102. 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%
  103. ping 127.0.0.1 -n 6 > nul
  104. 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%
  105. ping 127.0.0.1 -n 6 > nul
  106. 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%
  107. ping 127.0.0.1 -n 6 > nul
  108.  
  109. ::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)
  110.  
  111. echo Waiting 30 minutes to restart all processes
  112. ping 127.0.0.1 -n 1801 > nul
  113.  
  114. goto start
  115. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement