Pokemon GO server emulator
Go to file
Cronick 33cca65938 Update
- Set username to first part of email, if it's unknown.
- Setup ClaimCodename packet
- MARK_TUTORIAL_COMPLETE error should be fixed
- Fix for MySQL table error (Thanks to Badley187)
- Fixed TypeError: _this2.print is not a function error.
2016-10-09 17:21:06 +02:00
api Update 2016-09-27 12:41:35 +02:00
src Update 2016-10-09 17:21:06 +02:00
.babelrc Adding files 2016-08-05 17:48:47 +02:00
.gitattributes Update .gitattributes 2016-10-01 20:36:35 +02:00
.gitignore Bugfixes 2016-09-11 14:25:09 +02:00
.greet Update 2016-08-08 00:57:16 +02:00
.help Update 2016-09-13 01:30:54 +02:00
.travis.yml Update 2016-08-05 20:43:56 +02:00
cfg.js.example Update 2016-09-15 23:43:19 +02:00
Dockerfile Removed run-linux in docker. 2016-09-16 20:20:43 +02:00
install-windows.bat Initial commit 2016-08-26 15:38:13 +02:00
LICENSE Add LICENSE 2016-09-01 19:26:57 +02:00
package.json Added updater.js again and rewrote to ES6 2016-10-02 16:04:40 +02:00
README.md Update README.md 2016-09-28 12:02:38 +02:00
supervisord.conf Create supervisord.conf 2016-08-30 11:53:17 +02:00
updater.js Added updater.js again and rewrote to ES6 2016-10-02 16:04:40 +02:00

                              ______ _____ _____ _____                               
                              | ___ \  _  |  __ \  _  |                              
                              | |_/ / | | | |  \/ | | | ___  ___ _ ____   _____ _ __ 
                              |  __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
                              | |   \ \_/ / |_\ \ \_/ /\__ \  __/ |   \ V /  __/ |   
                              \_|    \___/ \____/\___/ |___/\___|_|    \_/ \___|_|   

Getting started

Setup

Copy and rename cfg.js.example to cfg.js.

Open cfg.js and fill the following fields:

DOWNLOAD_PROVIDER: "GOOGLE";
DOWNLOAD_USERNAME: "USERNAME";
DOWNLOAD_PASSWORD: "PASSWORD";

Tunneling setup

The pokemon go app traffic has to get forwarded manually to this custom server. Download rastapasta's Pokemon Go Xposed app and follow the installation instructions here.

Database setup

To setup a database connection, open cfg.js and change the database login credentials:

MYSQL_PORT: 3306,
MYSQL_HOST_IP: "127.0.0.1",
MYSQL_DB_NAME: "pogosql",
MYSQL_USERNAME: "root",
MYSQL_PASSWORD: "",

The required database tables get generated automatically.

Server setup

You need at minimum Node.js version 6.x.

Open up a terminal and enter npm run boot to start the server or npm run api to start the web-api.

Docker setup

  1. Download Dockerfile, cfg.js.example and supervisord.conf from github.
  2. Place Dockerfile, cfg.js.example and supervisord.conf into the same folder. Rename cfg.js.example to cfg.js.
  3. Modify cfg.js to your requirements as described above.
  4. Create a container and run it.
  5. Open a bash prompt, enter: cd /POGOserver/ and enter npm run boot.
  6. Connect the Pokemon Go app to the server.
  7. Done.

Note: Instead of automatically mapping the ports, map them static, so they don't change after reboot.