Pokemon GO server emulator
Go to file
Felix 3562af2a4e Update package.json
- Added pcrypt
- Updated version
2016-08-20 19:07:43 +02:00
src Bug fix 2016-08-20 14:18:59 +02:00
.babelrc Adding files 2016-08-05 17:48:47 +02:00
.gitattributes Update 2016-08-06 13:56:54 +02:00
.gitignore Update 2016-08-17 15:56:16 +02:00
.greet Update 2016-08-08 00:57:16 +02:00
.help Update 2016-08-17 15:56:16 +02:00
.travis.yml Update 2016-08-05 20:43:56 +02:00
cfg.js Bug fix 2016-08-20 14:18:59 +02:00
package.json Update package.json 2016-08-20 19:07:43 +02:00
README.md Update 2016-08-17 15:56:16 +02:00
run-linux.sh Update 2016-08-17 15:56:16 +02:00
run-windows.bat Fix run-windows 2016-08-17 15:58:24 +02:00
update.js Update 2016-08-17 18:24:19 +02:00

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

Getting started

Setup

Open cfg.js and fill the following fields:

export const SERVER_POGO_CLIENT_PROVIDER = "GOOGLE";
export const SERVER_POGO_CLIENT_USERNAME = "USERNAME";
export const SERVER_POGO_CLIENT_PASSWORD = "PASSWORD";

Tunneling setup

For now, the pokemon go app traffic has to get forwarded manually to this custom server. To do so, download rastapasta's Pokemon Go Xposed app and follow the installation instructions here.

Database setup

You can choose between using MySQL or MongoDB.

To setup a database connection, open cfg.js and set the database type (MySQL in this case):

export const SERVER_USE_DATABASE = "MYSQL";

Make sure to enter your database login credentials as well.

export const SERVER_MYSQL_PORT = 3306;
export const SERVER_MYSQL_HOST_IP = "127.0.0.1";
export const SERVER_MYSQL_DB_NAME = "pogosql";
export const SERVER_MYSQL_USERNAME = "root";
export const SERVER_MYSQL_PASSWORD = "";
export const SERVER_MYSQL_TABLE = "users";

Server setup

You need at minimum Node.js version 6.x and npm version 3.x. Depending on your OS, you need to run either run-linux.sh or run-windows.bat from the root folder.

If everything went fine, it should look like:

Preview