Giter Club home page Giter Club logo

sourcecmd's Introduction

SourceCmd

SourceCmd utility by Cryzbl

This tool allows you to run console commands in your favourite source engine game (without having to enter it in the console). For now every time you execute a command the console will yell something about not being in the main thread, ignore that. This works with clients in text-mode, but only grabs the first instance of the process, not all.

Full source code included. Released under GPLv3 http://www.gnu.org/licenses/gpl.html

Usage

Interactive Mode (only supports 1 instance at a time):

  • Launch your favourite source engine game.
  • Open SourceCmd.exe
  • Type the name of the game's executable (for TF2 and CSS it's hl2.exe) and press enter.
  • Type any console command you want.

Command line usage (will run in every process it finds):

SourceCmd.exe <process> <command>

Example:

SourceCmd.exe "hl2.exe" "echo Hello World!"

sourcecmd's People

Contributors

rannmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sourcecmd's Issues

New Pattern

27.05.14. I needed this today, fyi:

Pattern: "\x55\x8B\xEC\xFF\x75\x08\xE8\x00\x00\x00\x00\x83\xC4\x04\xE8\x00\x00\x00\x00\x5D\xC2\x04\x00",
Mask: "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x00\x00\x00\xFF\xFF\xFF\xFF\x00\x00\x00\x00\xFF\xFF\xFF\xFF"

does work!

"Process not found!" error

Since I am trying to create a bot for CS:S and since it's in text mode I found SourceCmd and decide to give it a try, but no matter how I type ("hl2", "hl2.exe" etc, both in interactive and command line mode) it just won't detect it even thought I have launched the game long before launching the program (CS:S both in normal and text mode).

I also have tried to restart but to no avail. Since this project is updated 3 years ago I'd like to ask if it's still supported. If no, are there any workaround?

Thank you.

Source Console Change

Due to a recent update with Source games, commands are no longer received by clients.

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.