AGENT SKILL

pokegypt

Run and manage a PokeGypt TFS 1.2 Pokemon OT private server — SQLite backend, account manager, Linux/Windows.

License 许可
MIT
最近更新
2026-06-10
Stars
★ 3
Forks
0

01 前言 Front Matter

name
pokegypt
tags
[ "pokemon", "tfs", "private-server", "sqlite", "game-server", "otserver", "pokegypt" ]
author
Lord1Egypt
source
lord1egypt
license
MIT
version
1.0.0
category
gaming
platforms
[ "linux", "windows" ]
compatible
[ "claude-code", "openai-agents", "hermes-agent", "autogen", "langchain", "any-llm" ]
source_url
https://github.com/Lord1Egypt/PokeGypt
description
Run and manage a PokeGypt TFS 1.2 Pokemon OT private server — SQLite backend, account manager, Linux/Windows.

03 SKILL.md 正文

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

04 同仓库更多 Skills