Hi, I'm the developer.

I struggle with the creation of the server addin. I hope one of the devs can help me with it.

This is what I have so far:

GameServer.cs inherits from maddox.game.GameServerDef and is the entry point of the server addin. IL2DCE.GameServer.xml is provided to load the server addin.

ServerOptionsPage.cs is the start page of the server addin. So nothing can be set here. I assume that the network settings are taken from the conf.ini file. I call GameDef.init(string password) when the accept button is clicked. Is this call required or only if I want to have a password?

SelectCampaignPage.cs selects the campaign. Nothing special here.

CampaignIntroPage.cs is where the mission is loaded. Note that I either load the mission via SingleMissGame for single-player or "ServerGame" for multiplayer.
Код:
                if (Game is IGameSingle)
                {
                    Game.gameInterface.PagePush(Game.gameInterface.PageGet("SingleMissGame"), "mission " + missionFileName);
                }
                else if (Game is IGameServer)
                {
                    Game.gameInterface.PagePush(Game.gameInterface.PageGet("ServerGame"), "mission " + missionFileName);
                }
The mission loads fine and I'm definitly in "server mode" as to context menu shows the "NET Stat" entry.

However clients are unable to connect to the server and it doesn't show up in the steam friends list.

For steam I suppose I have to do some calls to maddox.steam.WServer, however I don't know in what to call an in which order and parameters.