Advertisement
Guest User

Untitled

a guest
Aug 20th, 2016
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 6.80 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=  C:\Python27\Python.exe
  5. SET BranchPath=  C:\Users\MZD\Desktop\PokemonGo-Map-develop
  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=  AIzaSyCnVlO2yojPIXeaTKW-LaLApYeJrprqphU
  17. SET auth=  ptc
  18. SET username=  notascanner3
  19. SET username1= notascanner4
  20. SET password=  Totallylegit
  21. SET thread=-t 1  
  22. SET locale=JP  
  23.  
  24.  
  25. ::kill all python processes  
  26. taskkill /IM python.exe /F
  27. echo Starting worker processes....
  28.  
  29.  
  30. ::title of this command window  
  31. title Pokemon Go Map
  32.  
  33. ::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)  
  34. echo Starting instance number 1...
  35. Start "Movable1" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.071807,7.653914 -st 5 -H 0.0.0.0 -P 5000 -k %GAPI%                                    
  36. ping 127.0.0.1 -n 6 > nul
  37. echo Starting instance number 2... 
  38. Start "Movable2" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0802928604,7.65468232924 -st 5 -ns -k %GAPI%                                    
  39. ping 127.0.0.1 -n 6 > nul
  40. echo Starting instance number 3...                                
  41. Start "Movable3" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0755780036,7.66467002907 -st 5 -ns -k %GAPI%                                    
  42. ping 127.0.0.1 -n 6 > nul                              
  43. echo Starting instance number 4... 
  44. Start "Movable4" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0670922034,7.66390028516 -st 5 -ns -k %GAPI%                                    
  45. ping 127.0.0.1 -n 6 > nul          
  46. echo Starting instance number 5...                    
  47. Start "Movable5" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0633211218,7.65314589812 -st 5 -ns -k %GAPI%                                    
  48. ping 127.0.0.1 -n 6 > nul                          
  49. echo Starting instance number 6...    
  50. Start "Movable6" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0680349811,7.64315938567 -st 5 -ns -k %GAPI%                                    
  51. ping 127.0.0.1 -n 6 > nul                      
  52. echo Starting instance number 7...        
  53. Start "Movable7" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0765209194,7.64392607274 -st 5 -ns -k %GAPI%                                    
  54. ping 127.0.0.1 -n 6 > nul                  
  55. echo Starting instance number 8...            
  56. Start "Movable8" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.088778703,7.65545088597 -st 5 -ns -k %GAPI%                                    
  57. ping 127.0.0.1 -n 6 > nul  
  58. echo Starting instance number 9...                            
  59. Start "Movable9" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username% -p %password% -l 45.0840648465,7.66544269101 -st 5 -ns -k %GAPI%                                    
  60. ping 127.0.0.1 -n 6 > nul                                  
  61. echo Starting instance number 10...
  62. Start "Movable10" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0793479915,7.6754274728 -st 5 -ns -k %GAPI%                                      
  63. ping 127.0.0.1 -n 6 > nul                              
  64. echo Starting instance number 11...
  65. Start "Movable11" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0708611493,7.674658727 -st 5 -ns -k %GAPI%                                      
  66. ping 127.0.0.1 -n 6 > nul                          
  67. echo Starting instance number 12...    
  68. Start "Movable12" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0623765298,7.67388492844 -st 5 -ns -k %GAPI%                                      
  69. ping 127.0.0.1 -n 6 > nul                          
  70. echo Starting instance number 13...    
  71. Start "Movable13" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0586042047,7.66313072078 -st 5 -ns -k %GAPI%                                      
  72. ping 127.0.0.1 -n 6 > nul                          
  73. echo Starting instance number 14...    
  74. Start "Movable14" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0548352257,7.65237802348 -st 5 -ns -k %GAPI%                                      
  75. ping 127.0.0.1 -n 6 > nul              
  76. echo Starting instance number 15...                        
  77. Start "Movable15" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0595479638,7.64239023688 -st 5 -ns -k %GAPI%                                      
  78. ping 127.0.0.1 -n 6 > nul      
  79. echo Starting instance number 16...                                
  80. Start "Movable16" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.064261947,7.63240618609 -st 5 -ns -k %GAPI%                                    
  81. ping 127.0.0.1 -n 6 > nul                                  
  82. echo Starting instance number 17...    
  83. Start "Movable17" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0727490823,7.63316858992 -st 5 -ns -k %GAPI%                                      
  84. ping 127.0.0.1 -n 6 > nul                                  
  85. echo Starting instance number 18...    
  86. Start "Movable18" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0812339612,7.63393650314 -st 5 -ns -k %GAPI%                                      
  87. ping 127.0.0.1 -n 6 > nul                                  
  88. echo Starting instance number 19...    
  89. Start "Movable19" /d %BranchPath% /MIN %PythonPath% %Executable% -a %auth% -u %username1% -p %password% -l 45.0850090205,7.64469303434 -st 5 -ns -k %GAPI%                                      
  90.  
  91. ::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)  
  92.  
  93. echo Waiting 30 minutes to restart all processes  
  94. ping 127.0.0.1 -n 1801 > nul  
  95.  
  96. goto start  
  97. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement