• Windows CMD Question!
    9 replies, posted
Is it possible to use CMD to run commands on a running process? For instance, if I have srcds.exe running, and I'm using CMD, is there any way I can execute "sv_cheats 1" or any other commands on the srcds.exe process?
If you have SRCDS open, you could just type sv_cheats 1 into that window.
[QUOTE=benjgvps;33113623]If you have SRCDS open, you could just type sv_cheats 1 into that window.[/QUOTE] I'm asking so that I can develop a server control panel as a hobby project, so I don't think that will work :v:
[QUOTE=Kopimi;33113708]I'm asking so that I can develop a server control panel as a hobby project, so I don't think that will work :v:[/QUOTE] [URL="http://developer.valvesoftware.com/wiki/Source_RCON_Protocol"]Take a look at this page.[/URL] There's a few implementations for different languages, so you could setup RCON on the server and get your application to connect. This also gives you the advantage of being able to control a server without doing much more than setting an RCON password, which means you could control game servers without access to the OS.
[QUOTE=benjgvps;33113764][URL="http://developer.valvesoftware.com/wiki/Source_RCON_Protocol"]Take a look at this page.[/URL] There's a few implementations for different languages, so you could setup RCON on the server and get your application to connect. This also gives you the advantage of being able to control a server without doing much more than setting an RCON password, which means you could control game servers without access to the OS.[/QUOTE] Oh man I never even thought about using RCON. Thanks a ton, this should be much more secure and straightforward :D Yeah actually that still won't completely work, since this management platform is designed to work for multiple games, not just Source Engine games.
Switch to powershell, never look back
[QUOTE=Kopimi;33113827]Oh man I never even thought about using RCON. Thanks a ton, this should be much more secure and straightforward :D Yeah actually that still won't completely work, since this management platform is designed to work for multiple games, not just Source Engine games.[/QUOTE] Most games have some sort of RCON, don't they?
[QUOTE=Juggernog;33137613]Most games have some sort of RCON, don't they?[/QUOTE] I'm not sure, but I wouldn't count on it. You would think it would be possible to use PHP/command line to do some simple process I/O
Make methods per game? TCAdmin uses the RCON protocols/Direct input based on the game and not a universal method for all of them.
[QUOTE=Ninja101;33138196]Make methods per game? TCAdmin uses the RCON protocols/Direct input based on the game and not a universal method for all of them.[/QUOTE] Yeah, but what I'm asking is how they get direct input to game servers that don't have an RCON protocol.
Sorry, you need to Log In to post a reply to this thread.