|
Answer» I have a batch file for my counter strike serverseen below:
HldsUpdateTool.exe -command update -dir \ call wait 30 HldsUpdateTool.exe -command update -game "Counter-Strike Source" -dir \srcds START /high \srcds\srcds -game cstrike start \srcds\srcdsfpsboost HldsUpdateTool.exe -command update -game "hl2mp" -dir \srcds HldsUpdateTool.exe -command update -game "dods" -dir \srcds HldsUpdateTool.exe -command update -game "cstrike" -dir \hlds HldsUpdateTool.exe -command update -game "czero" -dir \hlds HldsUpdateTool.exe -command update -game "dmc" -dir \hlds HldsUpdateTool.exe -command update -game "dod" -dir \hlds HldsUpdateTool.exe -command update -game "gearbox" -dir \hlds HldsUpdateTool.exe -command update -game "ricochet" -dir \hlds HldsUpdateTool.exe -command update -game "tfc" -dir \hlds HldsUpdateTool.exe -command update -game "valve" -dir \hlds
As you can see lines 4 and 5 execute the server after the update but I like to use the steam gui. This when using the gui (ie, imotting -comsole from the srcds start command line) it does not auto execute the server, however all that is neededis to press enter as soon as the interface loads up.
Is there any way I can GET the batch to emulate the "enter" command so it automatically kicks off the server?
ThanksQuote ie, imotting -comsole
Sorry guys should have been "ie, omitting -console"You COULD try echo. | start ... in FRONT of each of your start commands. If srcds and srcdsfpsboost are DOS programs this might WORK. If they are Windows programs, I doubt it will work. In any case, the start command itself may prevent anything from being passed to the started programs.
Hope this helps. Thakss for that but, srcds can be either dos (console) or windows (gui) unfortunately I favour gui so never mind.
|