Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.70 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= D:\Python27\Python.exe
  5. SET BranchPath= D:\Desktop\PokemonGo-Map
  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= Insert Key
  17. SET auth= PTC
  18. SET username= PTCusername
  19. SET password= PTC 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. Start "Movable1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.490139, -80.99244" -st 7 -H 0.0.0.0 -P 5000 -k %GAPI% -L %locale% %thread%
  34. ping 127.0.0.1 -n 6 > nul
  35. Start "Movable2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.507650274, -80.99244" -st 7 -ns -k %GAPI% -L %locale% %thread%
  36. ping 127.0.0.1 -n 6 > nul
  37. Start "Movable3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4988925219, -80.9704093491" -st 7 -ns -k %GAPI% -L %locale% %thread%
  38. ping 127.0.0.1 -n 6 > nul
  39. Start "Movable4" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.481381248, -80.9704093491" -st 7 -ns -k %GAPI% -L %locale% %thread%
  40. ping 127.0.0.1 -n 6 > nul
  41. Start "Movable5" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4726234979, -80.992429364" -st 7 -ns -k %GAPI% -L %locale% %thread%
  42. ping 127.0.0.1 -n 6 > nul
  43. Start "Movable6" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4813770215, -81.0144529215" -st 7 -ns -k %GAPI% -L %locale% %thread%
  44. ping 127.0.0.1 -n 6 > nul
  45. Start "Movable7" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4988882955, -81.0144529215" -st 7 -ns -k %GAPI% -L %locale% %thread%
  46. ping 127.0.0.1 -n 6 > nul
  47. Start "Movable8" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5251615479, -80.99244" -st 7 -ns -k %GAPI% -L %locale% %thread%
  48. ping 127.0.0.1 -n 6 > nul
  49. Start "Movable9" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5164037946, -80.9704022507" -st 7 -ns -k %GAPI% -L %locale% %thread%
  50. ping 127.0.0.1 -n 6 > nul
  51. Start "Movable10" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5076460419, -80.9483680523" -st 7 -ns -k %GAPI% -L %locale% %thread%
  52. ping 127.0.0.1 -n 6 > nul
  53. Start "Movable11" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.490134768, -80.9483680523" -st 7 -ns -k %GAPI% -L %locale% %thread%
  54. ping 127.0.0.1 -n 6 > nul
  55. Start "Movable12" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.472623494, -80.9483680523" -st 7 -ns -k %GAPI% -L %locale% %thread%
  56. ping 127.0.0.1 -n 6 > nul
  57. Start "Movable13" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4638657446, -80.9703845247" -st 7 -ns -k %GAPI% -L %locale% %thread%
  58. ping 127.0.0.1 -n 6 > nul
  59. Start "Movable14" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4551079958, -80.9923974561" -st 7 -ns -k %GAPI% -L %locale% %thread%
  60. ping 127.0.0.1 -n 6 > nul
  61. Start "Movable15" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4638615207, -81.0144139267" -st 7 -ns -k %GAPI% -L %locale% %thread%
  62. ping 127.0.0.1 -n 6 > nul
  63. Start "Movable16" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.472615045, -81.0364339382" -st 7 -ns -k %GAPI% -L %locale% %thread%
  64. ping 127.0.0.1 -n 6 > nul
  65. Start "Movable17" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.490126319, -81.0364339382" -st 7 -ns -k %GAPI% -L %locale% %thread%
  66. ping 127.0.0.1 -n 6 > nul
  67. Start "Movable18" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5076375929, -81.0364339382" -st 7 -ns -k %GAPI% -L %locale% %thread%
  68. ping 127.0.0.1 -n 6 > nul
  69. Start "Movable19" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.516391114, -81.014396194" -st 7 -ns -k %GAPI% -L %locale% %thread%
  70. ping 127.0.0.1 -n 6 > nul
  71. Start "Movable20" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5426728219, -80.99244" -st 7 -ns -k %GAPI% -L %locale% %thread%
  72. ping 127.0.0.1 -n 6 > nul
  73. Start "Movable21" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5339150673, -80.9703951457" -st 7 -ns -k %GAPI% -L %locale% %thread%
  74. ping 127.0.0.1 -n 6 > nul
  75. Start "Movable22" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.5251573133, -80.9483538457" -st 7 -ns -k %GAPI% -L %locale% %thread%
  76. ping 127.0.0.1 -n 6 > nul
  77. Start "Movable23" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.51639956, -80.9263160981" -st 7 -ns -k %GAPI% -L %locale% %thread%
  78. ping 127.0.0.1 -n 6 > nul
  79. Start "Movable24" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.498888286, -80.9263160981" -st 7 -ns -k %GAPI% -L %locale% %thread%
  80. ping 127.0.0.1 -n 6 > nul
  81. Start "Movable25" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4813770121, -80.9263160981" -st 7 -ns -k %GAPI% -L %locale% %thread%
  82. ping 127.0.0.1 -n 6 > nul
  83. Start "Movable26" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4638657381, -80.9263160981" -st 7 -ns -k %GAPI% -L %locale% %thread%
  84. ping 127.0.0.1 -n 6 > nul
  85. Start "Movable27" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4551079893, -80.9483290295" -st 7 -ns -k %GAPI% -L %locale% %thread%
  86. ping 127.0.0.1 -n 6 > nul
  87. Start "Movable28" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4463502412, -80.9703384216" -st 7 -ns -k %GAPI% -L %locale% %thread%
  88. ping 127.0.0.1 -n 6 > nul
  89. Start "Movable29" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4375924937, -80.9923442761" -st 7 -ns -k %GAPI% -L %locale% %thread%
  90. ping 127.0.0.1 -n 6 > nul
  91. Start "Movable30" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4463460199, -81.0143536665" -st 7 -ns -k %GAPI% -L %locale% %thread%
  92. ping 127.0.0.1 -n 6 > nul
  93. Start "Movable31" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l "46.4550995455, -81.0363665945" -st 7 -ns -k %GAPI% -L %locale% %thread%
  94. ping 127.0.0.1 -n 6 > nul
  95.  
  96.  
  97. ::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)
  98.  
  99. echo Waiting 30 minutes to restart all processes
  100. ping 127.0.0.1 -n 1801 > nul
  101.  
  102. goto start
  103. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement