Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > CoD Multiplayer

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2011, 06:16 PM
epoch epoch is offline
Approved Member
 
Join Date: Apr 2011
Posts: 38
Default 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.
Reply With Quote
  #2  
Old 05-21-2011, 06:44 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

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.
Reply With Quote
  #3  
Old 05-21-2011, 04:47 PM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

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.
Reply With Quote
  #4  
Old 05-25-2011, 09:06 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

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 ))
Reply With Quote
  #5  
Old 05-25-2011, 11:21 AM
epoch epoch is offline
Approved Member
 
Join Date: Apr 2011
Posts: 38
Default

Cool

I wonder if BigRepa could post up some guidance for other server admins?
Reply With Quote
  #6  
Old 05-26-2011, 04:55 AM
No457_Mako No457_Mako is offline
Registered Member
 
Join Date: May 2011
Location: Hervey Bay, QLD, Australia
Posts: 2
Default

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
@set echo on
@set alias on
@set history 20
@alias a alias
@a h history
@a s show
difficulty 277009647
timeout 60 f server.cmd
Green is the default contents and timeout seems to be in seconds and not as msecs as the help states......
Hope this helps.


Mako

Last edited by No457_Mako; 05-26-2011 at 02:00 PM. Reason: Update after testing
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.