Dedicated Server HOW-TO (UPDATE 5/20/11)
This post will be edited as information changes
(update 5/1/11) As of this post i understand that CLoD is making better use of multi cores but just tobe on the safe side here are some recommendations for setting processAffinityMask in your conf.ini file
SET processAffinityMask "3"
Tri-cores & i5s:
SET processAffinityMask "7"
SET processAffinityMask "15"
SET processAffinityMask "85"
SET processAffinityMask "21845"
Step 1.1 (METHOD 1)
there are 2 ways to start a Dedicated server , below is Method 1
Right click Steam Icon (task bar) choose "library" in the upper left corner right click "il2-sturmovik cliffs of dover" and choose properties and then choose "set launch options"
under launch option type in "-server" no quotations! click OK and then close steam windows (don't shut steam down)
Step 1.1A Starting dedicated server(METHOD 2)
open a CMD window navigate to the steam folder and type in
start game, DOS window will open and you may or may not get an error about "servericeservicesteam" just ignore it and continue.
Setting the difficulty level, below in quotes is information that you will copy and save as "settings.cmd" in the root folder of your game \Documents\1C SoftClub\il-2 sturmovik cliffs of dover
You can use any text editor to modify it, 0=off 1=on once you have change the values to your taste you will save the file in the root folder (as settings.cmd) and then in the DOS windows you will type "f settings.cmd" no quotes! hit enter ,now your server has the difficulty's settings you have chosen .
setting your map up correctly, ALL maps must have this code or one like it to keep the server from being cluttered with AI and broken aircraft.
the script below must be dropped in the script section of what ever map you have loaded (under FMB), location is edit,script and then script tab once inserted choose save and a .cs of the same name as your mission will be generated.
now you may place your spawn point AA and what ever else you wish.
Now choose "view" then "object" and choose the top item from the drop menu which is "AI" under AI choose "airfield" and then hold down the CTRL button and left click the mouse with cursor right in the middle of you spawn points, then choose the AI actor tab and set the radius to 250 , this will remove broken AC from the spawn point.
(thnx Dodhouse3 for airfield.cpp)
once your map is done choose "save as" pick a name and make sure you move it to the root along with it .cs mate(see above) folder.
(thnx ZaltysZ for script)
starting your server.
type "missLoad" (name of you map) and hit enter
then type "battle start" if you see an "ok" at the end your server is started
"battle stop" will stop the server and "host" will tell you how many people our on and typing "?" will give you a list of commands
Below is a script using .cmd i use to rotate maps
Intel 2500K (@4.3 ghz)212 CM Cooler
EVGA 660SC (super clocked) 2GB Vram
CORSAIR CMPSU-750TX 750W
64 GB SSD SATA II HD
WIN7 UL 64BIT
Last edited by Thee_oddball; 05-21-2011 at 11:29 PM.