Page 1 sur 1

{CLOS} Serveur DCS

Publié : jeu. févr. 04, 2016 3:22 pm
par exo7
Bonjour a tous,

Voila je rencontre des problèmes à mettre en place un serveur dédié, alors je fais appel aux "spécialistes" de la communauté...

les specs :

Serveur virtuel sur Citrix XENSERVER
12vCPU XEON E5-2620 2.10Ghz
40 GB RAM
WINDOWS 2012 Datacenter (pour la prise en charge des 12 vCPU)
connexion internet 800M/800M (ça doit pas être le problème...)
DCS WORLD 1.5.2 (official)

les modifs :
autoexec.cfg --> avec render3D false et maxfps 30 (modifié aussi dans le graphic.lua, au cas ou..)

options.lua :

Code : Tout sélectionner

options = { ["difficulty"] = { ["avionicsLanguage"] = "native", ["birds"] = 0, ["cockpitStatusBarAllowed"] = false, ["cockpitVisualRM"] = false, ["easyCommunication"] = false, ["easyFlight"] = false, ["easyRadar"] = false, ["externalViews"] = true, ["fuel"] = false, ["geffect"] = "realistic", ["hideStick"] = false, ["iconsTheme"] = "nato", ["immortal"] = false, ["impostors"] = "", ["labels"] = false, ["map"] = true, ["miniHUD"] = false, ["optionsView"] = "optview_all", ["padlock"] = false, ["permitCrash"] = false, ["radio"] = false, ["reports"] = true, ["setGlobal"] = true, ["spectatorExternalViews"] = true, ["tips"] = true, ["units"] = "imperial", ["userSnapView"] = true, ["weapons"] = false, }, ["graphics"] = { ["DOF"] = 0, ["HDR"] = 0, ["LensEffects"] = 0, ["MSAA"] = 0, ["OculusRift"] = false, ["anisotropy"] = 0, ["aspect"] = 1.6666666666667, ["civTraffic"] = "", ["clouds"] = 1, ["clutterMaxDistance"] = 0, ["disableAero"] = true, ["effects"] = 3, ["flatTerrainShadows"] = 0, ["fullScreen"] = false, ["heatBlr"] = 0, ["height"] = 768, ["lights"] = 2, ["multiMonitorSetup"] = "1camera", ["preloadRadius"] = 100, ["shadowTree"] = false, ["shadows"] = 0, ["sync"] = false, ["terrainTextures"] = "min", ["textures"] = 0, ["treesVisibility"] = 1500, ["visibRange"] = "Low", ["water"] = 0, ["width"] = 1280, }, ["miscellaneous"] = { ["Coordinate_Display"] = "Lat Long", ["F2_view_effects"] = 1, ["accidental_failures"] = false, ["f10_awacs"] = true, ["f11_free_camera"] = true, ["f5_nearest_ac"] = true, ["force_feedback_enabled"] = false, ["headmove"] = false, ["show_pilot_body"] = false, ["synchronize_controls"] = false, }, ["plugins"] = { ["Su-25T"] = { ["CPLocalList"] = "default", }, ["TF-51D"] = { ["CPLocalList"] = "default", ["assistance"] = 100, ["autoRudder"] = false, }, }, ["sound"] = { ["GBreathEffect"] = false, ["cockpit"] = 0, ["gui"] = 0, ["headphones"] = 0, ["hear_in_helmet"] = false, ["music"] = -12, ["radioSpeech"] = false, ["subtitles"] = false, ["volume"] = 0, ["world"] = 0, }, ["views"] = { ["cockpit"] = { ["avionics"] = 0, ["mirrors"] = false, ["reflections"] = false, }, }, }
serverSettings.lua :

Code : Tout sélectionner

