Jump to content

ReEnabling Mods in Dedicated server after update 2/6/2014


Recommended Posts

       I had a lot of trouble getting this fixed on my end, so offering rewording of information in Wiki and update post. modoverride.lua are no longer used, these have been merged to modoverrides.lua (The "s" is important this is what stumped me the longest...) and moved out of the individual mod directories and to the same location as your settings.ini user\documents\klei\donotstarvetogether\ in windows unless changed. The coding has been tweaked to support the merging.

Following is an example from my configuration, with notes to indicate which mod is which:

return {
    ["workshop-343762271"] = { enabled = true },
#moredstcharacters
#Full official character lineup except Woodie, Webber, Wigfrid
["workshop-346968521"] = { enabled = true },
#DST Wilson's House
#Additional craftable resting area
["workshop-347360448"] = { enabled = true },
#DST Where's My Beefalo?
#more map icons for mobs and structures
["workshop-356006343"] = { enabled = true },
#natureswild
#Most orcanic structures and mobs have chance to duplicate over 40 days
["workshop-356398534"] = { enabled = true },
#PickyPickyPicky
#makes almost everything quick pick
["workshop-356833566"] = { enabled = true },
#DSTROGcharacters
["workshop-357459277"] = { enabled = true },
#DSTwidefov
#Expandes field of view
["workshop-362175979"] = { enabled = true },
#Wormhole marks
#Matching wormholes are color coded on map when host activates, Exited worm hole only
#for client, once colored on all players maps
["workshop-364255295"] = { enabled = true },
#autoretrap
#Traps are only looted first, and if empty picked up
["workshop-369518979"] = { enabled = true },
#warkthechocobo
#A Chocobo for Don't Starve!
["workshop-369588618"] = { enabled = true },
#renewable world
#The world can grow back again.\nAllows things which can normally be exhasted from the world to re-appear, such as plants, rocks, trees, and all sorts of other fun things."
["workshop-373991022"] = { enabled = true },
#globalplayericons
#Player icons on map for everyone
["workshop-384633033"] = { enabled = true },
#dstwoodie
#Adds Woodie to DST

},

 Also servermods.lua in the main mod folder in DST Dedicated server install location has to be manually renamed to dedicated_server_mods_setup.lua to update your mods. The same coding ie. "ServerModSetup("343762271")" will work correctly.

 

Link to comment
Share on other sites

OK I noticed the problem  i was using ()   NOT {}   Sorry should have looked a little harder THANKS and Great work on this GL and Don't Starve =p

 

Error : Failed to load modoverrides.lua      I keep getting this in the log when loading the dedicated server its downloading mods like it should from dedicated_server_mods_setup.lua in main mod folder and i have the modoverrides.lua in the folder with settings and such tried in both custom and default folder

return ( ["workshop-343762271"] = ( enabled = true ), ["workshop-345692228"] = ( enabled = true ), ["workshop-352373173"] = ( enabled = true ), ["workshop-356006343"] = ( enabled = true ), ["workshop-356833566"] = ( enabled = true ), ["workshop-357270978"] = ( enabled = true ), ["workshop-362175979"] = ( enabled = true ), ["workshop-363819976"] = ( enabled = true ), ["workshop-364255295"] = ( enabled = true ), ["workshop-364821573"] = ( enabled = true ), ["workshop-367304592"] = ( enabled = true ), ["workshop-369588618"] = ( enabled = true ), ["workshop-378160973"] = ( enabled = true ), ["workshop-386484388"] = ( enabled = true ), ["workshop-386491550"] = ( enabled = true ) )

any idea whats causing this   i used crtl V / C on the Lua files just incase i typoed something 

 

Thanks

 

[00:00:09]: loaded modindex
[00:00:09]: ModIndex: Beginning normal load sequence for dedicated server.
 
[00:00:09]: ERROR: Failed to load modoverrides.lua
[00:00:09]: LOADING LUA SUCCESS
Link to comment
Share on other sites

I want to add for anyone that has the same error:

 

Check to make sure that you can explain why every character is present in your config. This seems to happen whenever the syntax for your modoverrides.lua file isn't correct. I had an almost identical error, and it was due to me leaving out the commas at the end of each entry.

Link to comment
Share on other sites

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