FAQ for 0.5.0 (up here because people won't scroll)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException ... Address already in use?
- Login with Google and Pokemon Trainer Club
- Walk (while following roads (optional)) from Pokestop to Pokestop (highly configurable)
- Collect all Pokemon that are within reach
- Automatically drop useless items and bad Pokemon (100% configurable)
- Hatch eggs
- Export your Pokemon to many different export formats (to keep track in Excel/other external applications)
- We're very happy to have you partake in this experience with us and even possibly contribute.
- However, due to an overwhelming amount of attention from the public this repository has seen an onslaught of attention.
- With that said, please do your due diligence and research your problem without opening unnecessary issue tickets.
- Searching here, reddit or Google will more than likely provide you with an answer.
- Common issues may be found at the bottom of this page.
- Those that are actively contributing to this project utilize the ticket system for tracking technical issues and having to answer the same question can really clog up the pipes for people who are presenting an original problem.
- For legitimate technical issues PLEASE abide by the given template and provide as much information as possible.
- For extensive logs, please use PasteBin.
- Make sure you have Oracle Java 1.8 or higher installed (
java -version
in a command line)- If not, go here.
- Download the latest release from here.
- Download config.properties.template and save it in the same directory
- Rename
config.properties.template
toconfig.properties
(make sure your operating system doesn't rename it toconfig.properties.txt
) - Fill in the blanks
- Open a terminal (or
cmd.exe
on Windows) - Use
cd
to go into the directory with your config and the downloaded.jar
java -jar PokemonGoBot-VERSION.jar
(replace version with the downloaded one, or typePokemonGoBot-
and pressTAB
)
- Clone this repo:
git clone https://github.com/jabbink/PokemonGoBot.git && cd PokemonGoBot
or download the zip - Run from terminal/cmd:
gradlew build
- Rename
./config.properties.template
to./config.properties
- Modify
config.properties
as you please - To run the bot directly from console run
gradlew run
- ❗ If you use JetBrains IntelliJ, install the Lombok plugin and enable Settings -> Compiler -> Annotation Processors -> Enable annotation processing ❗
If you want to help and add a new feature, you can create a pull request to merge in the develop
branch and not in the master
.
As the name says, the develop
branch is for developing where we'll add new features, with your help; instead we'll update the master
every now and then, and from that we'll release a new jar.
Most of the time it's because the you didn't execute step 2 of the README.
After that, just try gradlew clean build
.
If there's still a problem, open an issue.
Currently not reproducible so can't be reliably fixed. Look here for some people that managed to get it fixed: jabbink#21
Some possible issues:
- Make sure your system time is (semi-)correct (let it autosync with an online server)
- Make sure the mobile app is not on (kill the process if need be)
- Make sure the account you're botting on did do the initial tutorial (mainly catching a starter Pokemon)
- Make sure the provided credentials in the
config.properties
file are correct. - If you're using PTC, your credentials are correct and your password is longer than 15 characters, only enter the first 15 characters of your account and the login should work.
- If there is a token present, remove it and retry.
Known issue with the Java API handling login for Google.
The Pokemon Go servers are offline/too busy. Check IsPokemonGoDownOrNot.com
Separate the windows as they're conjoined together.
The GUI is now hosted on http://pogo.abb.ink/RocketTheme/
This URL is also shown in the console when you launch the bot.
Make sure you enter the full emailaddress (including @
) in the username=
property.
Make sure you are working in the directory where the JAR file is located
Known Windows issue, build the bot from a directory close to rootdir eg. C:\pogobot\
Make sure windows didn't add .txt
to the filename.