Jump to content

Trouble Setting Up Dedicated Server


Recommended Posts

Hi guys, new here.

I'm trying to set up a dedicated server. However, I'm having some trouble with getting a couple of the mods to work.

No matter what I do, i can't seem to get all the mods to show. Here is my setup:

dedicated_server_mods_setup.lua

-- Working
ServerModSetup("588560555") -- Auto Hound Reset
ServerModSetup("347079953") -- Display Food Values
ServerModSetup("2281925291") -- Finder Redux
ServerModSetup("2078243581") -- Display Attack Range

-- Not Working
ServerModSetup("1207269058") -- Epic Healthbar
ServerModSetup("2334209327") -- Heap of Food
ServerModSetup("378160973") -- Global Positions

modoverides.lua (the same in all 4 of my shards)

return {  
  ["1207269058"] = { enabled = true }, -- Epic Healthbar
  ["2334209327"] = { enabled = true }, -- Heap of Food
  ["378160973"] = { enabled = true }, -- Global Positions
  ["588560555"] = { enabled = true }, -- Auto Hound Reset
  ["347079953"] = { enabled = true }, -- Display Food Values
  ["2281925291"] = { enabled = true }, -- Finder Redux
  ["2078243581"] = { enabled = true }, -- Display Attack Range
}

Any help would be appreciated

I should add, ive also tried following jazzys tutorial on how to set it up with vox launcher.

I did exactly what he did and tried to only set a basic world up with Epic Healthbar ("1185229307"). It works fine when trying to run the game via the 'Host Game' menu in the menu, but when i try and boot it up via vox and browse for it in the 'LAN' menu, it doesnt show up. This is the case if i install all the mods as well. Only the 4 mods mentioned above ever work

The only thing I see directly is that there's a comma too much in your modoverrides.lua.

grafik.png.0b950a7634482be5208f60bfe08fb75d.png

Picture it as a comma seperated list. {obect1,object2,object3} There's no comma after the last item. So it should look like this:

return {  
  ["1207269058"] = { enabled = true }, -- Epic Healthbar
  ["2334209327"] = { enabled = true }, -- Heap of Food
  ["378160973"] = { enabled = true }, -- Global Positions
  ["588560555"] = { enabled = true }, -- Auto Hound Reset
  ["347079953"] = { enabled = true }, -- Display Food Values
  ["2281925291"] = { enabled = true }, -- Finder Redux
  ["2078243581"] = { enabled = true } -- Display Attack Range
}

This however should throw a syntax error, and load no mods at all, so Maybe Klei added a failsafe for that one, since that seems to be a common problem.

Check your server log, if it says something about mods failed to load or failed to download.

this is my server log about installing mods:

[00:00:01]: loaded modindex	
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
	
