Skip to content

About

A C++ headless client for LostCity private servers

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

LostCity Headless

HEADLESS

CONSOLE

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.

Features

  • 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.

SCRIPT DEBUGGER

SCRIPT PROFILING

Getting started

  1. 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.
  2. Copy client.jsonc.sample to client.jsonc and fill in the server details using the configuration guide.
  3. Copy accounts/example.jsonc.sample to accounts/<name>.jsonc and set the credentials. For a first connection check, omit the script section.
  4. 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.

Documentation

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

Credits

About

A C++ headless client for LostCity private servers

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages