Git Product home page Git Product logo

csgo-telnet's Introduction

CSGO Telnet

Little program to use the -netconport launch option in CS:GO for chat commands and more.

NOTE: This project isn't really made to be a "download and run" script. You have to know atleast some python to create your own script.

How to use

First of all, set this launch option for CS:GO: -netconport 2121. This can be any port, just make sure to also set the right port in your script.
Then you can copy an example, or create a new script and do anything fancy you want with it.
Easiest is to copy examples/full-example.py and change that to have the commands and features you want.

Examples

All examples can be found in the examples folder.

  • full-example.py: This is an example showing most of the functionality in one script.
  • jumpstats.py: Small programs to save jumpstats to a file using on_incoming_data().
  • moving-clantag.py: This lets you have a changing clantag in game, so it looks like you're using a cheat.
  • name-from-steamid.py: This showcases the set_name_from_steamid() function.

To run an example, copy it to the project's root directory and run it with python.

Limitations

  • Chat parsing only works if CS:GO is in the game's English (Custom languages won't work if you changed the way chat looks). If you set a different langauge, you'll have to change some things in ChatMessage
  • Chat messages are delayed by 0.7s if the owner is the one executing the command. This makes sure CS:GO doesn't block the message because you're sending messages too fast.
  • The program can only read/write to console. If something doesn't show up in console this utility can't react to it.

Screenshots

These are all results from examples/full-example.py.

Ping Command

Ping Command

Time Command

Time Command

Terminal Output

Terminal Output

csgo-telnet's People

Contributors

everlyy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.