![]() |
Auto starting server & mission
Hi
Currently, I start our server with a batch file, which gets me as far as the launcher.exe window. From there I manually enter the command 'f settings.cmd' to load my realism settings, then 'f mission1.cmd' to load my first mission. Of course, I could stick both of those .cmd files into one file, thus only having to issue one 'f' command. However, I'd prefer something a little more elegant! Is there any way to start the server up and have it auto launch the settings, then the mission? Ultimately I'd prefer to manage the server using Firedaemon if possible (running as a service). The first step into doing this is negating the need for manual input to get the thing up and running! Any advice would be gratefully received. Thanks in advance. |
There should be some Windows automation and scheduling programs that can record macros.
E.g. 1) switch to Launcher window 2) type in some text If you find any that works for Launcher please let me know. I am not running a dedi server myself but would like to share this info at other forums. |
It is possible to use so called scripted Telnet. There is multiple tools for this, but here is example of one of them: http://jerrymannel.com/blog/2008/11/...-aka-tst10exe/
Basically, it connects to CoD server, executes a command and disconnects, so you can give CoD server a command from Windows Task Scheduler and so on. |
Thanks a lot. BigRepa figured out how to use it and now we have automatic restarts of Steam, Launcher and missions scheduled from Windows Task Scheduler on Repka servers.
Do not ask me for details as I know nothing except for how to move and click mouse in FMB )) |
Cool
I wonder if BigRepa could post up some guidance for other server admins? |
Are the commands in srcu executed after startup of launcher ? If so then you could place your startups in that file.
edit 1: It seems that the srcu file is executed before the "server" can actually serve - ie. the missLoad, battle and record commands not available until servermode is started , if "Failed to load Steam ServiceServiceStart: failed to start" then this is the server actually starts :( . IMO srcu should start after the server initialization completed. edit 2: After further testing and putting a timeout into end of srcu have been able to autostart . eg. srcu Code:
@set fast off Hope this helps. Mako |
All times are GMT. The time now is 12:33 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.