Skip to content

Qionglu735/screeps_tool

Repository files navigation

Python Screeps Client For Private Server


1 screeps_client.py

Console client with ASCII map and log tracking etc.

Based on private_server_backend and Websocket endpoints.

I have not figured out how to authenticate with official server. Connect to official server is impossible.


1.1 requirement

server side

screepsmod-auth is necessary for authentication

npm install screepsmod-auth
client side
pip install -r requirement.txt

1.2 config

Rename config.example.py to config.py.

Fill up config.py with your private server information.

DB_ setting is not used, just leave it blank.


1.3 usage

python screeps_client.py

F1: Map

F2: Console

F3: Memory

ESC: Exit


1.3.1 Map

HJKLYUBN: move around in room

Shift+HJKLYUBN: move faster

Ctrl+HJKLYUBN: change room

Tab: switch between objects on the same tile

Enter: open an operation menu, for creating construction site, etc(TODO)

Ctrl+R: refresh

Map character could be changed in config.py.


1.3.2 Console

PageUp/PageDown: scroll console log

↑↓: scroll command history

Enter: send command

Shift+Insert: paste

Ctrl+R: refresh


1.3.3 Memory

↑↓: move cursor

Enter: expend/collapse object

Ctrl+R: refresh


2 screeps_console.py

A standalone console, for tracking log only.


3 screeps_auto_push.py

Detect local script changes and update to server automatically.

About

Screeps Client For Private Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages