Overview:
There are two ways the dedicated server can run. One is the default version that has a console window open when running and the other is a modified version where the game runs, but you do not see the console window. This second variation is the one that works with FBDaemon and must be manually created by editing some parts of the DS installation.
(from here on out, I'm going to abbreviate the dedicated server as DS to save some typing)
TIP:
If hosting on windows 2K or XP, the DS uses a process called il2server.exe which you can see in the task manager under the Processes tab. If for some reason you are not sure if the game is running, check the task manager for this process to verify. The other process which you
may see is called il2console.exe. More on this later.
Installation:
The DS file can be found at 3dgamers.com at:
http://www.3dgamers.com/dl/games/il...er1.11.exe.htmlFor starters, once you have the dedicated server downloaded, it extracts by default to:
C:\Program Files\Ubi Soft\IL2 FB Dedicated Server
If you want to run multiple game sessions of the default DS, when you extract the files, add
a number or change the file path to something different each time:
C:\Program Files\Ubi Soft\IL2 FB Dedicated Server2
C:\Program Files\Ubi Soft\IL2 FB Dedicated Server3
C:\Program Files\Ubi Soft\IL2 FB Dedicated Server4
DS runs missions/maps from the default location of C:\Program Files\Ubi Soft\IL2 FB
Dedicated Server\Missions\Net\dogfight\ 3/1_Islands.mis
There is a file called server.cmd which is what executes the start up mission. To change what mission you want to load for starting, you must first copy the .mis and the .properties file into the \missions\net\dogfight folder, then edit the server.cmd with the path to the new mission (to edit the server.cmd, right click on it and select EDIT).
For example, we deleted all the included missions from the dogfight folder, created a new folder called 2 and copied over our startup mission of winterstalingrad45, then edited the server.cmd to look like this:
mission LOAD net/dogfight/2/01winterstalingrad45.mis BEGIN
f settings.cmd
f gc.cmd
Once the game is launched, server.cmd executes the mission to be loaded. (It also can do a heck of a lot of other things, more on that later as well)
Hosting single or multiple games on the same computer:
To host a single default session or multiple default sessions, create a shortcut to the exe:
GS_il2ServerLauncher.exe
This is the exe that launches the console version and after logon, you will see the DOS window scrolling by events from the game itself. This file is found in the IL2 FB Dedicated
Server folder itself.
In this case TX Squadron created 4 seperate server folders intended to run 4 game sessions.
We used the naming scheme above and created a shortcut to each folder called FB Server 1, 2, 3 and 4. We also created 4 shortcuts to the GS_il2ServerLauncher.exe and named them FBexe 1, 2, 3 and 4. For simplicities sake, I also put the shortcuts together so that it's easy to decide what goes with what. By doing this, as soon as anyone logs into the server, they see all 4 sessions ready to go and can just doubleclick, logon and then move to the next session, all right there on the desktop in plain view. (I'm a big believer in simplicity)
Server.cmd usage
As mentioned, the server.cmd is used to execute game parameters on startup. If done correctly, you can customize the available commands in the game to run when server.cmd is exectuted and in theory have an amazing amount of control over your session. Time being rather limited, I'm not going to go into great detail right now, but if you extrapolate on the commands I'm sure that you can come up with some pretty imaginative combinations.
Other issues
As you can see this post does not cover every possibility, it only touches on the basics of installation and slight modifications of the default settings. What I would like to see is for all of us to work together to make this as hands-on and complete as possible in the interest of getting as much as can be from the dedicated server. Hopefully this section will be expanded on as time goes by and new ideas are discovered.
TX-Zen
Black 6