PokemonGoF / PokemonGo-Bot
- суббота, 23 июля 2016 г. в 03:16:12
Python
The Pokemon Go Bot script, baking with community.
We use Slack as a web chat. Click here to join the chat!
[Install Python 2.7](https://wiki.python.org/moin/BeginnersGuide/Download)
[Install PIP](https://pip.pypa.io/en/stable/installing/)
MAC: brew update && brew install --devel protobuf
Download or clone the master branch of the repository: git clone -b master git@github.com:PokemonGoF/PokemonGo-Bot.git
Using a terminal navigate into the clone repository.
Install all requirements for the project using pip install -r ./requirements.txt
Download or clone the dev branch of the repository: git clone -b dev git@github.com:PokemonGoF/PokemonGo-Bot.git
Using a terminal navigate into the clone repository.
Install all requirements for the project using pip install -r ./requirements.txt
Code forest, code!
sudo apt-get install virtualenv -y git clone https://github.com/PokemonGoF/PokemonGo-Bot cd PokemonGo-Bot virtualenv . source bin/activate pip install -r requirements.txt
Google Maps API: a brief guide to your own key
This project uses Google Maps. There's one map coupled with the project, but as it gets more popular we'll definitely hit the rate-limit making the map unusable. That said, here's how you can get your own and replace ours:
usage: pokecli.py [-h] -a AUTH_SERVICE -u USERNAME -p PASSWORD -l LOCATION [-w] [-d] [-t] [-c] [-m]
optional arguments:
-h, --help show this help message and exit
-a AUTH_SERVICE, --auth_service AUTH_SERVICE Auth Service ('ptc' or 'google')
-u USERNAME, --username USERNAME Username
-p PASSWORD, --password PASSWORD Password
-l LOCATION, --location LOCATION Location (Address or 'xx.yyyy,zz.ttttt')
-w SPEED, --walk SPEED Walk instead of teleport with given speed (meters per second max 4.16 because of walking end on 15km/h)
-m MODE, --mode MODE Set farming Mode for the bot ('all', 'poke', 'farm')
--maxstep MAX_STEP Set the steps around your initial location(DEFAULT 5 mean 25 cells around your location)
-c CP, --cp Set the CP to transfer or lower (eg. 100 will transfer CP0-99)
-d, --debug Debug Mode
-t, --test Only parse the specified location
Pokemon Trainer Club (PTC) account:
$ python2 pokecli.py -a ptc -u tejado -p 1234 --location "New York, Washington Square"
Google Account:
$ python2 pokecli.py -a google -u tejado -p 1234 --location "New York, Washington Square"
You can use -c 1 to protect your first stage low CP pokemon.
Not yet, still need a trainer to train the script param. But we are very close to.
It works, use -l "xx.yyyy,zz.ttttt" to set lat long for location. -- diordache
The status code "3" corresponds to "Flee" - meaning your Pokemon has ran away. {"responses": { "CATCH_POKEMON": { "status": 3 } }
Finish the tutorial on a smartphone. This will then allow everything to be visible.
Quick Tip: When using this script, use a Lucky egg to double the XP for 30 mins. You will level up much faster. A Lucky egg is obtained on level 9 and further on whilst leveling up. (from VipsForever via /r/pokemongodev)
pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
eggins -- The first pull request :)
crack00r
ethervoid
Bashin
tstumm
TheGoldenXY
Reaver01
tejado many thanks for the API
Mila432 for the login secrets
elliottcarlson for the Google Auth PR
AeonLucid for improved protos
AHAAAAAAA for parts of the s2sphere stuff
Bitcoin Address: 1PJMCx9NNQRasQYaa4MMff9yyNFffhHgLu