SRCDS Steam group


Sending commands to SRCDS from Batch files
#1
Question 
How do I give commands to a srcds.exe, that is already running under Watchdog, from a batch file?
Reply
#2
You can't send an rcon command via a batch file. What are you trying to do?
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
I'm running a window's scheduled event every night that restarts the server. I want to send a say command that tells everyone the server is restarting in 5 minutes.
Oh god I'm genius. I just made a vbScript instead:

Code:
Set ws = CreateObject("WScript.Shell")
ws.AppActivate "Your window name that you want to type to"
ws.SendKeys "your command here"
ws.SendKeys "{ENTER}"
Reply
#4
With some admin mods you should be able to schedule an event. I know I've done it with BeetlesMod.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
I prefer using batch files instead, easier to work with and more organizable.

If you guys want, I can give out a zip file that restarts the server, updates it and monitors your server for crashes. No plugins or other programs required, just a Windows OS.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)