Jump to content

[Ask about mod setup] My dedicated server said it registering mods but nothing happen


Recommended Posts

I am trying to create a dedicated server.

I have successfully host a server, but I couldn't add mods to my server.

When I run my server, I see that it know I'm trying to add a mod and it even download workshop data, but then my server still don't have that mods.

I have attached my server_log.txt below, pls help me.:( Thank you very much.

Sorry for my bad english!

server_log.txt

My guess would be that you've set up your dedicated_mods_setup.lua for downloading the mods, but you didn't configure the mods to load using the modoverrides.lua in the individual shard folders.

For more specifics you can check out my old guide on settings up mods on a dedicated server.

13 hours ago, Daniel86268 said:

My guess would be that you've set up your dedicated_mods_setup.lua for downloading the mods, but you didn't configure the mods to load using the modoverrides.lua in the individual shard folders.

For more specifics you can check out my old guide on settings up mods on a dedicated server.

Tks for your response.

Before I was trying ForceEnabledMod, I had remove that and use modoverrides.lua like your guide.

below is my modoverrides.lua at Master/modoverrides.lua and Cave

return {
        ["workshop-376333686"] = { enabled = true} --COMBINED STATUS
}

and here is my dedicated_server_mods_setup.lua

--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("376333686") --Combined Status

 

And I saw these line at server_log.txt

[00:00:08]: SUCCESS: Loaded modoverrides.lua
[00:00:08]: modoverrides.lua enabling workshop-376333686
[00:00:08]: ModIndex:GetModsToLoad inserting forcedmoddir,      workshop-376333686
[00:00:08]: Could not load mod_config_data/modconfiguration_workshop-376333686
[00:00:08]: Loading mod: workshop-376333686 (Combined Status) Version:1.9.1
[00:00:08]: Mod: workshop-376333686 (Combined Status)   Loading modworldgenmain.lua
[00:00:08]: Mod: workshop-376333686 (Combined Status)     Mod had no modworldgenmain.lua. Skipping.
[00:00:08]: Mod: workshop-376333686 (Combined Status)   Loading modmain.lua
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWSTATNUMBERS nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWMAXONNUMBERS        nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWCLOCKTEXT   nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWTEMPERATURE nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWNAUGHTINESS nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWWORLDTEMP   nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWTEMPBADGES  nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWBEAVERNESS  nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        HIDECAVECLOCK   nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWMOON        nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWWANINGMOON  nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SHOWNEXTFULLMOON        nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        FLIPMOON        nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        UNIT    nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        SEASONOPTIONS   nil
[00:00:08]: workshop-376333686 (Combined Status)        GetModConfigData        HUDSCALEFACTOR  nil
[00:00:08]: ModIndex:GetModsToLoad inserting forcedmoddir,      workshop-376333686
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/badge
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/boatmeter
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/moisturemeter
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/wx78moisturemeter
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/inspirationbadge
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/wandaagebadge
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/controls
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/statusdisplays
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   widgets/uiclock
[00:00:08]: workshop-376333686 (Combined Status)        AddClassPostConstruct   screens/playerhud

So I'm thinking is it because of line: "Could not load mod_config_data/modconfiguration_workshop-376333686" that my mods is not working.

And I'm running my server with command :"screen -S "DST Server" ./dontstarve_dedicated_server_nullrenderer", following this guide 

Because If I try running a sh file like other guide (the one that need to remove 'validate' for mod to work), it just stuck at running a server (stuck at Load BE)

:(( Could you show me how to fix this

It turned out that I need to app_update 343050 before launching my server. I try and can download 1 mod and it worked.

But the things is that when I edit 'dedicated_server_mods_setup.lua' file to add more mod, it didn't work anymore. When I run app_update 343050, it always said that the game is updated, without downloading new mods :(((

3 hours ago, BangBu said:

When I run app_update 343050, it always said that the game is updated, without downloading new mods :(((

You can somewhat force the update process to run by adding the "validate" parameter to your app_update script. This check your Servers' file integrity and might also download the mods at the same time... although I thought the mods get downloaded by the normal server during startup.

11 hours ago, Daniel86268 said:

You can somewhat force the update process to run by adding the "validate" parameter to your app_update script. This check your Servers' file integrity and might also download the mods at the same time... although I thought the mods get downloaded by the normal server during startup.

Thanks for taking the time.

It turns out that in some strange way, the mods I tried happened to be incompatible. :((

So I tried some other mods again, and it worked :D 

It's weird that some mod like "Combined Status" worked fine when I created a server in the game, but with dedicated server, steamcmd said it cannot download the workshop/dunno what that workshop is or something like that. Though when loading it's still know that workshop is "Combined Status" @@

I thinks I'm fine for the moment,

Thanks again for taking the time to help me :D 

 

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...