Page 1 sur 2

[DCS : Serveur MPlayer Dédié]

Publié : 01 mars 2019, 22:42
par psycho
On ne l'attendait plus, mais il est enfin là :

https://forums.eagle.ru/showthread.php?t=233486

Image
1. What is needed to run a dedicated server?
Dedicated server is not a standalone software, it's one of DCS start option. To run a server, a (separate) DCS base install is needed with all terrains (you wish to host) purchased and installed. We are considering possibilities for running terrains without purchase them in --norender mode.

2. How to run a dedicated server?
Currently, the dedicated server can only be started manually from the command line appending the following parameters to file

--server
runs DCS in ‘server’ mode where the simulator is started as a server with the first mission in list ["missionList"] (see ‘Saved Games\<DCS>\Config\serverSettings.lua’)

and/or
--norender
runs DCS without 3D rendering

or just
--webgui
server started as usual (i.e. with rendering and GUI) and you can control it via web interface.
Examples:

<DCS base directory>\bin>dcs --server --norender
(server started without rendering and launched first mission in serverSettings.lua missions list)

<DCS base directory>\bin>dcs --webgui
(DCS started as usual with full render and server can be controlled via web)

3. How to run several dedicated servers on the same machine?
It is possible to run several DCS (server) instances from the same install by using different write folders for each one with the “-w” (for “write folder”) command line parameter.
Also, each instance should use a separate game port and HTTP port (for the web GUI to work).

The HTTP port can be changed by editing the webgui_port line in file autoexec.cfg:

webgui_port = 12345

4. How to shut down a dedicated server?
Currently, to shut down the dedicated server, the DCS process has to be killed via Windows task manager - a proper shutdown procedure does not exist yet.

Note: While running the dedicated server in graphics mode (i.e., started without the --norender parameter), the game world is shown and the ESC key does not work.

5. How to control a dedicated server?

There are two options: local server started on your PC and remote server started somewhere.

5.1 Remote Control
For remote control, DCS servers use TCP port 8088 by default. This port has to be opened on the server's router for remote control to work. UPNP routers will open this port automatically (this feature is work in progress and currently does not always work reliably).

For remote control of the DCS server, the control PC (or device) has to be logged in into your DCS account on the DCS homepage. NOTE: your PC and server should be logged in the same account! You can't control servers started from different DCS accounts (this feature is in development).

In order to get control open your Profile page and select your server or visit URL:

https://www.digitalcombatsimulator.com/ ... al/server/ (EN)

5.2 Local Control

A. You can use the same URL as in Remote Control (note: you must be logged in to your DCS account)

B. Open the .html document

<DCS base directory>\WebGui\index.html

from your local file system. This allows local server control without forwarding port 8088 and logging into a DCS account on the DCS homepage.

Re: Serveur dédié

Publié : 02 mars 2019, 10:35
par Polux
Les russes :lol:
4. How to shut down a dedicated server?
Currently, to shut down the dedicated server, the DCS process has to be killed via Windows task manager - a proper shutdown procedure does not exist yet.

Re: Serveur dédié

Publié : 02 mars 2019, 11:28
par FireFox13
Image

Re: Serveur dédié

Publié : 02 mars 2019, 12:57
par RaiderOne
Ouais bon OK... c'est sur ... pour le moment c'est "semi-à-chier" apparemment ! :shock: :oops:

MAIS LE TRUC EST LA !!! Le bouzin a enfin le mérite d'exister ! :Bravo:

... certes, ça prendra peut-être encore 6 mois pour arriver à qqchose de bien (réellement utile & fiable), mais au moins ça y est le truc est lâché dans la nature et ils vont avoir des retours constructifs (et d'autres moins :-D ) !

Tout ça progresse dans le bon sens, lentement c'est sur, mais ça avance ... ! :good:

Re: Serveur dédié

Publié : 02 mars 2019, 16:56
par psycho
Pourquoi semi-a chier ?
RaiderOne a écrit : ... certes, ça prendra peut-être encore 6 mois pour arriver à qqchose de bien (réellement utile & fiable)
Le truc est déjà fiable, ça fait quelques mois que des gros serveurs tournent avec le serveur dédié, ils étaient sous NDA donc ne pouvaient pas le dire mais ça marche bien.

Re: Serveur dédié

Publié : 02 mars 2019, 17:05
par Polux
moi je ne parle que de l'interface.. après Raider veut lancer une fois de plus la gueguerre BMS dcs... Bravo Raider :-D

Re: Serveur dédié

Publié : 02 mars 2019, 20:06
par Snow
moi a ce sujet je ne dis plus rien, sinon j'me fais défoncer :lol: :lol: :lol:

Re: Serveur dédié

Publié : 03 mars 2019, 17:28
par FireFox13
Je m'occuperai de défoncer RaiderOne au LAN... Je sais que taper sur des groupies "fofolles" devant leur idoles, c' est un peu comme tirer sur un lâcher de galinettes cendrées, mais au moins ça calme...
Et puis, de voir un F18 qui tombe, c'est beau vu du cockpit d'un 2000.... :-D :-D :-D

Re: Serveur dédié

Publié : 03 mars 2019, 17:43
par Polux
Euh désarmé le F-18 ?

Re: Serveur dédié

Publié : 03 mars 2019, 17:51
par FireFox13
Non, non... Simplement avec Raider aux commandes, c'tout... :-D