mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-07-13 06:41:12 -05:00
Pokemon GO server emulator
- Removed mongodb - Validate dumped assets (game master, asset digest, models) - Added pokemon_owned table - Added items to users table - Outsourced table structures into seperate folder - Added pokemongo-protobuf lib - Reworked mysql wrapper - Dump game master - Allow ptc connections, but alert, that progress wont be saved - Fixed https://github.com/maierfelix/POGOserver/issues/13 |
||
|---|---|---|
| src | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .greet | ||
| .help | ||
| .travis.yml | ||
| cfg.js.example | ||
| package.json | ||
| README.md | ||
| run-linux.sh | ||
| run-windows.bat | ||
| update.js | ||
______ _____ _____ _____
| ___ \ _ | __ \ _ |
| |_/ / | | | | \/ | | | ___ ___ _ ____ _____ _ __
| __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
| | \ \_/ / |_\ \ \_/ /\__ \ __/ | \ V / __/ |
\_| \___/ \____/\___/ |___/\___|_| \_/ \___|_|
Getting started
Setup
Copy and rename cfg.js.example to cfg.js.
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:
