PDA

View Full Version : Dedicated Server HOW-TO


Thee_oddball
04-24-2011, 02:14 AM
This post will be edited as information changes

Step 1
(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

Dual-cores:

SET processAffinityMask "3"

Tri-cores & i5s:

SET processAffinityMask "7"

Quad-cores:

SET processAffinityMask "15"

I7s:

SET processAffinityMask "85"

16-core/8-core hyper-threaded

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
steam.exe -silent -login (username) (password) no Brackets! -applaunch 63950 -server

and here are some command line parameters for the Steam.exe
http://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters_3




Step 2
start game, DOS window will open and you may or may not get an error about "servericeservicesteam" just ignore it and continue.

Step 3
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 .



difficulty AntropomorphicControl 0
difficulty ComplexEManagement 0
difficulty TorqueGyroEffects
difficulty EngineTemperatureEffects 0
difficulty FlutterEffects 1
difficulty WindTurbulence 1
difficulty StallSpins 1
difficulty Vulnerabilty 1
difficulty BlackoutsRedouts 1
difficulty Realisticgunnery 1
difficulty RealisticBombing 1
difficulty LimitedAmmo 1
difficulty LimitedFuel 1
difficulty CockpitAlwaysOn 1
difficulty NoOutsideViews 0
difficulty HeadShake 0
difficulty NoIcons 1
difficulty NoPadlock 0
difficulty Clouds 1
difficulty TakeoffLanding 1
difficulty RealisticLandings 1
difficulty NoMapIcons 0
difficulty NoMinimapPath 1
difficulty NoAutopilot 1
difficulty NoReplacementPlace 0
difficulty NoReplacement 0
difficulty NoSelect 0
difficulty NoReplacementArmy 0
difficulty NoSelectArmy 0
difficulty NoCreate 0



Step 4
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)
using System;
using maddox.game;
using maddox.game.world;
using System.Collections.Generic;

public class Mission : AMission
{
public void _DespawnEmptyPlane(AiActor actor)
{
if (actor == null)
{ return;}

Player[] Players = GamePlay.gpRemotePlayers();

bool PlaneIsEmpty = true;

foreach (Player i in Players)
{
if ((i.Place() as AiAircraft) == (actor as AiAircraft))
{
PlaneIsEmpty = false;
break;
}
}

if (PlaneIsEmpty)
{ (actor as AiAircraft).Destroy(); }
}

public override void OnPlaceLeave(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceLeave(player, actor, placeIndex);
Timeout(1, () =>
{
_DespawnEmptyPlane(actor);
});
}
}


Step 6
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

battle stop

missLoad missions/Multi/Dogfight/doom1a.mis

timeout 180.00 chat Welcome to MadMiget PornLab Server ALL
timeout 200.00 chat please repot all EXP to the 1C forum of this servers name ALL
timeout 340.00 chat Maps rotate Every 4 hours ALL
timeout 14200.000 chat Map will change in 3 minutes ALL
timeout 14260.000 chat Map will change in 2 minutes ALL
timeout 14320.000 chat Map will change in 1 minutes ALL
timeout 14400.000 f mission-2.cmd
battle start

timeout is measured in seconds so 180.00= 3 minutes so by the time 14400.000 roles around (4 hours) the "f" command is given and a new .cmd is loaded that looks just like this one except the map is different :) and the messages if you choose.

S!

KDN
04-24-2011, 02:34 AM
Very much appreciated :)

Avenging Angel
04-24-2011, 03:00 AM
Thank you sir. I'm a happy camper.

Now I have one questions .

What files are needed to start the dedicated server? I really don't want to go out and buy a second game just to run a dedicated server

Thee_oddball
04-24-2011, 03:11 AM
Thank you sir. I'm a happy camper.

Now I have one questions .

What files are needed to start the dedicated server? I really don't want to go out and buy a second game just to run a dedicated server

According to Ataros we need another steam account and parts (cant remember) of our game to get a dedi started...but i cant find the post..perhaps ataros will repost the info :)

LeadFarmer
04-24-2011, 03:54 AM
Oddball,

Can you tell us what the script exectly do>?

Thanks

Thee_oddball
04-24-2011, 04:03 AM
Oddball,

Can you tell us what the script exectly do>?

Thanks

which one Lead?

LeadFarmer
04-24-2011, 04:07 AM
The one by zoltysZ>?

Thee_oddball
04-24-2011, 04:10 AM
The one by zoltysZ>?
from what i read it just "Despawns" planes that a player has abandoned

S!

LeadFarmer
04-24-2011, 04:15 AM
Great thanks a lot, S!

Peril
04-24-2011, 06:47 AM
Thanks a million, new to IL2 and was wondering how I set up a server.

Only problem I have is that I don't wish to buy another copy to use purely as a server. Does IL2-CoD plan to have a free 'server only' copy available? Sure would make promoting the game a lot easier if we could run servers cheaply..

Blackrat
04-24-2011, 08:08 AM
Kewl Oddball, the multi commands in one script now works?

Thee_oddball
04-24-2011, 04:52 PM
Kewl Oddball, the multi commands in one script now works?

you mean like this? this is a scipt from a mission Doghouse3 made

using System;
using maddox.game;
using maddox.game.world;
using System.Collections.Generic;

public class Mission : AMission
{


public override void OnTickGame()
{

if (Time.tickCounter() % 126000 == 18000)
{

GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/128BoBsmBombersv1_0.mis");
GamePlay.gpHUDLogCenter("Intel: 12x Wellington's, 10,000 ft heading to German airfields from NE!");
}


if(Time.tickCounter() % 162000 == 54000)
{
GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/128BoBsmBombersv1a_0.mis");
GamePlay.gpHUDLogCenter("Intel: 12x HE111's, 10,000 ft heading to English airfields from S!");
}

}

public override void OnPlaceLeave(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceLeave(player, actor, placeIndex);
Timeout(1, () =>
{
AiAircraft CurAircraft = player.Place() as AiAircraft;
AiAircraft PrevAircraft = actor as AiAircraft;
if (CurAircraft != PrevAircraft)
{ (actor as AiAircraft).Destroy(); }
});
}

}

Ataros
04-24-2011, 09:36 PM
According to Ataros we need another steam account and parts (cant remember) of our game to get a dedi started...but i cant find the post..perhaps ataros will repost the info :)

Steam files copied to parts\core directory as advised by a developer does not work unfortunately.

Try setting up a separate Steam account on the machine where you run a dedi server. This Steam account can be completely empty, i.e. without any games purchased according to the admin of Repka server.

Thee_oddball
04-24-2011, 11:40 PM
Ok ...6 hours of trial and error has had some positive results :)
all you need to run(tested) the dedicated server is
parts folder with just the core in it
Launcher.exe
Launcher,exe.config
launchergdf,dll

Bad new is that if I take those file mentioned above and move them to another location and Launch the server the window will open but it is followed by a "steamgameserver_init call failed" :(
now i tried copying the steam DLL files that were mentioned in another thread along with some other I thought might help but after trying 50 different ways to launch it i gave up :( this problem is has todo with steam.
Good news is you can start the server with out modifying the launcher :)
open a CMD window navigate to the steam folder and type in
steam.exe -silent -login (username) (password) no Brackets! -applaunch 63950
the obove would be nice if it could be made ito some kind of batch file that would auto start as soon as the computer is started.

here are some more commands ,the most intriguing is the -script one however i could not get it t work :(

Command-line parameters

* -applaunch %id %c - This launches an Game or Application through Steam. Replace the %id with the Game/Application ID number that you want to open up, replace %c with the command line parameters for the game as listed in the Source Games section above.

* -cafeapplaunch - Launch apps in a cyber cafe context (Forces apps to be verified / validated before launch)

* -clearbeta - Opts out of beta participation (in case for some reason it can't be done via settings).

* -complete_install_via_http - Run installation completion over HTTP by default

* -console - Enables the Steam debug console tab

* -ccsyntax - Spew details about the localized strings we load

* -debug_steamapi - enables logging of Steam API functions

* -developer - Undocumented, sets the 'developer' variable to 1. Can be used to open the VGUI editor by pressing F6.
* -fs_log - Log file system accesses
* -fs_target - Set target syntax
* -fs_logbins - Log the binaries we load during operation

* -forceservice - Run Steam Client Service even if Steam has admin rights

* -gameoverlayinject - Sets the method how GameOverlay is injected

* -install %p - Install a product from a specified path (e.g. "D:" for the DVD-ROM drive if D: is one).

* -installer_test - changes installing a retail game to emit all files to install_validate/ folder instead of to the steam cache

* -language %l - Sets the Steam language to the one specified. (Examples: "english", "german")

* -login %u %p - This logs into Steam with the specified Username and Password combination. Replace %u with the username, and %p with the password you want to login with (Steam must be off for this to work.)

* -lognetapi - logs all P2P networking info to log/netapi_log.txt

* -log_voice - writes voice chat data to the logs/voice_log.txt file


* -noasync - Don't use async file operations, run them synchronous instead

* -nocache - This starts steam with no cache (Steam must be off for this to work properly.)

* -no-dwrite - forces vgui to use GDI text even if DWrite support is available

* -script %s - This runs a Steam script. Replace %s with the script filename. All scripts must be in a subdirectory of the Steam folder called test scripts (Steam must be off for this to work.)

* -shutdown - This shuts down (exits) Steam.

* -silent - This suppresses the dialog box that opens when you start steam. It is used when you have Steam set to auto-start when your computer turns on. (Steam must be off for this to work.)

* -single_core - Force Steam to run on your primary CPU only

* -tcp - forces connection to Steam backend to be via TCP

* -voice_quality - sets audio quality, range [1,3]

* -voicerelay - Only allow 'relay' connections for voice (testing).

http://developer.valvesoftware.com/wiki/Command_Line_Options#Examples_2

I don't think making an empty steam account and copying the aforementioned files will work because i think steam will tell you "you dont own that game" but i might be wrong :)

if your going to i would make a il2 folder just like the one you have and drop it in the same location Steam\steamapps\Common and then try the launch method above.

S!

Blackrat
04-25-2011, 12:34 PM
I am talking about the cmd files, obviously got my terminology wrong, busy today will try and experiment tomorrow.

Peril
04-26-2011, 12:59 AM
Keenly watching and waiting ;)

Thanks.

Thee_oddball
04-26-2011, 01:49 AM
I am talking about the cmd files, obviously got my terminology wrong, busy today will try and experiment tomorrow.

if your trying to rotate maps or maintain a certain time of day i can tell if you how to if you like

Blackrat
04-26-2011, 07:19 AM
if your trying to rotate maps or maintain a certain time of day i can tell if you how to if you like

I can do that, but getting the not destroyed actor on new mission, is that a bug or mission design error?

Ataros
04-26-2011, 07:30 AM
I can do that, but getting the not destroyed actor on new mission, is that a bug or mission design error?

I think it is neither a bug nor error. This is the concept of CloD online. There is no such thing as mission as it was in original IL-2, e.g. you can not just unload a mission. A mission in CloD is just new mission objectives like in real life. In real life when mission is over actors do not just disappear if they are still alive. When you load a new mission you are actually just adding new objectives to your current mission. And this is the beauty of CloD as it gets closer to real life simulation.

I think to clear a server from all the actors you have to run a script that specifically does this (destroys actors) or restart server.

Blackrat
04-26-2011, 08:17 AM
I think it is neither a bug nor error. This is the concept of CloD online. There is no such thing as mission as it was in original IL-2, e.g. you can not just unload a mission. A mission in CloD is just new mission objectives like in real life. In real life when mission is over actors do not just disappear if they are still alive. When you load a new mission you are actually just adding new objectives to your current mission. And this is the beauty of CloD as it gets closer to real life simulation.

I think to clear a server from all the actors you have to run a script that specifically does this (destroys actors) or restart server.

So in effect the number of AI increases with each mission load?

Thee_oddball
04-26-2011, 01:56 PM
So in effect the number of AI increases with each mission load?
yes, that is what the script is for that i posted in the OP

Blackrat
04-26-2011, 02:21 PM
yes, that is what the script is for that i posted in the OP

Okay, I know nothing about the mission side of things, I am using Doghouses 1.6 version and that script is not in his cs file that I can see.

Ataros
04-26-2011, 04:33 PM
So in effect the number of AI increases with each mission load?

It should increase if it is not destroyed by any script as far as I understand. I may be wrong of cause. We just started testing my mission on Repka server. Sometimes many AI just die at the same time after mission load.

When you have actors from previous mission do they behave normally or die in the beginning of new mission? Developers asked us to provide a log of such deaths and a track as logs are not enough. If you have the same problem please provide a log with a track I'll post it for devs at sukhoi.ru.

Blackrat
04-27-2011, 06:07 AM
It should increase if it is not destroyed by any script as far as I understand. I may be wrong of cause. We just started testing my mission on Repka server. Sometimes many AI just die at the same time after mission load.

When you have actors from previous mission do they behave normally or die in the beginning of new mission? Developers asked us to provide a log of such deaths and a track as logs are not enough. If you have the same problem please provide a log with a track I'll post it for devs at sukhoi.ru.

I had that in the early weeks but not now, now it just states actor not destroyed. Are the Devs only paying attention at sukhoi.ru and not here?

Blackrat
04-27-2011, 06:12 AM
OKay gotta an issue with rotation, it seems to rotate (same mission reloading) but then all clients timeout even with the DOS box open still. Any ideas?

Start.cmd

console LOG on
console LOGTIME on
difficulty HeadShake 1
mp_dotrange DOT 20
f mission1.cmd

mission1.cmd

battle stop

missLoad 128Bobv1_6.mis
timeout 900.00 chat Welcome to Syndicate full real server ALL
timeout 900.00 chat www.syndicatesquadron.com for forum and Vent details ALL
timeout 900.00 chat Maps rotate Every 3 hours ALL
timeout 10200.000 chat Map will change in 10 minutes ALL
timeout 10500.000 chat Map will change in 5 minutes ALL
timeout 10620.000 chat Map will change in 3 minutes ALL
timeout 10680.000 chat Map will change in 2 minutes ALL
timeout 10740.000 chat Map will change in 1 minutes ALL
timeout 10800.000 f mission2.cmd
battle start

mission2.cmd

battle stop

missLoad 128Bobv1_6.mis
timeout 900.00 chat Welcome to Syndicate full real server ALL
timeout 900.00 chat www.syndicatesquadron.com for forum and Vent details ALL
timeout 900.00 chat Maps rotate Every 3 hours ALL
timeout 10200.000 chat Map will change in 10 minutes ALL
timeout 10500.000 chat Map will change in 5 minutes ALL
timeout 10620.000 chat Map will change in 3 minutes ALL
timeout 10680.000 chat Map will change in 2 minutes ALL
timeout 10740.000 chat Map will change in 1 minutes ALL
timeout 10800.000 f mission1.cmd
battle start

Ataros
04-27-2011, 06:30 AM
Are the Devs only paying attention at sukhoi.ru and not here?

We have a long-time community member at sukhoi who happens to be a part of dev team now but does not speak English. Most of the dev team does not speak English I think and do not have time to read forums except for bug-report threads.

This 1C site is a forum of the publisher for Russia and CIS only.
Official support for international community is done by the international publisher at UBI forums. They must be more helpful.

Blackrat
04-27-2011, 06:43 AM
We have a long-time community member at sukhoi who happens to be a part of dev team now but does not speak English. Most of the dev team does not speak English I think and do not have time to read forums except for bug-report threads.

This 1C site is a forum of the publisher for Russia and CIS only.
Official support for international community is done by the international publisher at UBI forums. They must be more helpful.

Thanks for that, at least we have an ear listening somewhere and you are doing a great job picking snippets up here and passing it on thanks. :grin:

Ataros
04-27-2011, 06:53 AM
Here is an almost official bugreports thread for online bugs http://translate.googleusercontent.com/translate_c?hl=en&ie=UTF-8&sl=ru&tl=en&u=http://www.sukhoi.ru/forum/showthread.php%3Ft%3D68697&prev=_t&rurl=translate.google.com&twu=1&usg=ALkJrhja0kPv9prWIOY0lYwV5FU3XRsTLQ

Feel free to post your error logs there if you wish. The guy from dev team is naryv and he is very helpful. He provided the scripts you use on SYN server.

upd.

Dedicated Server thread http://translate.googleusercontent.com/translate_c?hl=en&ie=UTF-8&sl=ru&tl=en&u=http://www.sukhoi.ru/forum/showthread.php%3Ft%3D67964&prev=_t&rurl=translate.google.com&twu=1&usg=ALkJrhgsx7yZNim13hyt6jWpYbSJr4CTNw

Editors, scripts, mission forums http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=ru&tl=en&u=http%3A%2F%2Fwww.sukhoi.ru%2Fforum%2Fforumdispla y.php%3Ff%3D233

Blackrat
04-27-2011, 09:08 AM
Just watched the server rotate, all in the Dos box is okay and reports battle started again, but clients time out. I checked the processes and launcher was maxxing out one of the cores and using 518mb of RAM. Deffo a bug or something happening when stopping a battle and restarting it after reloading the mission.

MuxaHuk
04-27-2011, 07:04 PM
thank you for your reports!
we are reading almost all topics, but haven't much time to reply.

We are checking rotation script, no errors as i can see.
may be a new beta-patch (from 27 april) will fix problems.

Avenging Angel
04-27-2011, 07:34 PM
What is the exact path to where one would put the missions either downloaded or created. I see a number of folders one name "mission" another is " missions" and they are both in the IL2 club folder and the steam common folder.

Please explain.

Thank you.

Thee_oddball
04-28-2011, 12:18 AM
Just watched the server rotate, all in the Dos box is okay and reports battle started again, but clients time out. I checked the processes and launcher was maxxing out one of the cores and using 518mb of RAM. Deffo a bug or something happening when stopping a battle and restarting it after reloading the mission.

I dont think we need to use the cmd to rotate maps anymore...let me have a look at a script i was missing with and ill get back to you

Thee_oddball
04-28-2011, 01:15 AM
i am trying to add this to a script but i keep getting a CS1518 error when compiling (42,21 Where the BOLD type is) I looked it up but still cannot figure out what i have done wrong..trying to get it to kill all the actors upon switching map

public override void OnBattleStoped(AiActor actor, int placeIndex)
{
base.OnBattleStoped(actor, placeIndex);
Timeout(1, () =>
{
AiAircraft CurAircraft = AiActor.Place() as AiAircraft;
AiAircraft PrevAircraft = actor as AiAircraft;
if (CurAircraft != PrevAircraft)
{ (actor as AiAircraft).Destroy(); }
}
}

Thee_oddball
04-28-2011, 01:18 AM
What is the exact path to where one would put the missions either downloaded or created. I see a number of folders one name "mission" another is " missions" and they are both in the IL2 club folder and the steam common folder.

Please explain.

Thank you.

put them under missions in the non steam folder

S!

MuxaHuk
04-28-2011, 07:14 AM
public override void OnPlaceLeave(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceLeave(player, actor, placeIndex);
Timeout(1, () =>
{
AiAircraft CurAircraft = player.Place() as AiAircraft;
AiAircraft PrevAircraft = actor as AiAircraft;
if (CurAircraft != PrevAircraft)
{ (actor as AiAircraft).Destroy(); }
});
}

MuxaHuk
04-28-2011, 07:17 AM
OnBattleStoped have not parameters, just OnBattleStoped()

Avenging Angel
04-29-2011, 03:09 AM
Thanks I understand now. You had to put the path in the "missLoad XXX.mis" command.

Thank you.

SC/JG Matoni
04-29-2011, 04:42 PM
~S,

I get errors on both of those corrections MuxaHuk

Matoni

Thee_oddball
04-29-2011, 10:30 PM
~S,

I get errors on both of those corrections MuxaHuk

Matoni

what are you trying todo?

Thee_oddball
05-01-2011, 04:01 PM
update

klem
05-16-2011, 08:27 PM
.............

Below is a script using .cmd i use to rotate maps

................................


If I want to use both the 'Despawn' and 'three mission' script examples in my mission, do I just copy them whole, one after the other, into the .cs file or do I use the

using System;
using maddox.game;
using maddox.game.world;
using System.Collections.Generic;

public class Mission : AMission
{

part once then place each part of code within its start and end {....}

followed by the 'public class Mission : AMission' ending bracket

}
?

Like This:


using System;
using maddox.game;
using maddox.game.world;
using System.Collections.Generic;

public class Mission : AMission
{
public void _DespawnEmptyPlane(AiActor actor)
{
if (actor == null)
{ return;}

Player[] Players = GamePlay.gpRemotePlayers();

bool PlaneIsEmpty = true;

foreach (Player i in Players)
{
if ((i.Place() as AiAircraft) == (actor as AiAircraft))
{
PlaneIsEmpty = false;
break;
}
}

if (PlaneIsEmpty)
{ (actor as AiAircraft).Destroy(); }
}

public override void OnPlaceLeave(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceLeave(player, actor, placeIndex);
Timeout(1, () =>
{
_DespawnEmptyPlane(actor);
});
}


public override void OnTickGame()
{

// loads the 1st sub-mission in 10 min and repeates it every 60 min.
if (Time.tickCounter() % 108000 == 18000) // 108000 = 60 min repeat. 18000 = 10 min delay.
// pls. note!!! the 1st figure above must be always larger than 2nd!
{
GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/My_mis1/mission1.mis");

// prints message on screen after mission load
GamePlay.gpHUDLogCenter("Hello, world! Mission1.mis loaded!");

// prints message on screen in 10 minutes / 600 seconds
double initTime = 0.0;
Timeout(initTime += 600, () =>
{
GamePlay.gpHUDLogCenter("10 minutes into the 1st mission! Wow! It works!!!");
});

// prints message on screen in 5 minutes / 300 seconds
Timeout(initTime += 300, () =>
{
GamePlay.gpHUDLogCenter("Wholy s.. it works!!!");
});

}

// loads the 2nd sub-mission, etc. the same way
if (Time.tickCounter() % 108000 == 54000) // 108000 = 60 min repeat, 54000 = 30 min delay.
{
GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/My_mis1/mission2.mis");
GamePlay.gpHUDLogCenter("Mission2.mis loaded!");
double initTime = 0.0;
Timeout(initTime += 600, () =>
{
GamePlay.gpHUDLogCenter("Mission2 10 min message!");
});

Timeout(initTime += 300, () =>
{
GamePlay.gpHUDLogCenter("Mission2 15 min message!");
});
}

// loads the 3rd sub-mission
if (Time.tickCounter() % 108000 == 90000) // 60 min repeat, 50 min delay
{
GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/My_mis1/mission3.mis");
GamePlay.gpHUDLogCenter("Mission3.mis loaded!");

double initTime = 0.0;
Timeout(initTime += 600, () =>
{
GamePlay.gpHUDLogCenter("Mission3 10 min message!");
});
Timeout(initTime += 300, () =>
{
GamePlay.gpHUDLogCenter("Now it really works! You are a genius! Have fun!");
});
}
}


}


????

Ataros
05-16-2011, 08:51 PM
If I want to use both the 'Despawn' and 'three mission' script examples in my mission, do I just copy them whole, one after the other, into the .cs file or do I use the


Wrong thread I think ))
Check out this working script http://forum.1cpublishing.eu/showpost.php?p=283765&postcount=41

Discussion moved here http://forum.1cpublishing.eu/forumdisplay.php?f=203

klem
05-16-2011, 10:47 PM
Wrong thread I think ))
Check out this working script http://forum.1cpublishing.eu/showpost.php?p=283765&postcount=41

Discussion moved here http://forum.1cpublishing.eu/forumdisplay.php?f=203

oooops thanks :)

Thee_oddball
05-21-2011, 01:29 AM
update

Ataros
05-23-2011, 07:00 AM
What is the default ingame setting for mpdotrange?

Billy885
08-18-2011, 08:39 PM
Ataros,

You can get that yourself just load or reload the server and then in console window type:

mp_dotrange

Here is what I got below:

8>Friendly Dot Ranges:
DOT 14 km
COLOR 6 km
TYPE 6 km
NAME 6 km
ID 6 km
RANGE 6 km
Foe Dot Ranges:
DOT 14 km
COLOR 6 km
TYPE 6 km
NAME 6 km
ID 6 km
RANGE 6 km

Madfish
08-20-2011, 02:29 AM
Hello, nice tutorial.

You mention process affinity - is it really necessary for the CloD server to use multiple cores on a modern host machine?

Is there a performance stress test map we could run and see if it's enough or not?

Ataros
08-20-2011, 07:41 AM
Load depends mostly on number of players. Check out some data with 49 players here:
http://forum.1cpublishing.eu/showpost.php?p=320957&postcount=115

ATAG_Doc
08-24-2011, 04:08 AM
Good info!

Wandalen
08-25-2011, 08:48 PM
Thanks for all the info :) i am in no rush to start up the server as long as we got more servers than players... annyway the game is still in an early stage. So there for i will try to get this server settings and scripting into my fingers :)
manage to start the server and load up the map. Only issu is that i can only see the server in LAN window :( i got the port 27016 and port 20000 open.
Still no luck. but i guess that it can be some settings in the "confs.ini" like in il2 1946 i tryed various settings and ip but... :|

So how do you ppl edit the confs file? and wath ports do you open ? anny special ports for Steam?

Here is my defoult confs how should it look like ?

[NET]
serverName=Dedicated Server
serverDescription=IL-2 Sturmovik: Cliffs of Dover
speed=100000
localPort=27016
maxPlayers=16
serverInfo1=
serverInfo2=
serverInfo3=
serverInfo4=
VAC=1

[Console]
IP=20000
IPS=
LOG=0
LOGTIME=0
LOGFILE=logs.txt
HISTORY=128
HISTORYCMD=128
WRAP=1
PAUSE=1
PAGE=20
LOGKEEP=1

[BOB]
difficulty=8058095
[sound]
SoundUse=0
speakers=-1
[core]
LinearObjectManager=1
Roads=0



~S~

Wandalen
08-26-2011, 02:06 PM
Newermind i forgot the moast obvious... different port for server and gaming pc must be open if you want to join your own server ;-)

Ataros
08-30-2011, 08:02 PM
A question to those who ran a dedicated server in Il-2 via HyperLobby.
How to make your dedi server visible in HyperLobby?

Regarding CloD they say only
This version of HL like latest one support automated server session startup via -a commandline parameter, so there is not problem automate dedicated server registration via HyperLobby ... (http://hyperfighter.sk/modules.php?name=Forums&file=viewtopic&t=8115)
How can Repka admin "automate dedicated server registration via HyperLobby"? I would like to pass this info to him.

Thanks in advance.

ps. HL client test discussed here http://forum.1cpublishing.eu/showthread.php?t=25745&page=3

Troll2k
08-30-2011, 10:42 PM
As I recall I just renamed the dedicated exe to il2fb.exe.Then I registered a new account name in HL(the name I wanted the server to show up as).I login to HL with the server name and start the server as if I was just starting a game.(clicking in the top open slot in a mission room).Hl does the rest.

I am not sure what all this automated(and command line) stuff is all about.

Ataros
08-31-2011, 05:47 AM
Thank you. It would be nice to do it 100% automatically in future.

Jiri-Fojtasek
08-31-2011, 07:41 PM
A question to those who ran a dedicated server in Il-2 via HyperLobby.
How to make your dedi server visible in HyperLobby?

Regarding CloD they say only
[/URL]
How can Repka admin "automate dedicated server registration via HyperLobby"? I would like to pass this info to him.

Thanks in advance.

ps. HL client test discussed here [url]http://forum.1cpublishing.eu/showthread.php?t=25745&page=3 (http://hyperfighter.sk/modules.php?name=Forums&file=viewtopic&t=8115)

It can be done in two steps:

1./ Setup game server - Click top slot in OPEN MISSION 1,2 or 3 it will show game server setting dialog, in the dialog fill all details regarding the server and do not forget check "Dedicated server" checkbox. Then click save and beside the OPEN MISSION labell wil be show blue button. Click it and hit "Start the game" button. This will start the server and you can check if all is OK ...

2./ Close the server and HyperLobby. Create new shortcut for HyperLobby, click properties and add -a commandline parameter so it will look like this on my computer:
"C:\Program Files (x86)\HyperLobby client\hyperlobby.exe" -a
Click the shortcut and HL automaticaly start the dedicated server and register itself with last game server configuration ...

When the game server is running in -a (automatic mode) and is closed by itself or by admin , HL will close automatically too. You can use it for regular server restart by its own "exit" console command and scripted HL startup ...

SC/JG Matoni
09-01-2011, 06:51 AM
~S,

Silly question of the day, when using HL, will you still show up in the steam list (ingame), to non HL users?

Matoni

Jiri-Fojtasek
09-01-2011, 07:11 AM
~S,

Silly question of the day, when using HL, will you still show up in the steam list (ingame), to non HL users?

Matoni

Its choice of user hosting the game. Hl do nothing regarding this.

Ataros
09-01-2011, 09:54 AM
Click the shortcut and HL automaticaly start the dedicated server and register itself with last game server configuration ...

Thank you for your fantastic program and for detailed explanation.

Could you tell how HL starts CloD dedi server? Does it run this command line or a different one?
"C:\Program Files (x86)\Steam\steamapps\common\il-2 sturmovik cliffs of dover\Launcher.exe" -server
Can the way HL starts the server be edited in some config file?

I am asking because Repka servers are run 100% automatically with AutoIt scripts and scripted telnet.

Jiri-Fojtasek
09-01-2011, 03:18 PM
Thank you for your fantastic program and for detailed explanation.

Could you tell how HL starts CloD dedi server? Does it run this command line or a different one?
"C:\Program Files (x86)\Steam\steamapps\common\il-2 sturmovik cliffs of dover\Launcher.exe" -server
Can the way HL starts the server be edited in some config file?

I am asking because Repka servers are run 100% automatically with AutoIt scripts and scripted telnet.

It starting server with that commandline. HL ATM Changing sconf.ini file items:

[NET]
serverName=
serverDescription=
localPort=

[BOB]
difficulty=

But it can be subject of change.

ATAG_Bliss
09-01-2011, 07:20 PM
Jiri,

Thanks for your work with HL and getting it working for IL2COD. I just donated $100. Hope it helps to cover some of the costs. I know it can't be cheap.

Thanks again :)

Troll2k
09-05-2011, 10:29 PM
I am trying to password protect a dedicated server.

I started the server using the desktop shortcut to the launcher.I used the parameters -server -pwd.

The dos box opens and I can start a mission but I see no place to insert a password.The help list does not mention and password commands.


I also tried using Hyperlobby.I clicked in the top slot of an open mission.I checked the dedicated server box and the password box.Then click save info.I then clicked the blue button and made sure dedicated server and password were both checked and then I clicked on start game.I then got the dos box.Once again I saw nowhere to enter a password.

I started the server and it showed in the left column under "games in progress".However the name of the server(text not ping) showed in green.I expected it to show in red.Also when I clicked on the server the info box said it was dedicated and password protected.A friend was able to join without any password.

So how do you set a password for a dedicated server?

On a side note I was able to set a password for just hosting a game in HL.It did show in the left column in red text.

Dangerousdave26
09-06-2011, 12:43 AM
I started the server using the desktop shortcut to the launcher.I used the parameters -server -pwd.



I think all you are missing is the password in the start up command.

-server -pwd {somepassword}

gec
10-10-2011, 10:46 AM
in sturmovik we have server.cmd file that is run automatically with server start.

is that possible with CLOD?

thx

Vyper
10-10-2011, 04:27 PM
This weekend wanting to test the latest beta, I installed all the files and the hotfix.

While I haven't had issues before and have had a test sever run for weeks for myself and squad mates to play with....what I started getting now is a message box in steam saying Steam logging server off.

I can run the server, I can join it behind my router as lan, but steam just fails to "post" the server, and no one can join even when trying directly (which I'm assuming has to be controlled via steam also).


Ports are open, router is working, 2nd computer is hardwired to router, 2nd account is connected and running steam as required.


Anyone have any ideas what changed or what is happening?


Thanks.

O_TaipaN
10-23-2011, 01:16 PM
Has anyone got it to work with -server command without buying a second copy of CloD?

When I try with launcher.exe -server I get the error

"4)Failed to load Steam Service
ServiceStart: failed to start"

Even though I have a blank steam account logged into steam in the background.

Do we need to buy CloD another copy for the server?

O_TaipaN
10-25-2011, 09:22 AM
Well we got the server going ok, and can connect via direct IP address.

BUT - it doesn't show up in the server list browser in CloD.

I suspect it's due to the error:

"4)Failed to load Steam Service
ServiceStart: failed to start"

Does anyone have any idea how to get around this or why it would not show up in the server list?

Cheers

Ataros
10-25-2011, 10:20 AM
Go to Steam >> Servers >> LAN. If you see your server there it will appear in Steam soon.

Ask others to add your server to Favorites in Steam and do it at home PC.

There were several other solutions posted on the forums somewhere. Search for them. One was from ATAG team iirc.

O_TaipaN
10-26-2011, 02:24 AM
Yeah when I search for "Failed to load Steam Service" it gives only this thread and one other without a solution to the issue :(

The server is not on my LAN, it's in another country so I can't go Steam->Servers->LAN :)

But I could add it to favourites I think.

So are you saying that if enough people add it as a favourite, then only then Steam will list it?

ATAG_Bliss
10-26-2011, 02:44 AM
Taipan,

If you add your server as a favorite it will only temporarily show up, until it actually does a steam handshake (to show up permanently). It'll get old adding your server as a favorite every time you launch the server ;) For some reason, some servers won't do the handshake on their own. This is how I got ours to work:

http://forum.1cpublishing.eu/showthread.php?t=26435

O_TaipaN
10-26-2011, 03:18 AM
Hmm, but launching it through Steam GUI itself requires buying another copy of the game..

Also it won't let you use the server automation scripts and restarts, since someone needs to go into steam manually and launch it each time :(

Or do you mean we only need to do that if changing hosts/IP addresses?

We have a static IP - does that mean the favourites trick is all we need to do and it will appear every time it restarts since it's already in favourites we don't need to add it each time?

O_TaipaN
10-26-2011, 03:35 AM
Another question, does the server run multithreaded i.e. will it take advantage of all the CORES?

I'm wondering whether to set affinity so it doesn't bother the ROF server.

I think by the end of this I'll know more about starting a server than starting the engine of these planes..

Thanks for the help Bliss

Bone Head
10-31-2011, 10:39 AM
Sorry for going off on one here especially as this is my first post here but I find it incredibly frustrating that there seems to be no 'simple' way of putting up a dedicated server let alone several. Unless of course someone can correct me on this?

Ive been running dedicated IL2 servers since it first came out. The community cried out for a dedicated server to be released and eventually it was. I believe without the community and the dedicated boxes supporting it IL2 would have died out completely years ago with a loss of revenue to its developers too.

I am keen to support CLOD, we tried when it was first released but gave up as it was too buggy and there was no dedicated server.

We are revisiting it again now and have server hardware sat idle because I refuse to buy multiple copies of the game and set up multiple steam accounts. Somone put me out of my misery and tell me I dont have to do this?

O_TaipaN
10-31-2011, 11:02 AM
I'ts not that hard you bone head :-P

Seriously, we got it working without buying a second copy of the game.

We created a second steam account with another gmail - only for the purposes of having steam running in the background just in case.

Basically:
1. Login to your dedicated server with your own account on steam first, then download the game fully then logoff steam.
2. Login to steam with your secondary steam account (doesn't own the game)
3. Use notepad to create a file called ServerScript.cmd in your (Documents\1C SoftClub\il-2 sturmovik cliffs of dover), and make the contents as per code block below.
4. Go to a CMD prompt - do it from a shortcut as Administrator.
5. CD to the steamapps cliffs of dover folder
6. In cmd prompt type "Launcher.exe -server"
7. In the new server window that comes up, type in "f ServerScript.cmd" and the server will start
8. Ask a few people to add the IP address of the server to Steam favourites, then it will eventually appear on the master list.
9. Go fly

This is for the ServerScript.cmd:

difficulty AntropomorphicControl 0
difficulty ComplexEManagement 1
difficulty TorqueGyroEffects 1
difficulty EngineTemperatureEffects 1
difficulty FlutterEffects 1
difficulty WindTurbulence 1
difficulty StallSpins 1
difficulty Vulnerabilty 1
difficulty BlackoutsRedouts 1
difficulty Realisticgunnery 1
difficulty RealisticBombing 1
difficulty LimitedAmmo 1
difficulty LimitedFuel 1
difficulty CockpitAlwaysOn 1
difficulty NoOutsideViews 0
difficulty HeadShake 1
difficulty NoIcons 1
difficulty NoPadlock 1
difficulty Clouds 1
difficulty TakeoffLanding 1
difficulty RealisticLandings 1
difficulty NoMapIcons 1
difficulty NoMinimapPath 1
difficulty NoAutopilot 1
difficulty NoReplacementPlace 0
difficulty NoReplacement 0
difficulty NoSelect 0
difficulty NoReplacementArmy 0
difficulty NoSelectArmy 0
difficulty NoCreate 0
missLoad "missions\Multi\Dogfight\REPLACE_ME_WITH_MISSION_NA ME.mis"
battle start


For more stuff, see the other posts.
Don't forget firewall ports, mission editing, and consider the C# script from ZaltyS that removes AI from empty player planes from airbases

Bone Head
10-31-2011, 03:59 PM
Thanks for that. Ill have another look, But for example to set up a Red Orchestra server or any of the more popular games using steam you type a simple script into a cmd prompt, it downloads the latest version of the server and away you go.

Most other games you simply download the server file and run it after altering one or two scripts. Unfortunately we in the flight sim community rely heavily on the good will of others who produce software like HL and FBD (j) etc to make things work.

Just my 10 cents and after 12 years of hosting games I think I have a fair grip on how things are and how they should be.

Right rant mode disengaged for now. :)

Bone Head
10-31-2011, 04:08 PM
O Taipan what kind of server are you using? You dont have a fancy graphics card in it do you to get this working?

I have followed your instructions and im getting an error in the launcher failed to load steam service and servicestart: failed to start plus a popup saying connection to steam lost exiting.

Im off in search of a cure but if anyone can help I'd appreciate it.

O_TaipaN
10-31-2011, 08:48 PM
:) it's not a popular game.

That's your install process above.

Once it's setup you can start it with 2 commands only.

We like to play DCS but our server can't run DCS because it needs a full 3d graphics card - Eagle Dynamics doesn't make a DServer app. My point is be greatful we got one out of the box. DCS will wait another year or so before we get one for dedicated boxes.

salmo
11-01-2011, 06:57 AM
I have read through this thread & I'm still stuck trying to start a dedicated COD server. Like bonehead, I get "failed to load steam service and servicestart: failed to start" in the command window. I'm not a computer newbie, but I can't figure this one out.

1. I have a steam account with my COD installed & playing well.
2. I have created a second (empty) steam account & know how to change from one account login to the other & back again.
3. I open a command window from the steam directory & type "steam.exe -silent -login (username) (password) no Brackets! -applaunch 63950 -server " using my second (empty) account login & password (as in 1st post in this thread) & get the above command window errors.
4. Taipan says (step 1) "Login to your dedicated server with your own account on steam first". What dedicated server? That's what I'm trying to do.

baby steps please someone :)

O_TaipaN
11-01-2011, 07:35 AM
Ignore the steam error it will still work, follow the rest of the steps dude

O_TaipaN
11-01-2011, 07:52 AM
Bone Head I missed your post - but yeah we have a VM ie no 3D graphics, and we always get an error on launch with no issues.

Steam error in the server black text window, but we get no popup about "connection to steam lost". I could guess that you need to port forward in your firewall, check the port in confs.ini

salmo
11-01-2011, 08:09 AM
Ignore the steam error it will still work, follow the rest of the steps dude

OK, got the server command window running. Says that mission launched OK & I can see events happening in the command window. I've logged back onto my "player" COD account & made the server account my "friend" but nothing appears in the multiplayer-client list yet :(

O_TaipaN
11-01-2011, 09:30 AM
No friends, you have to make the server IP a "favorite"

It's in steam in the top menus somewhere. Bloody hard to find it took me a while to dig and finally found it. Then go to CloD and it should appear. Sometimes it takes a few hours. Gotta love steam..

Bone Head
11-01-2011, 10:00 AM
It looks like a firewall error but I have tried it with the firewall off. Same problem. I have also tried starting it with the account that I used to buy the game (mine :))

Ill work on it some more later.

To be honest I dont feel greatfull for anything. Shouldnt the devs be greatfull that people like us are prepared to invest our money to potentially increase their sales? Our dedicated servers cost a lot of money, we run them for love not money, Im out of pocket most months but its my hobby so ....

That said if anyone wants a real dedicated box give me a shout :)

Online flight sims are a bit of a niche market, I dont want companies to stop developing them but we do pay for a product at the end of the day, and the customer is always right :)

I am very keen to get this working because there are a lot of people relying on me getting it working.

salmo
11-01-2011, 12:02 PM
Got the server up & running. A couple of people have joined mission OK, but I cannot join the server. Hosting server & playing on same box. Will look back in this thread, IIRC there was some info on setting up server & playing on same machine. Thanks for help.

O_TaipaN
11-01-2011, 12:36 PM
Bone Head what sort of router you have between your server and Internet?

In command prompt can you type "ipconfig", post your IP and gateway address.

Then go to www.whatismyip.com

Does the website show the IP address or the gateway address?

If it shows the gateway - you still have to port forward on the gateway even if firewall off.

Bone Head
11-01-2011, 03:13 PM
Its a dedicated leased line, I have lots of IP addresses, lots of servers hosting IL2, Rise of Flight, Red Orchestra (steam), TF2, TS3, web servers etc.

Im fairly confident its not a routing problem. I need to go back over this thread and make sure I havent missed a setting somewhere like an IP address. Also the server has 2 NIC's so maybe that is confusing it although all my other servers have 2 NICs and ive never had this problem before.

Red orchestra doesnt need a steam account to download the dedicated server, which is how it should be done.

Bone Head
11-01-2011, 05:22 PM
If I run launcher once I get the error, if I dont click on the error box that pops up and run it again then that seems to allow the server to start, very weird.

Do any of the config files need altering? We have 2 nic's in this server one has a local ip the other an external.

The other thing is im using win 2003 server on this machine, I used XP in the past for the IL2 servers. Im windering if its an OS problem.

Bone Head
11-01-2011, 07:23 PM
Ive got it running in a fashion now. It is the second NIC that seems to be causing the problem.
Would be good to know what is the way around this so I can keep the local NIC going as well.

O_TaipaN
11-01-2011, 08:31 PM
Cool

We have 4 virtual NICs but they are all external.

Somehow yours is going internal first

salmo
11-01-2011, 09:07 PM
Sucess :) Server up & running & I can join from the same box. Other join OK. Thanks all.

Bone Head
11-02-2011, 08:57 PM
So are you binding the game to one specific nic or is it contactable on all of them? Is there a setting in your config files?
Thinking about it why would you want 4 virtual nics anyhow :)

What is the spec of your virtual machine? We are running our 64 player IL2 server on its own hardware I wasnt confident a VM would be up to it.

O_TaipaN
11-02-2011, 09:40 PM
It's taking the lowest IP in the list.

No settings I saw.

Quad core with hyper threading.

We set affinity 2 cores for ROF server, other 2 for CloD that saved most issues

28_Condor
11-10-2011, 09:19 AM
I managed to launch my server with the command -server +si_name "your server name here", but the server name does not appear even adding +hostname, as well as unable to configure the number of players...


How do I configure these settings?

Megahurt
12-29-2011, 02:49 PM
I have an I7 950

I want to place "SET processAffinityMask "85" in the conf.ini

Where exactly do i paste this?

klem
12-29-2011, 03:17 PM
I have an I7 950

I want to place "SET processAffinityMask "85" in the conf.ini

Where exactly do i paste this?

in conf.ini (in the My Documents/1C Soft Club/Il-2 CoD/ folder

paste it under [rts]:

[rts]
tickLen=30
ProcessAffinityMask=85
maxTimerTicksInRealTick=20
.......

Megahurt
12-29-2011, 03:46 PM
With what was already under RTS it now looks like this in the conf.ini:

[rts]
; 0 - not use, 1 - show cursor and not capture, 2 - not show cursor, and capture
mouseUse=2
; 0 - not use, 1 - use if hardware exist
joyUse=1
; 0 - not use, 1 - use if hardware exist
trackIRUse=1
tickLen=30
ProcessAffinityMask=85
maxTimerTicksInRealTick=20


Im hoping this will boost performance.

klem
12-29-2011, 09:36 PM
With what was already under RTS it now looks like this in the conf.ini:

[rts]
; 0 - not use, 1 - show cursor and not capture, 2 - not show cursor, and capture
mouseUse=2
; 0 - not use, 1 - use if hardware exist
joyUse=1
; 0 - not use, 1 - use if hardware exist
trackIRUse=1
tickLen=30
ProcessAffinityMask=85
maxTimerTicksInRealTick=20


Im hoping this will boost performance.

Looks correct.

I suspect that CPU is not an issue though. If you lok at it in Task Manager under 'Performance' I expect the cores are only running around 30-50%.

Your Graphics Card will be the limiting factor and you'll need at least 4Gb RAM, preferably 6+.

5./JG27.Farber
02-08-2012, 03:39 PM
I managed to launch my server with the command -server +si_name "your server name here", but the server name does not appear even adding +hostname, as well as unable to configure the number of players...


How do I configure these settings?

It takes time for your server to show up the first time. Best thing to do is have some people direct connect to the IP, port should be 27015

itgl72
03-10-2012, 04:06 PM
I've just read through this entire forum thread. Let me start by saying Ive been running game servers for the better part of 10 years including steam games. THIS setup, is much more complicated and convoluted than it needs to be. My appreciation to the community that is supporting the users to get this going. But this is basically a hack setup.

It will be less of a head ache for people that have desktop access to their personal machines or to a machine they rent. However, for people that rent machines that run an TCAdmin because they have different requirements, this is a nightmare to setup.

Thee_oddball
03-24-2012, 01:02 AM
I've just read through this entire forum thread. Let me start by saying Ive been running game servers for the better part of 10 years including steam games. THIS setup, is much more complicated and convoluted than it needs to be. My appreciation to the community that is supporting the users to get this going. But this is basically a hack setup.

It will be less of a head ache for people that have desktop access to their personal machines or to a machine they rent. However, for people that rent machines that run an TCAdmin because they have different requirements, this is a nightmare to setup.

while I agree with you this was a better option than just giving up, it got servers up people in them and playing :)

EFG_Fried
03-24-2012, 03:26 PM
Hello,

Some people have in RTS: ticklen=30.

: maxTimerTicksInRealTick=20

I haven't theses lignes. There are necessary ? And what is it used for ?

Thx for an answer

xpupx
04-09-2012, 05:26 AM
Noob Server help required.
We are trying to setup a dedicated server but I get two errors come up, I have followed the setup instructions to the letter! (see pic)
Any help would be greatly appreciated

_79_dev
04-09-2012, 08:52 AM
you need to create file called Settings.cmd put it in Il2cliffs of dover folder and edit. I will give u example with full switch, max difficulties:


difficulty AntropomorphicControl 0
difficulty ComplexEManagement 1
difficulty TorqueGyroEffects 1
difficulty EngineTemperatureEffects 1
difficulty FlutterEffects 1
difficulty WindTurbulence 1
difficulty StallSpins 1
difficulty Vulnerabilty 1
difficulty BlackoutsRedouts 1
difficulty Realisticgunnery 1
difficulty RealisticBombing 1
difficulty LimitedAmmo 1
difficulty LimitedFuel 1
difficulty CockpitAlwaysOn 1
difficulty NoOutsideViews 1
difficulty HeadShake 1
difficulty NoIcons 1
difficulty NoPadlock 1
difficulty Clouds 1
difficulty TakeoffLanding 1
difficulty RealisticLandings 1
difficulty NoMapIcons 1
difficulty NoMinimapPath 1
difficulty NoAutopilot 1
difficulty NoReplacementPlace 0
difficulty NoReplacement 0
difficulty NoSelect 0
difficulty NoReplacementArmy 0
difficulty NoSelectArmy 0
difficulty NoCreate 0
mp_dotrange DOT 25