cfg = { ["isPublic"] = true, ["missionList"] = { [1] = "C:\\Missions\\Test Mission.miz", }, -- end of ["missionList"] ["bind_address"] = "", ["advanced"] = { ["event_Role"] = true, ["allow_object_export"] = false, ["pause_on_load"] = false, ["event_Connect"] = true, ["event_Ejecting"] = true, ["event_Kill"] = true, ["event_Takeoff"] = false, ["pause_without_clients"] = true, ["client_outbound_limit"] = 0, ["client_inbound_limit"] = 0, ["event_Crash"] = true, }, -- end of ["advanced"] ["password"] = "", ["port"] = 10308, ["version"] = 1, ["name"] = "** Exo7 Test Server **", ["description"] = "", ["listLoop"] = false, ["listShuffle"] = false, ["maxPlayers"] = 16, } -- end of cfg
Modification de la clé de registre HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\TdrDelay = 10

Le serveur est natté directement sur une IP publique, tous les ports sont redirigés vers ce serveur.
Le firewall du serveur est configuré pour laisser passer les connexions entrantes et sortantes de tous les ports locaux, vers toutes les applications (open bar quoi, pour les tests).

Le client n'est pas sur le même réseau que le serveur (2 sites distants), je ne peux pas tester en LAN pour le moment

J'arrive à lancer le serveur DCS, avec une mission de test comprenant seulement 2 M2000C, j'arrive a me connecter en tant que spectateur sur le serveur et voir le terrain (vue libre).
Cette mission a été créée sur le serveur.


Les problèmes :

1- le serveur n'est pas visible sur la liste des serveurs du multijoueurs, par contre je peux m'y connecter via "connexion par IP" --> <mon ip publique>:10308
2- lorsque je me connecte avec le client et que je prends un slot l'avion est figé à 30m du sol (alors que cold parking) aucune commande possible dans l'avion, par contre les vues fonctionnent.
-- dans le chat du client j'ai directement à la prise de controle "Exo7 - Retour au spectateurs"
-- dans le chat du serveur j'ai "Exo7 occupied ..blabla" mais pas retour aux spectateurs...
-- au final la session cliente est ejectée.

les infos :
pendant la missions le processus DCS.exe est à 60% de CPU (ne bouge pas lors de la connexion du client) et la RAM à environ 2Go (augmente légèrement à la connexion du client)

DCS.log Serveur : j'ai volontairement remplacé les IP publiques..

Code : Tout sélectionner

