pokegypt
Set up and operate a PokeGypt Pokemon OT private server based on TFS 1.2 with a SQLite backend (no MySQL required), a built-in account manager, and cross-platform support for Linux and Windows.
Install
# Clone the server
git clone https://github.com/Lord1Egypt/PokeGypt
cd PokeGypt
# Linux — compile
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
# Windows — use the pre-built binary in /bin
Configuration
Edit config.lua to set server name, port, and world type:
serverName = "PokeGypt"
ip = "127.0.0.1"
port = 7171
worldType = "pvp"
sqliteDatabase = "db/pokegypt.db"
Account Manager
The built-in account manager runs at port 7171. Connect with any Tibia/OT client:
- Account: 1 / Password: 1 to access the GM account
- Create player accounts via the in-game account manager NPC
Start the Server
# Linux
./pokegypt
# Windows
pokegypt.exe
Common Tasks
Add a GM account:
UPDATE accounts SET type = 5 WHERE id = 1;
Reset a player's position (if stuck):
UPDATE players SET posx=1000, posy=1000, posz=7 WHERE name='PlayerName';
Backup the database:
cp db/pokegypt.db db/pokegypt_backup_$(date +%Y%m%d).db
Ports
| Port | Purpose |
|---|---|
| 7171 | Login server + account manager |
| 7172 | Game world |
Differences from Standard TFS
- SQLite instead of MySQL — zero database server setup
- PokeGypt maps — custom Pokemon-themed world
- Cross-platform binary — works on Linux and Windows without recompile
- Account manager NPC built-in — no external web panel needed