JacobMIX

JacobMIX's Don't Starve Together dedicated server problem.

Nov 24th, 2015
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.99 KB | None | 0 0
  1. *-*settings.ini
  2.  
  3. [MISC]
  4. CONSOLE_ENABLED = true
  5. autocompiler_enabled = true
  6. controller_popup = true
  7. wathgrithrfont = true
  8. netbook_mode = false
  9. vibration = false
  10. showpassword = true
  11. autosubscribemods = false
  12. MOTD_IMG = 3
  13.  
  14.  
  15. [account]
  16. token = *'* Used the token from Klei\DoNotStarveTogether\server_token.txt *'*
  17.  
  18.  
  19. [network]
  20. default_server_name = JacobMIX's Dedicated Server
  21. default_server_description = Jacob's Server now Dedicated.
  22. server_port = 10998
  23. server_password = *'* Private password *'*
  24. max_players = 8
  25. pvp = false
  26. server_intention = cooperative
  27. enable_snapshots = false
  28. pause_when_empty = true
  29. server_save_slot = 1
  30.  
  31.  
  32. [graphics]
  33. windowed_width = 1920
  34. windowed_height = 1018
  35. window_x = 0
  36. window_y = 22
  37. fullscreen_width = 1920
  38. fullscreen_height = 1080
  39. display_id = 0
  40. refresh_rate = 60
  41. fullscreen = true
  42. use_small_textures = false
  43. screenshake = true
  44. bloom = false
  45. distortion = false
  46. HUDSize = 5
  47.  
  48.  
  49. [audio]
  50. volume_ambient = 10
  51. volume_sfx = 10
  52. volume_music = 10
  53.  
  54. *-* generate_worldgenoverride.lua
  55.  
  56. local Customise = require "map/customise"
  57. local Levels = require "map/levels"
  58.  
  59.  
  60. local function makedescstring(desc)
  61.     if desc ~= nil then
  62.         local descstring = "-- "
  63.         if type(desc) == "function" then
  64.             desc = desc()
  65.         end
  66.         for i,v in ipairs(desc) do
  67.             descstring = descstring..string.format('"%s"', v.data)
  68.             if i < #desc then
  69.                 descstring = descstring..", "
  70.             end
  71.         end
  72.         return descstring
  73.     else
  74.         return nil
  75.     end
  76. end
  77.  
  78.  
  79. local out = {}
  80. table.insert(out, "return {")
  81. table.insert(out, "\toverride_enabled = true,")
  82.  
  83.  
  84. return {
  85.  
  86.  override_enabled = true,
  87.        unprepared = { -- "never", "rare", "default", "often", "always"
  88.                berrybush = "default",
  89.                cactus = "default",
  90.                carrot = "default",
  91.                mushroom = "default",
  92.        },
  93.        misc = {
  94.                autumn = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
  95.                boons = "default", -- "never", "rare", "default", "often", "always"
  96.                branching = "default", -- "never", "least", "default", "most"
  97.                day = "default", -- "default", "longday", "longdusk", "longnight", "noday", "nodusk", "nonight", "onlyday", "onlydusk", "onlynight"
  98.                frograin = "default", -- "never", "rare", "default", "often", "always"
  99.                lightning = "default", -- "never", "rare", "default", "often", "always"
  100.                loop = "default", -- "never", "default", "always"
  101.                season_start = "default", -- "default", "winter", "spring", "summer", "random"
  102.                spring = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
  103.                summer = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
  104.                touchstone = "default", -- "never", "rare", "default", "often", "always"
  105.                weather = "default", -- "never", "rare", "default", "often", "always"
  106.                wildfires = "default", -- "never", "rare", "default", "often", "always"
  107.                winter = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
  108.                world_size = "default", -- "default", "medium", "large", "huge"
  109.        },
  110.        animals = { -- "never", "rare", "default", "often", "always"
  111.                alternatehunt = "default",
  112.                angrybees = "default",
  113.                beefalo = "default",
  114.                beefaloheat = "default",
  115.                bees = "default",
  116.                birds = "default",
  117.                butterfly = "default",
  118.                buzzard = "default",
  119.                catcoon = "default",
  120.                frogs = "default",
  121.                hunt = "default",
  122.                lightninggoat = "default",
  123.                moles = "default",
  124.                penguins = "default",
  125.                perd = "default",
  126.                pigs = "default",
  127.                rabbits = "default",
  128.                tallbirds = "default",
  129.        },
  130.        monsters = { -- "never", "rare", "default", "often", "always"
  131.                bearger = "default",
  132.                chess = "default",
  133.                deciduousmonster = "default",
  134.                deerclops = "default",
  135.                dragonfly = "default",
  136.                goosemoose = "default",
  137.                houndmound = "default",
  138.                hounds = "never",
  139.                krampus = "default",
  140.                liefs = "default",
  141.                lureplants = "default",
  142.                merm = "default",
  143.                spiders = "default",
  144.                tentacles = "default",
  145.                walrus = "default",
  146.        },
  147.        resources = { -- "never", "rare", "default", "often", "always"
  148.                flint = "default",
  149.                flowers = "default",
  150.                grass = "default",
  151.                marshbush = "default",
  152.                meteorshowers = "default",
  153.                meteorspawner = "default",
  154.                reeds = "default",
  155.                rock = "default",
  156.                rock_ice = "default",
  157.                sapling = "default",
  158.                trees = "default",
  159.                tumbleweed = "default",
  160.        },
  161. }
  162.  
  163.  
  164. local presets = "-- "
  165. for i, level in ipairs(Levels.sandbox_levels) do
  166.     if i > 0 then
  167.         presets = presets .. " or "
  168.     end
  169.     presets = presets .. '"' ..level.id.. '"'
  170. end
  171. table.insert(out, string.format("\tpreset = %s, %s", Levels.sandbox_levels[1].id, presets))
  172.  
  173. for name,group in pairs(Customise.GROUP) do
  174.     local desc = group.desc
  175.  
  176.     if desc then
  177.         table.insert(out, string.format("\t%s = { %s", name, makedescstring(desc)))
  178.     else
  179.         table.insert(out, string.format("\t%s = {", name, makedescstring(desc)))
  180.     end
  181.  
  182.     local itemkeys = {}
  183.     for itemname,_ in pairs(group.items) do
  184.         table.insert(itemkeys, itemname)
  185.     end
  186.     table.sort(itemkeys)
  187.  
  188.     for i,itemname in ipairs(itemkeys) do
  189.         local item = group.items[itemname]
  190.         if desc == nil and item.desc ~= nil then
  191.             table.insert(out, string.format('\t\t%s = "%s", %s', itemname, item.value, makedescstring(item.desc)))
  192.         else
  193.             table.insert(out, string.format('\t\t%s = "%s",', itemname, item.value))
  194.         end
  195.     end
  196.  
  197.     table.insert(out, "\t},")
  198. end
  199. table.insert(out, "}")
  200.  
  201. print( table.concat(out, "\n"))
  202.  
  203. local path = "worldgenoverride.lua"
  204.  
  205. local file, err = io.open(path, "w")
  206. if err ~= nil then
  207.     print("ERROR! ",err)
  208. else
  209.     file:write( table.concat(out, "\n") )
  210.     file:close()
  211.     print()
  212.     print("Wrote to worldgenoverride.lua")
  213. end
  214.  
  215. *-* dedicated_server_mods_setup.lua
  216.  
  217. --There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.
  218.  
  219. --ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
  220.     --The Workshop id can be found at the end of the url to the mod's Workshop page.
  221.     --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
  222.     --ServerModSetup("350811795")
  223.  
  224. --ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
  225.     --The Workshop id can be found at the end of the url to the collection's Workshop page.
  226.     --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
  227.     --ServerModCollectionSetup("379114180")
  228.    
  229.    
  230.     ServerModSetup("346962876") -- DST Freezer
  231.     ServerModSetup("382177939") -- DST Storm Cellar
  232.     ServerModSetup("378160973") -- Global Positions
  233.  
  234. *-* modoverrides.lua
  235.  
  236. return {
  237.     ["workshop-346962876"] = { enabled = true }, -- DST Freezer
  238.     ["workshop-382177939"] = { enabled = true }, -- DST Storm Cellar
  239.     ["workshop-378160973"] = { enabled = true }, -- Global Positions
  240. }
  241.  
  242. *-* modsettings.lua
  243.  
  244. -- Use the "ForceEnableMod" function when developing a mod. This will cause the
  245. -- game to load the mod every time no matter what, saving you the trouble of
  246. -- re-enabling it from the main menu.
  247. --
  248. -- Note! You shout NOT do this for normal mod loading. Please use the Mods menu
  249. -- from the main screen instead.
  250.  
  251. -- ForceEnableMod("kioskmode_dst")
  252.  
  253.  
  254. -- Use "EnableModDebugPrint()" to show extra information during startup.
  255.  
  256. --EnableModDebugPrint()
  257.  
  258.  
  259.     ["workshop-378160973"] = { enabled = true,
  260.         configuration_options =
  261.         {
  262.             SHOWPLAYERSOPTIONS = 3,
  263.             SHOWPLAYERICONS = true,
  264.             FIREOPTIONS = 1,
  265.             SHOWFIREICONS = true,
  266.             SHAREMINIMAPPROGRESS = true,
  267.         },
  268.     }, -- Global Positions
  269.  
  270.     ["workshop-346962876"] = { enabled = true,
  271.         configuration_options =
  272.         {
  273.             f_recipe = easy, -- Recipe Difficulty. Easy = 5 Cut Stones, 1 Gear and 1 Blue Gem. | Hard = 10 Cut Stones, 3 Gears and 3 Blue Gems.
  274.             chilltime = .01, -- Perish Time. .5 (normal), .37 (25%), .25 (50%), .12 (75%), .01 (None).
  275.         },
  276.     }, -- DST Freezer
  277.    
  278.     ["workshop-382177939"] = { enabled = true,
  279.         configuration_options =
  280.         {
  281.             eightxten = 8x10, -- Slot Positions. 5x16, 8x10. (height and width)
  282.             workit = yep, -- Workable. nope ; yep | If Yep, the cellar can be destroyed by Giants, Meteors and a Hammer.
  283.         },
  284.     }, -- DST Storm Cellar
  285.    
  286. *-* launch options:
  287. "C:\srcds\Don't Starve Together Dedicated Server\DST CMD Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe" -console -persistent_storage_root "C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers" -conf_dir DoNotStarveTogether
  288.  
  289. *-* DoNotStarveTogetherDedicated log
  290.  
  291. [00:00:00]: Starting Up
  292. [00:00:00]: Version: 157447
  293. [00:00:00]: Current time: Tue Nov 24 21:09:43 2015
  294.  
  295. [00:00:00]: Don't Starve Together: 157447 WIN32
  296. NNN Build Date: 2015-11-23_16-30-48
  297. [00:00:00]: Parsing command line
  298. [00:00:00]: Command Line Arguments: -console -persistent_storage_root C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers -conf_dir DoNotStarveTogether
  299. [00:00:00]: Initializing Minidump handler
  300. [00:00:00]: ....Done
  301. [00:00:00]: Fixing DPI
  302. [00:00:00]: ...Done
  303. [00:00:00]: THREAD - started 'GAClient' (19824)
  304. [00:00:00]: HttpClient2::ClientThread::Main()
  305. [00:00:00]: ProfileIndex:3.63
  306. [00:00:00]: [CONNECT] PendingConnection::Reset(true)
  307. [00:00:00]: Network tick rate: U=15(2), D=0
  308. [00:00:00]: Network tick rate: U=15(2), D=0
  309. [00:00:00]: Authorized application C:\srcds\Don't Starve Together Dedicated Server\DST CMD Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.
  310. [00:00:00]: WindowsFirewall - Application already authorized
  311. [00:00:00]: OnLoadPermissionList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/blocklist.txt (Failure)
  312. [00:00:00]: THREAD - started 'ConsoleInput' (21920)
  313. [00:00:00]: OnLoadPermissionList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/adminlist.txt (Success)
  314. [00:00:00]: OnLoadUserIdList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/whitelist.txt (Failure)
  315. [00:00:00]: Server token retrieved from: server_token.txt
  316. [00:00:00]: cGame::InitializeOnMainThread
  317. [00:00:00]: Renderer initialize: Okay
  318. [00:00:00]: AnimManager initialize: Okay
  319. [00:00:00]: Buffers initialize: Okay
  320. [00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
  321. [00:00:00]: FMOD Error: An invalid object handle was used.
  322. [00:00:00]: GameSpecific initialize: Okay
  323. [00:00:00]: cGame::StartPlaying
  324. [00:00:00]: LOADING LUA
  325. [00:00:00]: DoLuaFile scripts/main.lua
  326. [00:00:00]: DoLuaFile loading buffer scripts/main.lua
  327. [00:00:00]: scripts/main.lua(171,1) running main.lua
  328.    
  329. [00:00:00]: DoLuaFile Error: [string "scripts/modindex.lua"]:849: Error loading modsettings:
  330. [string "../mods/modsettings.lua"]:16: unexpected symbol near '['
  331. LUA ERROR stack traceback:
  332.         =[C] in function 'error'
  333.         scripts/modindex.lua(849,1) in function 'UpdateModSettings'
  334.         scripts/modindex.lua(497,1) in function 'Load'
  335.         scripts/main.lua(299,1) in main chunk
  336. [00:00:00]: [string "scripts/modindex.lua"]:849: Error loading modsettings:
  337. [string "../mods/modsettings.lua"]:16: unexpected symbol near '['
  338. LUA ERROR stack traceback:
  339.         =[C] in function 'error'
  340.         scripts/modindex.lua(849,1) in function 'UpdateModSettings'
  341.         scripts/modindex.lua(497,1) in function 'Load'
  342.         scripts/main.lua(299,1) in main chunk
  343. [00:00:00]: Error loading main.lua
  344. [00:00:00]: Failed mSimulation->Reset()
  345. [00:00:00]: Error during game initialization!
  346. [00:00:00]: Collecting garbage...
  347. [00:00:00]: lua_gc took 0.00 seconds
  348. [00:00:00]: ~ShardLuaProxy()
  349. [00:00:00]: ~NetworkLuaProxy()
  350. [00:00:00]: ~SimLuaProxy()
  351. [00:00:00]: lua_close took 0.00 seconds
  352. [00:00:00]: HttpClient2::ClientThread::Main() complete
  353. [00:00:00]: Shutting down
  354.  
  355. *-* That should be all. Any idea why the server wont start?
Advertisement
Add Comment
Please, Sign In to add comment