=== Log opened UTC 2016-02-04 14:29:14 00000.000 INFO VFS: Using 'Saved Games': "C:\Users\Administrateur\Saved Games" 00000.001 INFO DCS: DCS/1.5.2.49392 (x86_64; Windows/6.1.7600) 00000.001 INFO DCS: CPU cores: 12, System RAM: 39991 MB 00000.012 INFO EDCORE: (dDispatcher)enterToState_:0 00000.021 INFO Dispatcher: 2016/2/4 15:29 V1508170900 00000.034 INFO INPUT: Device created Keyboard 00000.223 INFO SOUND: loaded 1074 sdefs from "sounds\sdef" 00000.304 INFO SOUND: Using driver: xaudio27 00000.307 INFO SOUND: XAudio2: Using device ID:'€' Name:'', channels: 0 00000.307 ERROR SOUND: XAudio2: can't create MasteringVoice 00000.307 ERROR SOUND: Failed to start xaudio27 00000.310 ALERT SOUND: Can't start XAudio2. 00000.310 ERROR SOUND: can't start renderer 00000.765 ERROR VFS: Can't mount './CoreMods/WWII Units/Liveries' to '/textures//liveries/'. 00000.775 ERROR VFS: Can't mount './CoreMods/aircraft/Hawk/Textures/Avionics' to '/textures/'. 00000.778 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Skins/1/ME' to '/textures/'. 00000.778 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Textures/Weapons' to '/textures/'. 00000.783 INFO SOUND: loaded 10 sdefs from ".\coremods\aircraft\mig-21bis\sounds\sdef" 00000.838 INFO WorldPlugIns: No 'registryPath' for 'AVIODEV_C-101' 00000.883 INFO GRAPHICSVISTA: Creating Resource "Unicode" of type 5 00000.891 INFO DX11BACKEND: TRUNK renderer init: showShaderError coreCount=1 00000.900 INFO DX11BACKEND: Driver Concurrent Creates - 0 00000.900 INFO DX11BACKEND: Driver Command Lists - 0 00000.905 INFO DX11BACKEND: DX11ShaderBinaries::loadShaders 00002.291 INFO DX11BACKEND: DX11ShaderBinaries::loadShaders finished 00002.385 ERROR VFS: Can't mount './Bazar/World/textures/L-39_C' to '/textures/'. 00002.631 INFO RENDERER: Loading metashader cache from C:\Users\Administrateur\Saved Games\DCS\metashaders/ 00002.632 INFO RENDERER: Metashader cache: 0 (0) cached shaders out of date 00040.058 ERROR DX11BACKEND: rendertarget "rtDynamicCloudMap" not found 00040.058 INFO EDTERRAINGRAPHICS3: edtg::CreateSurfaceRenderItem() 00040.808 ERROR EDOBJECTS: Destruction shape not found AVIASHTAB_CRASH 00040.810 INFO TERRAIN: lSystem::lSystem 00040.899 INFO EDCORE: (dDispatcher)enterToState_:1 00041.092 ERROR VFS: add_location {"My Missions", "C:\Users\Administrateur\Saved Games\DCS\Missions\"}: path already added as "My Missions" 00041.510 ERROR VFS: Can't mount './CoreMods/WWII Units/Liveries' to '/textures//liveries/'. 00041.511 ERROR VFS: add_location {"WWII Units", "./CoreMods/WWII Units/Missions/"}: path already added as "WWII Units" 00041.514 ERROR VFS: Can't mount './CoreMods/aircraft/Hawk/Textures/Avionics' to '/textures/'. 00041.515 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Skins/1/ME' to '/textures/'. 00041.515 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Textures/Weapons' to '/textures/'. 00041.521 ERROR VFS: add_location {"Su-25T", "./Mods/aircraft/Su-25T/Missions/fr/"}: path already added as "Su-25T" 00041.521 ERROR VFS: add_location {"TF-51D", "./Mods/aircraft/TF-51D/Missions/fr/"}: path already added as "TF-51D" 00041.659 ERROR DXGUI_EDGE_RENDER: Cannot load texture '' 00044.012 INFO DXGUI: Cannot load font [C:\Program Files\Eagle Dynamics\DCS World\dxgui\skins\fonts\]! 00047.391 ERROR DX11BACKEND: texture "dxgui/skins/skinme/images/setimage/button.png" not found 00047.896 INFO EDCORE: (dDispatcher)enterToState_:2 00048.207 INFO EDCORE: (dDispatcher)enterToState_:3 00048.288 INFO NET: Login success. 00050.824 INFO NET: client has started 00053.579 INFO NET: client has stopped 00055.664 INFO NET: server has started 00059.119 INFO NET: Registering server as <IP PUBLIQUE SERVEUR>:10308 (port is assumed to be open). 00059.120 INFO Dispatcher: loading mission file: "C:\Missions\Test Mission.miz" 00059.160 INFO NET: Loading mission: "C:\Missions\Test Mission.miz" 00059.161 INFO EDCORE: (dDispatcher)enterToState_:4 00059.173 INFO TERRAIN: lSystem::Init .\Bazar\Terrain\terrain.cfg.lua 00059.173 INFO EDTERRAINGRAPHICS3: edtg::Init() 00059.174 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_land.lua 00059.175 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_landheight.lua 00059.175 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_lights.lua 00059.176 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_map.lua 00059.178 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_mfd.lua 00059.178 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_shelf.lua 00059.179 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_landmask.lua 00059.179 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_grassheight.lua 00059.180 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_cascadshadows.lua 00059.180 INFO EDTERRAINGRAPHICS3: lma: .///Bazar/Graphics/lma/edge_radar.lua 00059.251 INFO EDTERRAIN: CreateTerraDispatch 00059.252 INFO EDTERRAIN: TerraDispatch 0000000013183E50 create 00059.252 INFO EDTERRAIN: SetTerraDispatch 00059.263 ERROR EDOBJECTS: SMOKE-POD already declared in shapes.txt SMOKE-POD already declared in shapes.txt UB-16-57UMP already declared in shapes.txt C-101_DESTR already declared in shapes.txt 00059.946 INFO wInfo: multiple adapters 00060.466 WARNING LOG: 1 duplicate message(s) skipped. 00060.466 INFO TERRAIN: lSystem::Load() 00060.470 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(file=.\Bazar\Terrain\terrain.cfg.lua, season=summer, quality=high, lang=fr) 00060.473 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(landfile3) 00060.544 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(roads3) 00060.620 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(vfstextures) 00060.950 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(superficial3) 00061.079 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(map3) 00061.777 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(smallshit) 00061.781 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(scene3) 00061.781 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(districts) 00061.889 INFO EDOBJECTS: shape trees_1_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_3_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_5_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_6_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_7_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_8_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_9_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_2_blk not found in shapetables 00061.889 INFO EDOBJECTS: shape trees_4_blk not found in shapetables 00061.907 INFO EDTERRAINGRAPHICS3: edtg::InitTerrain() 00061.907 INFO TERRAIN: lSystem::InitSurface() 00061.919 INFO TERRAIN: lSystem::InitScenes() 00061.919 INFO DX11BACKEND: Reloading textures ... 00061.919 INFO DX11BACKEND: reloading texture "DummyWhiteTexture" 00061.925 INFO DX11BACKEND: reloading texture "/textures/posteffects/focus.png" 00062.257 INFO EDTERRAINGRAPHICS3: edtg::CreateSurfaceRenderItem() 00106.096 WARNING LOG: 12 duplicate message(s) skipped. 00106.096 INFO DCS: Dispatcher: initial random seed = 6260699 00106.096 INFO DCS: Dispatcher: apply random seed = 6260699 00106.096 INFO NET: state=ssLoading 00106.099 INFO WORLDGENERAL: loaded from mission Scripts/World/GPS_GNSS.lua 00106.100 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Init(navigation) 00107.421 WARNING WRADIO: Can't create NDB "BS NDB_BELOSARAYSKAYA" beacon on the water! 00109.449 ERROR DX11BACKEND: rendertarget "SmokeTrailNoiseTex" not found 00109.528 ERROR DX11BACKEND: texture "wic/normal_huge.png" not found 00109.577 ERROR DX11BACKEND: texture "normal_tmp.png" not found 00109.579 ERROR DX11BACKEND: texture "testAtlas.dds" not found 00109.583 INFO WORLDGENERAL: loaded from mission Config/View/SnapViewsDefault.lua 00109.584 INFO WORLDGENERAL: loaded from mission Config/View/View.lua 00109.585 INFO WORLDGENERAL: loaded from mission Config/View/Server.lua 00109.803 INFO Config: netview started 00110.327 ERROR DX11BACKEND: texture "water_circle.tga" not found 00110.628 ERROR DX11BACKEND: texture "Ka-50 PilotFilter.tga" not found 00112.063 WARNING NGMODEL: Model 'trees_1_blk' has invalid bounding box. 00112.064 WARNING NGMODEL: Model 'trees_3_blk' has invalid bounding box. 00112.064 WARNING NGMODEL: Model 'trees_5_blk' has invalid bounding box. 00112.065 WARNING NGMODEL: Model 'trees_6_blk' has invalid bounding box. 00112.066 WARNING NGMODEL: Model 'trees_7_blk' has invalid bounding box. 00112.080 WARNING NGMODEL: Model 'trees_8_blk' has invalid bounding box. 00112.080 WARNING NGMODEL: Model 'trees_9_blk' has invalid bounding box. 00112.089 WARNING NGMODEL: Model 'trees_2_blk' has invalid bounding box. 00112.090 WARNING NGMODEL: Model 'trees_4_blk' has invalid bounding box. 00115.581 INFO DCS: ComplexTask::open_state(). Precached tasks data loading. 00115.581 INFO DCS: ComplexTask::load_task_data(). "Follow_Line" task data loaded. 00115.582 INFO DCS: ComplexTask::load_task_data(). "Follow_Vector" task data loaded. 00115.582 INFO DCS: ComplexTask::load_task_data(). "Follow_Vector_Old" task data loaded. 00115.583 INFO DCS: ComplexTask::load_task_data(). "Approach" task data loaded. 00115.584 INFO DCS: ComplexTask::load_task_data(). "Cannon_Ground_Attack" task data loaded. 00115.585 INFO DCS: ComplexTask::load_task_data(). "Rocket_Attack" task data loaded. 00115.585 INFO DCS: ComplexTask::load_task_data(). "Level_Bombing" task data loaded. 00115.587 INFO DCS: ComplexTask::load_task_data(). "Dive_Bombing" task data loaded. 00115.589 INFO DCS: ComplexTask::load_task_data(). "Missile_Ground_Target_Attack" task data loaded. 00115.589 INFO DCS: ComplexTask::load_task_data(). "Missile_Ground_Target_Level_Attack" task data loaded. 00122.604 INFO NET: simulation is ready, state=ssPaused 00122.817 INFO EDTERRAINGRAPHICS3: Force loading pipeline 'lockon'. Radius 100.000000. Pos=-4737.022949,145.000000,242694.906250! 00123.108 INFO EDTERRAINGRAPHICS3: force loading finished! 00123.108 INFO EDTERRAINGRAPHICS3: Force loading pipeline 'map'. Radius 20.000000. Pos=-4737.022949,145.000000,242694.906250! 00123.160 INFO EDTERRAINGRAPHICS3: force loading finished! 00123.918 INFO GRAPHICSVISTA: Creating Resource "Unicode" of type 5 00187.202 INFO NET: accepting connection from <IP PUBLIQUE CLIENT>:38131 00187.412 INFO NET: append: client 2 00219.701 INFO NET: remove: client 2 00229.819 INFO NET: server has stopped 00229.835 INFO EDTERRAINGRAPHICS3: edtg::DeleteSurfaceRenderItem() 00230.161 WARNING LOG: 11 duplicate message(s) skipped. 00230.161 INFO Config: netview stopped 00230.468 INFO EDCORE: (dDispatcher)enterToState_:3 00232.376 INFO EDCORE: (dDispatcher)enterToState_:5 00232.565 INFO SOUND: detaching sdef path ".\mods\aircraft\tf-51d\sounds\sdef\" 00232.565 INFO SOUND: detaching sdef path ".\coremods\aircraft\mig-21bis\sounds\sdef\" 00232.565 INFO SOUND: detaching sdef path "sounds\sdef\" 00232.582 INFO TERRAIN: lSystem::Exit() 00232.582 INFO TERRAIN: lSystem::CleanScenes() 00232.582 INFO EDTERRAINGRAPHICS3: edtg::Exit() 00232.616 INFO EDTERRAIN: DeleteTerraDispatch 00232.629 INFO EDTERRAIN: TerraDispatch 0000000013183E50 Exit(vfstextures) 00232.688 INFO EDTERRAIN: TerraDispatch 0000000013183E50 destroy 00233.107 INFO EDTERRAINGRAPHICS3: edtg::DeleteSurfaceRenderItem() 00233.647 WARNING LOG: 1 duplicate message(s) skipped. 00233.647 INFO EDTERRAINGRAPHICS3: edtg::Exit() === Log closed.
Avec ce client, j'arrive à voler sur d'autres serveurs...

Merci de votre aide !!

@++
Exo7

Re: Serveur DCS

Publié : mar. févr. 09, 2016 11:38 am
par exo7
Problème résolu.

c'était le redirection de mon FAI qui foutaient le bordel... (j'ai un réseau avec double nattage...)

reste plus qu'a tester la bête chargée...
je laisse la mission tourner, si des âmes charitables veulent voler un peu dessus histoire de voir ce que ça donne... --> Exo7 test Server..

@++