Advertisement
Guest User

Untitled

a guest
Jul 18th, 2016
15,685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. Download Python 2.7 from https://www.python.org/downloads/ (DDL: https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi), install it, use default settings unless you know what you're doing.
  2.  
  3. Grab pip from https://pip.pypa.io/en/stable/installing/ (DDL: https://bootstrap.pypa.io/get-pip.py), if Python was installed properly, double click it, it'll install automatically, if not, reinstall Python.
  4.  
  5. Grab the script from https://github.com/AHAAAAAAA/PokemonGo-Map (DDL: https://github.com/AHAAAAAAA/PokemonGo-Map/archive/master.zip), unzip it to the location you want to use it, copy over "requirements.txt" to the scripts folder for your Python installation, if you did everything by default it should be in "C:\Python27\Scripts"
  6.  
  7. Go to your Python directory, if you installed everything using the default settings it should be "C:\Python27". Shift+right click in that folder in Explorer, click "open commmand window here", in the new CMD window, type
  8. >setx PATH "C:\Python27"
  9.  
  10. Go to your scripts directory, shift+right click in the folder window and click on "open command window here", in the new CMD window, type
  11. >pip install -r requirements.txt
  12.  
  13. Go to https://www.pokemon.com/us/pokemon-trainer-club/login and create a new account, take note of the username and password you've used in the account.
  14.  
  15. In the folder you originally unzipped the map, shift+right click in the folder, and click on "open command window here". In the new CMD window, type the command "python example.py -u myUsername -p myPassword -l "myLocation" -st 5", where "myUsername" is your PTC username, "myPassword" is the password you used, and "myLocation" is the area you want to search. So it should look like
  16. >python example.py -u Anon -p Password -l "Anon's House, Anon's City" -st 5
  17.  
  18. Open up whichever browser you use, and type the address
  19. >localhost:5000
  20. This will show you the map being generated by the script.
  21.  
  22. If you want to search a new area, hit "Ctrl+C" in the CMD window to stop running the script, and change the location to wherever you want your new search to be.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement