A headless game client for LostCity private servers (2004scape, NOT THE OFFICIAL LOST CITY SERVER). It maintains game state from server packets and runs Python bot scripts without rendering a game window.
- Protocol revisions 289, 274 and 225.
- WebSocket, secure WebSocket and raw TCP, with optional SOCKS5 proxies.
- Cache-backed game state and navigation, including names, scenery and collision.
- Python scripting with embedded pocketpy and rs2b0t's API in Python's style.
- Up to 16 accounts per process, each with its own interpreter, script and settings.
- Script reloads, VS Code debugging, profiling and editor type stubs.
See the feature guide for capabilities, revision differences and scripting tools.
- Download a release for Windows or Linux, or build from source. Check the requirements and gather your server's revision, endpoint, RSA public key and matching game cache.
- Copy client.jsonc.sample to
client.jsoncand fill in the server details using the configuration guide. - Copy accounts/example.jsonc.sample to
accounts/<name>.jsoncand set the credentials. For a first connection check, omit thescriptsection. - Run the client from the extracted release folder or repository root, following the first-login walkthrough. Then select an example script or follow the scripting quick start.
The current release target is v1.0.0. See the changelog for release highlights.
| Guide | Contents |
|---|---|
| Requirements | Supported platforms, runtime dependencies and server files |
| Configuration | JSONC settings, cache setup, account overrides and troubleshooting |
| Running | Command-line options, console commands, reconnects, shutdown and script profiling |
| Scripting | Quick start, examples and the full Python API reference |
| Building | Toolchains, build presets, tests, coverage, packaging and project layout |
| Fleet tracking | Per-account experience, bank, backpack and equipment logs, and the local fleet page |
| Development workflow | Branch policy, release promotion and commit messages |
| Design documents | Implementation plans, code conventions and protocol references |
- LostCity - https://github.com/LostCityRS
- Plutonium (OpenRSC) - https://gitlab.com/openrsc/plutonium
- rs2b0t - https://github.com/rs2b2t/rs2b0t
- Claude (yes this is slopped)
- Codex (double slopped)



