Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *-*settings.ini
- [MISC]
- CONSOLE_ENABLED = true
- autocompiler_enabled = true
- controller_popup = true
- wathgrithrfont = true
- netbook_mode = false
- vibration = false
- showpassword = true
- autosubscribemods = false
- MOTD_IMG = 3
- [account]
- token = *'* Used the token from Klei\DoNotStarveTogether\server_token.txt *'*
- [network]
- default_server_name = JacobMIX's Dedicated Server
- default_server_description = Jacob's Server now Dedicated.
- server_port = 10998
- server_password = *'* Private password *'*
- max_players = 8
- pvp = false
- server_intention = cooperative
- enable_snapshots = false
- pause_when_empty = true
- server_save_slot = 1
- [graphics]
- windowed_width = 1920
- windowed_height = 1018
- window_x = 0
- window_y = 22
- fullscreen_width = 1920
- fullscreen_height = 1080
- display_id = 0
- refresh_rate = 60
- fullscreen = true
- use_small_textures = false
- screenshake = true
- bloom = false
- distortion = false
- HUDSize = 5
- [audio]
- volume_ambient = 10
- volume_sfx = 10
- volume_music = 10
- *-* generate_worldgenoverride.lua
- local Customise = require "map/customise"
- local Levels = require "map/levels"
- local function makedescstring(desc)
- if desc ~= nil then
- local descstring = "-- "
- if type(desc) == "function" then
- desc = desc()
- end
- for i,v in ipairs(desc) do
- descstring = descstring..string.format('"%s"', v.data)
- if i < #desc then
- descstring = descstring..", "
- end
- end
- return descstring
- else
- return nil
- end
- end
- local out = {}
- table.insert(out, "return {")
- table.insert(out, "\toverride_enabled = true,")
- return {
- override_enabled = true,
- unprepared = { -- "never", "rare", "default", "often", "always"
- berrybush = "default",
- cactus = "default",
- carrot = "default",
- mushroom = "default",
- },
- misc = {
- autumn = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
- boons = "default", -- "never", "rare", "default", "often", "always"
- branching = "default", -- "never", "least", "default", "most"
- day = "default", -- "default", "longday", "longdusk", "longnight", "noday", "nodusk", "nonight", "onlyday", "onlydusk", "onlynight"
- frograin = "default", -- "never", "rare", "default", "often", "always"
- lightning = "default", -- "never", "rare", "default", "often", "always"
- loop = "default", -- "never", "default", "always"
- season_start = "default", -- "default", "winter", "spring", "summer", "random"
- spring = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
- summer = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
- touchstone = "default", -- "never", "rare", "default", "often", "always"
- weather = "default", -- "never", "rare", "default", "often", "always"
- wildfires = "default", -- "never", "rare", "default", "often", "always"
- winter = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
- world_size = "default", -- "default", "medium", "large", "huge"
- },
- animals = { -- "never", "rare", "default", "often", "always"
- alternatehunt = "default",
- angrybees = "default",
- beefalo = "default",
- beefaloheat = "default",
- bees = "default",
- birds = "default",
- butterfly = "default",
- buzzard = "default",
- catcoon = "default",
- frogs = "default",
- hunt = "default",
- lightninggoat = "default",
- moles = "default",
- penguins = "default",
- perd = "default",
- pigs = "default",
- rabbits = "default",
- tallbirds = "default",
- },
- monsters = { -- "never", "rare", "default", "often", "always"
- bearger = "default",
- chess = "default",
- deciduousmonster = "default",
- deerclops = "default",
- dragonfly = "default",
- goosemoose = "default",
- houndmound = "default",
- hounds = "never",
- krampus = "default",
- liefs = "default",
- lureplants = "default",
- merm = "default",
- spiders = "default",
- tentacles = "default",
- walrus = "default",
- },
- resources = { -- "never", "rare", "default", "often", "always"
- flint = "default",
- flowers = "default",
- grass = "default",
- marshbush = "default",
- meteorshowers = "default",
- meteorspawner = "default",
- reeds = "default",
- rock = "default",
- rock_ice = "default",
- sapling = "default",
- trees = "default",
- tumbleweed = "default",
- },
- }
- local presets = "-- "
- for i, level in ipairs(Levels.sandbox_levels) do
- if i > 0 then
- presets = presets .. " or "
- end
- presets = presets .. '"' ..level.id.. '"'
- end
- table.insert(out, string.format("\tpreset = %s, %s", Levels.sandbox_levels[1].id, presets))
- for name,group in pairs(Customise.GROUP) do
- local desc = group.desc
- if desc then
- table.insert(out, string.format("\t%s = { %s", name, makedescstring(desc)))
- else
- table.insert(out, string.format("\t%s = {", name, makedescstring(desc)))
- end
- local itemkeys = {}
- for itemname,_ in pairs(group.items) do
- table.insert(itemkeys, itemname)
- end
- table.sort(itemkeys)
- for i,itemname in ipairs(itemkeys) do
- local item = group.items[itemname]
- if desc == nil and item.desc ~= nil then
- table.insert(out, string.format('\t\t%s = "%s", %s', itemname, item.value, makedescstring(item.desc)))
- else
- table.insert(out, string.format('\t\t%s = "%s",', itemname, item.value))
- end
- end
- table.insert(out, "\t},")
- end
- table.insert(out, "}")
- print( table.concat(out, "\n"))
- local path = "worldgenoverride.lua"
- local file, err = io.open(path, "w")
- if err ~= nil then
- print("ERROR! ",err)
- else
- file:write( table.concat(out, "\n") )
- file:close()
- print()
- print("Wrote to worldgenoverride.lua")
- end
- *-* dedicated_server_mods_setup.lua
- --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.
- --ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
- --The Workshop id can be found at the end of the url to the mod's Workshop page.
- --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
- --ServerModSetup("350811795")
- --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.
- --The Workshop id can be found at the end of the url to the collection's Workshop page.
- --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
- --ServerModCollectionSetup("379114180")
- ServerModSetup("346962876") -- DST Freezer
- ServerModSetup("382177939") -- DST Storm Cellar
- ServerModSetup("378160973") -- Global Positions
- *-* modoverrides.lua
- return {
- ["workshop-346962876"] = { enabled = true }, -- DST Freezer
- ["workshop-382177939"] = { enabled = true }, -- DST Storm Cellar
- ["workshop-378160973"] = { enabled = true }, -- Global Positions
- }
- *-* modsettings.lua
- -- Use the "ForceEnableMod" function when developing a mod. This will cause the
- -- game to load the mod every time no matter what, saving you the trouble of
- -- re-enabling it from the main menu.
- --
- -- Note! You shout NOT do this for normal mod loading. Please use the Mods menu
- -- from the main screen instead.
- -- ForceEnableMod("kioskmode_dst")
- -- Use "EnableModDebugPrint()" to show extra information during startup.
- --EnableModDebugPrint()
- ["workshop-378160973"] = { enabled = true,
- configuration_options =
- {
- SHOWPLAYERSOPTIONS = 3,
- SHOWPLAYERICONS = true,
- FIREOPTIONS = 1,
- SHOWFIREICONS = true,
- SHAREMINIMAPPROGRESS = true,
- },
- }, -- Global Positions
- ["workshop-346962876"] = { enabled = true,
- configuration_options =
- {
- 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.
- chilltime = .01, -- Perish Time. .5 (normal), .37 (25%), .25 (50%), .12 (75%), .01 (None).
- },
- }, -- DST Freezer
- ["workshop-382177939"] = { enabled = true,
- configuration_options =
- {
- eightxten = 8x10, -- Slot Positions. 5x16, 8x10. (height and width)
- workit = yep, -- Workable. nope ; yep | If Yep, the cellar can be destroyed by Giants, Meteors and a Hammer.
- },
- }, -- DST Storm Cellar
- *-* launch options:
- "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
- *-* DoNotStarveTogetherDedicated log
- [00:00:00]: Starting Up
- [00:00:00]: Version: 157447
- [00:00:00]: Current time: Tue Nov 24 21:09:43 2015
- [00:00:00]: Don't Starve Together: 157447 WIN32
- NNN Build Date: 2015-11-23_16-30-48
- [00:00:00]: Parsing command line
- [00:00:00]: Command Line Arguments: -console -persistent_storage_root C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers -conf_dir DoNotStarveTogether
- [00:00:00]: Initializing Minidump handler
- [00:00:00]: ....Done
- [00:00:00]: Fixing DPI
- [00:00:00]: ...Done
- [00:00:00]: THREAD - started 'GAClient' (19824)
- [00:00:00]: HttpClient2::ClientThread::Main()
- [00:00:00]: ProfileIndex:3.63
- [00:00:00]: [CONNECT] PendingConnection::Reset(true)
- [00:00:00]: Network tick rate: U=15(2), D=0
- [00:00:00]: Network tick rate: U=15(2), D=0
- [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.
- [00:00:00]: WindowsFirewall - Application already authorized
- [00:00:00]: OnLoadPermissionList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/blocklist.txt (Failure)
- [00:00:00]: THREAD - started 'ConsoleInput' (21920)
- [00:00:00]: OnLoadPermissionList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/adminlist.txt (Success)
- [00:00:00]: OnLoadUserIdList: C:\srcds\Don't Starve Together Dedicated Server\DST Dedicated Servers/DoNotStarveTogether/save/whitelist.txt (Failure)
- [00:00:00]: Server token retrieved from: server_token.txt
- [00:00:00]: cGame::InitializeOnMainThread
- [00:00:00]: Renderer initialize: Okay
- [00:00:00]: AnimManager initialize: Okay
- [00:00:00]: Buffers initialize: Okay
- [00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
- [00:00:00]: FMOD Error: An invalid object handle was used.
- [00:00:00]: GameSpecific initialize: Okay
- [00:00:00]: cGame::StartPlaying
- [00:00:00]: LOADING LUA
- [00:00:00]: DoLuaFile scripts/main.lua
- [00:00:00]: DoLuaFile loading buffer scripts/main.lua
- [00:00:00]: scripts/main.lua(171,1) running main.lua
- [00:00:00]: DoLuaFile Error: [string "scripts/modindex.lua"]:849: Error loading modsettings:
- [string "../mods/modsettings.lua"]:16: unexpected symbol near '['
- LUA ERROR stack traceback:
- =[C] in function 'error'
- scripts/modindex.lua(849,1) in function 'UpdateModSettings'
- scripts/modindex.lua(497,1) in function 'Load'
- scripts/main.lua(299,1) in main chunk
- [00:00:00]: [string "scripts/modindex.lua"]:849: Error loading modsettings:
- [string "../mods/modsettings.lua"]:16: unexpected symbol near '['
- LUA ERROR stack traceback:
- =[C] in function 'error'
- scripts/modindex.lua(849,1) in function 'UpdateModSettings'
- scripts/modindex.lua(497,1) in function 'Load'
- scripts/main.lua(299,1) in main chunk
- [00:00:00]: Error loading main.lua
- [00:00:00]: Failed mSimulation->Reset()
- [00:00:00]: Error during game initialization!
- [00:00:00]: Collecting garbage...
- [00:00:00]: lua_gc took 0.00 seconds
- [00:00:00]: ~ShardLuaProxy()
- [00:00:00]: ~NetworkLuaProxy()
- [00:00:00]: ~SimLuaProxy()
- [00:00:00]: lua_close took 0.00 seconds
- [00:00:00]: HttpClient2::ClientThread::Main() complete
- [00:00:00]: Shutting down
- *-* That should be all. Any idea why the server wont start?
Advertisement
Add Comment
Please, Sign In to add comment