Jump to content

DCS World Dedicated Server


Recommended Posts

Thank you HiJack, Sounds like I need to install them in each instance..

 

Also, any idea why when my Servers start the missions don’t automatically start up at the same time. I need to manually start them.

 

Thanks again mate..

 

Edit. Just to be clear, the server starts in widows but I need to go into the web gui to actually start the server up to get the mission loaded. Hope I’m making some sense... :-) :-)

 

Open advanced settings in The webgui and select start on load (or something in that direction). Then save settings, then select restart. Make sure you also save the mission list.

Link to comment
Share on other sites

Open advanced settings in The webgui and select start on load (or something in that direction). Then save settings, then select restart. Make sure you also save the mission list.

 

Hi HiJack, found I needed to add ["version"] = 1 to the serverSettings.lua file.

All good now.

Thank you. :thumbup:

:pilotfly:

[sIGPIC][/sIGPIC]

 

:gun_smilie:

 

229th Assault Helicopter Battalion - Always Recruiting

 

If you have a passion for helicopter flight simulation and would like to fly in a friendly and supportive online multiplayer environment, then you’ve just put your skids down safely on the right page…!

 

DCS Squadron Recruiting Page for the 229th

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

 

For details see our website at:

http://1stcavdiv.forumotion.net/

Link to comment
Share on other sites

Auto Restart your DCS Server

 

Auto Restart your DCS Server

 

how can we do this

can sombody explane pleace

my server cracht every night

I wil auto start the server every 4 hours

is there a program or something pleace

thanx

Link to comment
Share on other sites

This will restart DCS if it's not running-

Try this, a few notes first:

1. You need to run the stop.bat file to prevent DCS from constantly trying to restart if you want to stop DCS

2. Drag the "dcs_servermon.vbs" into a command window and press enter

3. You can create a batch file to run the servermon if required, easier than opening a cmd window every time

4. Make sure you set the path to the DCS server exe file and the name of the exe file including all parameters in the servermon.vbs file.

This script was originally created by me to restart the old DCS when then was no dedicated server, it does work for the new version though. RUN AT YOUR OWN RISK

 

Unpack the zip file, edit where the server exe and dir are, run the vbs script - DCS will start, to stop run the DCS_Servermon_stop.bat.

 

Code:

'****************************************

'* Application Restart Script *

'* based on http://www.intelliadmin.com *

'* amended by s77th yeti for DCS *

'****************************************

 

set Service = GetObject ("winmgmts:")

set Shell = WScript.CreateObject("WScript.Shell")

 

'****************************************

'* Set variables *

'****************************************

'Name of the DCS exe we want to watch

sEXEName = "DCS.exe"

'polling interval for the monitor in milliseconds (10000 is 10 seconds)

sScriptInterval = "10000"

'The path to the server install Dir with DCS.exe

sDcsPath = "C:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin"

'****************************************

'* NO NEED TO EDIT BELOW THIS LINE *

'****************************************

'Loop until the system is shutdown or user logs out

while true

bRunning = false

'Look for our application. Set the flag bRunning = true

'If we see that it is running

 

for each Process in Service.InstancesOf ("Win32_Process")

if Process.Name = sEXEName then

bRunning=true

End If

next

 

'Is our app running?

 

if (not bRunning) then

'No it is not, launch it

Shell.Run Chr(34) & sDCSPath & sEXEName & Chr(34)

end if

 

WScript.Sleep (sScriptInterval)

 

wend

dcs_servermon.zip

Windows 10 64 bit | Intel i5-9600k OC 5 Ghz | RTX 2080 |VENGEANCE® LPX 32GB DDR 4 OC 3200

 

Hotas Warthog | Logitech G Flight Rudder Pedals | Track IR 4

Link to comment
Share on other sites

you could... but its better to re-run the mission using a trigger in the mission editor... You would set a "time more" flag and then action to load a mission.

Windows 10 64 bit | Intel i5-9600k OC 5 Ghz | RTX 2080 |VENGEANCE® LPX 32GB DDR 4 OC 3200

 

Hotas Warthog | Logitech G Flight Rudder Pedals | Track IR 4

Link to comment
Share on other sites

hmmmm, new patch of this server is now taking a super long time to start

 

before this patch server would be up and running in about 1 minute or less

 

now with todays build it is taking between 4 - 5 minutes


Edited by HC_Official
Did more timings to be sure

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Link to comment
Share on other sites

Hi ED Devs, here is some log file info

 

 

last weeks dedicated server exe

2019-05-01 11:34:50.872 INFO DCS: DCS/2.5.4.30038 (x86_64; Windows NT 6.1.7601)

