项目作者: 403-Fruit

项目描述 :
Scripting CS:GO over telnet.
高级语言: Python
项目地址: git://github.com/403-Fruit/csctl.git
创建时间: 2020-03-25T09:05:07Z
项目社区:https://github.com/403-Fruit/csctl

开源协议:GNU General Public License v3.0

下载


csctl

Scripting CS:GO over telnet.

Description

Execute cs:go commands from a file over telnet. This allows you to control execution timing and allows you to script usercmds (+left, +jump, etc.)

Tested on Python 3.7.4 but not extensively.

Big thanks to @nibalizer for this project, which was a huge help in figuring out how to interface with the client

Setup

  1. git clone https://github.com/403-Fruit/csctl.git
  2. cd csctl
  3. pip3 install -r requirements.txt

Usage

Add the following launch option to CS:GO

  1. -netconport 2121

Run the script

  1. python3 csctl.py

Then in-game you can run

  1. echo exectn <instruction_file>

Or bind to a key with

  1. bind "<key>" "echo exectn <instruction_file>"

This will execute commands from instruction_file, or if the line is delay x.x, sleep for x.x seconds.

Notes

  • Instruction files can be placed in CS:GO’s config directory, or the same directory as csctl.py.
  • Example instruction files are included in the examples folder. (stutter_step.csctl, echo.csctl)