Difference between revisions of "Running a Server"

From DCS World Wiki - Hoggitworld.com
Line 2: Line 2:
 
This file should go in the C:\Users\<user>\Saved Games\DCS[.openbeta]\Config directory. This is a template with comments:
 
This file should go in the C:\Users\<user>\Saved Games\DCS[.openbeta]\Config directory. This is a template with comments:
  
  if not net then net = {} end
+
  if not net then net = {} end -- prevent nil
  net.download_speed = 1024*1024*256
+
  net.download_speed = 1024*1024*256 -- Set download speed
  net.upload_speed = 1024*1024*256
+
  net.upload_speed = 1024*1024*256 -- Set upload speed.
 
+
  options.graphics.maxfps = 30 -- Max FPS, we don't need high fps so limit it.
  options.graphics.maxfps = 30
+
  options.graphics.render3D = false -- We don't need the graphics engine for a server.
  options.graphics.render3D = false
+
  options.graphics.ScreenshotQuality = 0 -- Don't need high quality on screenshots.
  options.graphics.ScreenshotQuality = 0
+
  crash_report_mode = "silent" -- Capture report logs, but don't block the process from closing.
 
+
  disable_write_track = true -- We don't need to store tracks on the server
  crash_report_mode = "silent"
 
  disable_write_track = true
 

Revision as of 19:56, 8 September 2018

===AutoExec.cfg This file should go in the C:\Users\<user>\Saved Games\DCS[.openbeta]\Config directory. This is a template with comments:

if not net then net = {} end -- prevent nil
net.download_speed = 1024*1024*256 -- Set download speed
net.upload_speed = 1024*1024*256 -- Set upload speed.
options.graphics.maxfps = 30 -- Max FPS, we don't need high fps so limit it.
options.graphics.render3D = false -- We don't need the graphics engine for a server.
options.graphics.ScreenshotQuality = 0 -- Don't need high quality on screenshots.
crash_report_mode = "silent" -- Capture report logs, but don't block the process from closing.
disable_write_track = true -- We don't need to store tracks on the server