[00:00:02]: [Workshop] Item query page 0, size: 11, total size: 11
[00:00:02]: [Workshop] Item query queued IDs: 1185229307 2334209327 378160973 588560555 347079953 2281925291 2078243581 1467214795 2795087108 2521851770 595764362
[00:00:02]: [Workshop] Item query sent
[00:00:03]: [Workshop] ItemQuery got this many results: 11, matching: 11
[00:00:03]: [Workshop] ModQuery got 11 results
[00:00:03]: [Workshop] ModQuery queued to download IDs: 1185229307 2334209327 378160973 1467214795 2795087108 2521851770
[00:00:03]: [Workshop] ModQuery already have IDs: {1.1,588560555} {1.61,347079953} {1.1,2281925291} {1.5,2078243581} {2.0.3,595764362}
[00:00:03]: [Workshop] ItemQuery finished all queries, moving to download phase
[00:00:03]: [Workshop] ItemQuery downloading 6 pending mods marked to download
[00:00:03]: [Workshop] DownloadPublishedFile [0] 1185229307
[00:00:03]: [Workshop] DownloadPublishedFile [0] 2334209327
[00:00:03]: [Workshop] DownloadPublishedFile [0] 378160973
[00:00:03]: [Workshop] DownloadPublishedFile [0] 1467214795
[00:00:03]: [Workshop] DownloadPublishedFile [0] 2795087108
[00:00:03]: [Workshop] DownloadPublishedFile [0] 2521851770
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 1185229307
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 2334209327
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 378160973
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 1467214795
[00:00:04]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 2795087108
[00:00:04]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 2521851770
[00:00:04]: [Workshop] ODPF failed entirely: 37
[00:00:34]: DownloadServerMods timed out with no response from Workshop...
[00:00:34]: SUCCESS: Loaded modoverrides.lua	
[00:00:34]: modoverrides.lua enabling workshop-588560555	
[00:00:34]: modoverrides.lua enabling workshop-2078243581	
[00:00:34]: modoverrides.lua enabling workshop-347079953	
[00:00:34]: modoverrides.lua enabling workshop-2281925291	
[00:00:34]: ModIndex:GetModsToLoad inserting moddir, 	workshop-2078243581	
[00:00:34]: ModIndex:GetModsToLoad inserting moddir, 	workshop-2281925291	
[00:00:34]: ModIndex:GetModsToLoad inserting moddir, 	workshop-347079953	
[00:00:34]: ModIndex:GetModsToLoad inserting moddir, 	workshop-588560555	
[00:00:34]: Could not load mod_config_data/modconfiguration_workshop-2078243581_CLIENT	
[00:00:34]: Loading mod: workshop-2078243581 (Display Attack Range) Version:1.5	
[00:00:34]: Could not load mod_config_data/modconfiguration_workshop-2281925291_CLIENT	
[00:00:34]: Loading mod: workshop-2281925291 (Finder Redux) Version:1.1	
[00:00:34]: Could not load mod_config_data/modconfiguration_workshop-347079953_CLIENT	
[00:00:34]: Loading mod: workshop-347079953 (Display food values) Version:1.61	
[00:00:34]: Could not load mod_config_data/modconfiguration_workshop-588560555_CLIENT	
[00:00:34]: Loading mod: workshop-588560555 (Auto Hound Reset) Version:1.1	
[00:00:34]: Mod: workshop-347079953 (Display food values)	Loading modworldgenmain.lua	
[00:00:34]: Mod: workshop-347079953 (Display food values)	  Mod had no modworldgenmain.lua. Skipping.	
[00:00:34]: Mod: workshop-347079953 (Display food values)	Loading modmain.lua	
[00:00:34]: Mod: workshop-2078243581 (Display Attack Range)	Loading modworldgenmain.lua	
[00:00:34]: Mod: workshop-2078243581 (Display Attack Range)	  Mod had no modworldgenmain.lua. Skipping.	
[00:00:34]: Mod: workshop-2078243581 (Display Attack Range)	Loading modmain.lua	
[00:00:34]: Mod: workshop-588560555 (Auto Hound Reset)	Loading modworldgenmain.lua	
[00:00:34]: Mod: workshop-588560555 (Auto Hound Reset)	  Mod had no modworldgenmain.lua. Skipping.	
[00:00:34]: Mod: workshop-588560555 (Auto Hound Reset)	Loading modmain.lua	
[00:00:34]: Mod: workshop-2281925291 (Finder Redux)	Loading modworldgenmain.lua	
[00:00:34]: Mod: workshop-2281925291 (Finder Redux)	  Mod had no modworldgenmain.lua. Skipping.	
[00:00:34]: Mod: workshop-2281925291 (Finder Redux)	Loading modmain.lua	
[00:00:34]: modimport: ../mods/workshop-2281925291/main.lua	
[00:00:34]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:34]: LOADING LUA SUCCESS
[00:00:34]: Registering Server mod namespace "finder_redux"
[00:00:34]: Registering Server mod namespace "food item"
[00:00:34]: Registering Client mod namespace "finder_redux"

 

5 hours ago, MShuckz said:
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 1185229307
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 2334209327
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:03]: [Workshop] OnDownloadPublishedFile [37] 378160973
[00:00:03]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 1467214795
[00:00:04]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 2795087108
[00:00:04]: [Workshop] ODPF failed entirely: 37
[00:00:04]: [Workshop] OnDownloadPublishedFile [37] 2521851770
[00:00:04]: [Workshop] ODPF failed entirely: 37

It seems like that for some reason your server failed to download these mods. According to the log it's

5 hours ago, MShuckz said:
[00:00:34]: DownloadServerMods timed out with no response from Workshop...

due to a timeout. This can be either a Firewall issue or just a general connectivity issue.

 

In my XP most people who had issues like this just copied over the missing mods from their client to their Dedicated server mods directory to fix this.

Ye i thought that. Though i tried manually importing them into the mods folder. I did so in both the steams `Don't Starve Together` mods folder and the `Don't Starve Together Dedicated Server` mods folder and i added one in `\Documents\Klei\DoNotStarveTogether` just to be safe. I even manually put in each mod with folder names `XXX` and `workshop-XXX`.

I included a modsettings.lua with them in inside `\Documents\Klei\DoNotStarveTogether`, the `dedicated_server_mods_setup` is in all the mods folders ive created.

No matter what I do, I just can't seem to work out why only those 4 mods will work in the dedicated server, despite all of them working when playing locally through the host games UI.

You don't need a dedicated_server_mods_setup file to run a modded server using Vox Launcher, I'm not sure how the app behaves when the file exists.
Could you try just having the mods enabled in game and launching the world though the in game menu once (so it saves the data).

If the issue persists, please create a issue at the repository, so I'm able to assist you better.
https://github.com/diogo-webber/vox-launcher/issues/new?template=bug_report.yml

Thanks.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...