mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-04-13 21:26:11 -05:00
Pokemon GO server emulator
- Cleaner game master handling - Added contact and currency player subclasses - Authentication works - Cleaner device sig parsing, handle unknown as repeated field - Added various player and world packets - Seperate settings object for DownloadSettings request - Basic GetMapObjects response - Removed unnecessary code in request.js - Extended response.js - Outsourced parseSignature into utils.js |
||
|---|---|---|
| src | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .greet | ||
| .help | ||
| .save | ||
| .travis.yml | ||
| cfg.js.example | ||
| install-windows.bat | ||
| package.json | ||
| README.md | ||
| run-linux.sh | ||
| run-windows.bat | ||
______ _____ _____ _____
| ___ \ _ | __ \ _ |
| |_/ / | | | | \/ | | | ___ ___ _ ____ _____ _ __
| __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
| | \ \_/ / |_\ \ \_/ /\__ \ __/ | \ 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.
Depending on your OS, you need to run either run-linux.sh or run-windows.bat from the root folder.