Troll2k
04-09-2012, 09:40 AM
You need the missLoad command to load the map.

Bone Head
04-25-2012, 12:56 PM
Im having another look at this again, hopefully because the next update will make it useable.

Anyhow, its been a while so Im rusty but I have followed the instructions from this thread and im getting nowhere really.

Ive logged into steam on the server hardware using my own steam account and downloaded CLoD.

If I stay logged on with my personal account all is well i can start the server as far as getting the command promt launcher box up.

However if I then log off and log in with the other accout we used to use and type "H:\steam\Steam.exe -silent -login blahblah blahblah -applaunch 63950 -server" all I get is the steam store page, I guess trying to sell me the game.

Any help greatly appreciated.

=AN=Apache
04-25-2012, 03:27 PM
Hello all ...

I'm setting up a dedicated server to the squad "= AN =" and I'm using to launch the CMD is the command line: ("C: \ Program Files \ Steam \ steam.exe"-silent-log xxxx xxxxxx in Brackets! Applaunch-63,950-server-pwd xxx) the problem is that when I put the password and run a bat file (clinte PC) I can not enter the server. CONNECTION TIMEOUT

Could someone tell me what might be happening?

Tks

apache

Basha
04-25-2012, 05:19 PM
This is my server thread from Sept last year have a read through that it may help with some probs you may encounter, i have just fired up our server again =BKHZ= and i am having some other problems that i did n't get last time around grrrr....and why does it have to be so FREAKIN complicated to keep the server running !

http://forum.1cpublishing.eu/showthread.php?t=26463

Bone Head
04-27-2012, 08:16 AM
Basha I have read that.

Can you confirm for me how you are running your dedicated server: is it using a steam account that you used to pay for the game or using a seperate one just for the server.

Basha
04-27-2012, 04:28 PM
Hi, i created a Steam account for my clan and sent a gift to there for the full game...foolish maybe.

Bone Head
04-28-2012, 09:33 PM
I wouldnt say foolish but I dont see why people should have to pay for dedicated servers.

Without online support this is a waste of space.

Thee_oddball
04-28-2012, 10:30 PM
Im having another look at this again, hopefully because the next update will make it useable.

Anyhow, its been a while so Im rusty but I have followed the instructions from this thread and im getting nowhere really.

Ive logged into steam on the server hardware using my own steam account and downloaded CLoD.

If I stay logged on with my personal account all is well i can start the server as far as getting the command promt launcher box up.

However if I then log off and log in with the other accout we used to use and type "H:\steam\Steam.exe -silent -login blahblah blahblah -applaunch 63950 -server" all I get is the steam store page, I guess trying to sell me the game.

Any help greatly appreciated.

i had to buy another copy of the gamer to run a server

Thee_oddball
04-28-2012, 10:31 PM
Hello all ...

I'm setting up a dedicated server to the squad "= AN =" and I'm using to launch the CMD is the command line: ("C: \ Program Files \ Steam \ steam.exe"-silent-log xxxx xxxxxx in Brackets! Applaunch-63,950-server-pwd xxx) the problem is that when I put the password and run a bat file (clinte PC) I can not enter the server. CONNECTION TIMEOUT

Could someone tell me what might be happening?

Tks

apache

ports open?
can anyone join it?

von Brühl
04-30-2012, 03:32 PM
You need a space between -server and -pwd

Ataros
04-30-2012, 03:33 PM
I wouldnt say foolish but I dont see why people should have to pay for dedicated servers.

Without online support this is a waste of space.

No need to buy a 2nd copy. You need only a free 2nd Steam account that can be absolutely empty (no games purchased).

Login with your payed client account to update the server after a patch is out. Use free 2nd account to run the server every day after update. You can run as many servers as you like in this manner.

PS. Also check out a link #8 in my sig. Maybe it helps.

Bone Head
05-17-2012, 12:30 PM
Atoros, thanks for your input.

However I have tried to do this several times now with no luck. It used to work that way but it doesnt seem to work like that now.

Maybe Im missing something so I will go away and try again just to make sure on a new server box.

Bone Head
05-17-2012, 04:39 PM
Could anyone tell me what ports need to be open for this sim?

Im thinking 2000, 27015 27016, is that it or are there any others?

Im still trying to get it running with my own account before trying it with a new one.

Bone Head
05-17-2012, 08:24 PM
Right this is what I have done:

Created a new server using win 2003 server. installed steam using my personal account and downloaded CLoD. Logged out of my steam account and logged in using the account I created to run the dedicated server.

When I start steam now I cant see the CLoD install in the steam GUI (obviously steam know I didnt pay for it with this new account). So starting it using a right click on the game and adding the -server perameter isnt an option.

So I created a link to the steam.exe and added the -silent -login (username) (password) no Brackets! -applaunch 63950 -server parameters to it. All that achieves is an advert in steam for clod.

Anyone?

how about using launcher.exe -server? it seems to work but im not able to see it online which is why im asking about ports.

Ataros
05-18-2012, 11:58 AM
Maybe "-" is needed before password? Try without password at all. Check command spelling.

Also try a Server Commander which was published here some time ago.

A new commander by Small_Bee will be published in couple of weeks. ATAG is working on a commander too AFAIK.

Steam has a FAQ where all ports are listed.

Server list does not show a new server immediately. There were some workaronds for it posted before like adding to favorites by many players, etc. Do not remember details, try searching the forums.

Bone Head
05-18-2012, 09:29 PM
The - password thing makes no difference. It is logging into steam and steam knows that the account im using doesnt own a copy of CLoD.

Server commander will only work on a server that is running I presume (like FBDj for IL2).

I havent completely given up yet Ill keep trying :)

Bone Head
05-19-2012, 09:30 AM
Here is a tip and a reminder to me if I forget:

Turn off cloud update, I am certain that i applied the beta patch to it the other day but did it again and now it seems to work fine.

I think I opened 4 ports in total on the firewall.

PVI_Eagle
06-08-2013, 06:38 PM
I set up a dedicated server , all works fine , but after 30 minutes the server stop working and players have a time out error.

Please help me.

Thanx

_79_dev
06-19-2013, 09:26 AM
I set up a dedicated server , all works fine , but after 30 minutes the server stop working and players have a time out error.

Please help me.

Thanx

Would You explain what way is Your server running, I mean do u run it from in game menu or console?

PVI_Eagle
06-20-2013, 05:13 AM
I run the server from console...but i have solved the problem , now the server runs and it si stable. The issue depends from scripts inside mission...