2019-05-01 11:35:26.188 INFO Lua: Lua CPU usage: metric: average mission loading: 12.0295 %

 

this weeks dedicated server exe

2019-05-08 12:39:30.519 INFO DCS: DCS/2.5.4.30386 (x86_64; Windows NT 6.1.7601)

2019-05-08 12:45:20.605 INFO Lua: Lua CPU usage: metric: average mission loading: 0.4575 %

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Link to comment
Share on other sites

When I try to modify the mission list in the WebGUI, I am stuck at SAVED GAMES. Can't go in the folders. If I move my missions in the SAVED GAMES root folder, I can add them just fine. Any idea ?

i9 9900k, 64 Go RAM, RTX 4090, Warthog HOTAS Throttle & Stick, Saitek Combat Rudder, MFD Cougar, Trackir 5 Pro, Multipurpose UFC and Oculus Rift S (when I want some VR),

http://www.twitch.tv/zarma4074 /  https://www.youtube.com/user/Zarma4074 

 

Copy-of-DCS-A-10C-User-Bar-CMR-ConvertImage.jpg

Link to comment
Share on other sites

When I try to modify the mission list in the WebGUI, I am stuck at SAVED GAMES. Can't go in the folders. If I move my missions in the SAVED GAMES root folder, I can add them just fine. Any idea ?

 

 

I think for security they only allow saved games to be the top level folder you can navigate to

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Link to comment
Share on other sites

Yea but I cant go in the subfolders in the SAVED GAMES folders.

 

 

Are you using local html file or through the DCS website ?

 

 

Using local web browser on server hosting the dcs.exe it works fine for me

only issue I could see would be file permissions of account running the server or web browser ?

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Link to comment
Share on other sites

local html. Was working fine before but no longer. Tried via normal -server and with dedicated server. Same problem with both.

i9 9900k, 64 Go RAM, RTX 4090, Warthog HOTAS Throttle & Stick, Saitek Combat Rudder, MFD Cougar, Trackir 5 Pro, Multipurpose UFC and Oculus Rift S (when I want some VR),

http://www.twitch.tv/zarma4074 /  https://www.youtube.com/user/Zarma4074 

 

Copy-of-DCS-A-10C-User-Bar-CMR-ConvertImage.jpg

Link to comment
Share on other sites

The install was fresh and can't access any of the 3 sub folders. Mission list works fine if edited in the lua file.

 

 

Any kind of security tool or virus scanner preventing the access?

Long time ago I used Bitdefender and there was a module which protects files saved in user folders if any unknown programm tries to read or write them. It is the only thing I can imagine.

SYSTEM: Mainboard MSI MEG X570 | CPU Ryzen 7 5800X @ 4.5 GHz | RAM 64 GB @ 3200 MHz | GPU GIGABYTE RTX 4090 | 1 TB SSD | Win 10 x64

DEVICES: ASUS 27" LCD | TrackIR 5 | LukeClip | Quest 3 | PointCTRL | Virpil HOTAS | MFG Crosswind | TableMount MonsterTech

MODULES: To much to list. But I stopped buying more, because of too much bugs in e.g. A-10C(II). @ED: Fix the bugs and I spend money on modules again. Promised.

PROJECTS: OpenFlightSchool: DE / EN

Link to comment
Share on other sites

Has anyone managed to get this new dedicated server to run on a PC with Steam version of DCS?

Last time I tried, it just ignored the server/norender commands and just launched DCS in normal game mode. Think I read that this also happened to others.

I would like to experiment / learn about it, but I don't have the room/interest to install a completely redundant second non-Steam copy of DCS at this time.

[sIGPIC][/sIGPIC]

My Setup: Vive Pro 2, RTX 3090, I7-11700K, VKB Gladiator II/K conversion, TWCS, TPR pedals, PlaySeat, SimShaker, VoiceAttack

Link to comment
Share on other sites

  • 2 weeks later...
i have a list with 4 missions

is it possible that when the server autorestart the next mission starts

thanx

+1 Good question...!

:pilotfly:

[sIGPIC][/sIGPIC]

 

:gun_smilie:

 

229th Assault Helicopter Battalion - Always Recruiting

 

If you have a passion for helicopter flight simulation and would like to fly in a friendly and supportive online multiplayer environment, then you’ve just put your skids down safely on the right page…!

 

DCS Squadron Recruiting Page for the 229th

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

 

For details see our website at:

http://1stcavdiv.forumotion.net/

Link to comment
Share on other sites

  • Recently Browsing   1 member

×
×
  • Create New...