Skip to content

Compiled Releases

ihavetenfingers edited this page Sep 2, 2016 · 5 revisions

Getting Started - Compiled Release Setup

Note: You will need some basic Computer Experience. Need help? Join the Chat! The Issue Tracker is not for help!


Installation & Configuration

Compiled release steps are recommended for any end-user who has no intention of modifying the source code.

Using compiled release

  1. Download the latest release Release.zip.
  2. Unzip the downloaded files, run the program (PokeMobBot.exe)
  3. A console window will appear and then soon close. This is generating the config/auth JSON files.
  4. Navigate to the Config/auth.json file
  5. Change AuthType to google or ptc based on your login type
  6. Enter your username and password with quotes around them. You can find an example below.
  • For Google logins, use GoogleUsername and GooglePassword.

    • If the Google login uses 2-factor authentication, you will need to follow additional steps described here.
  • For PTC logins, use PTCUsername and PTCPassword.

{ "AuthType": "ptc", "GoogleRefreshToken": "", "GoogleUsername": "john-hanke@gmail.com", "GooglePassword": "password or app password", "PtcUsername": "john-hanke", "PtcPassword": "password", "UseProxy": false, "ProxyLogin": "username for your proxy if applicable", "ProxyPass": "password for your proxy if applicable", "ProxyUri": "http://ip:port" }


7. Save the auth.json file
8. Edit Config/config.json with your desired settings
 * The defaults settings are generic so you WILL have to modify these to match what you expect from PokeMobBot.
 * The [Config](https://github.com/PocketMobsters/PokeMobBot/wiki/Config) wiki page has more details about these settings
 * For GPX Path Setup, follow the guide at [GPX Pathing Setup](https://github.com/PocketMobsters/PokeMobBot/wiki/Getting-Started#gpx-pathing-setup)
 * For Sniping Setup, follow the guide at [Sniping Setup](https://github.com/PocketMobsters/PokeMobBot/wiki/Sniping-Setup)
9. Put your latitude and longitude values in the `DefaultLatitude` and `DefaultLongitude` variables 
 * You can find GPS coordinates [here](http://mondeca.com/index.php/en/any-place-en) to fit your desired location.
10. Save the config.json file
11. Run `PokeMobBot` again
 * If you are using a Google account to login which is setup with 2-factor authentication, PokeMobBot will open a Google page in your default browswer and request for your 2-factor token.
11. Make sure to read up on the [FAQ](https://github.com/PocketMobsters/PokeMobBot/wiki/FAQ) and [Common Issues](https://github.com/PocketMobsters/PokeMobBot/wiki/Common-Issues) sections with any issues.

## Changing the Location of the Bot
1. Get a new latitude and longitude.
2. If your Bot is running, close it.
3. Change the value of `DefaultLatitude` and `DefaultLongitude` in your `Config/config.json` file
4. Run the bot