DSkySoul Posted June 14, 2015 Share Posted June 14, 2015 Hi, I wanted to make a modded dedicated server for me and my friends, I was able to create the server and enter it. Now I have to install the mods, I have a mod collection of the mods I want in the server. I saw there is an option to add a collection in the "dedicated_server_mods_setup" file. I added it : ServerModCollectionSetup("455160469") And nothing happened I started searching but i didn't find what i could do to add a collection to the server. Am i doing something wrong or is there another day ? Link to comment Share on other sites More sharing options...
DSkySoul Posted June 14, 2015 Author Share Posted June 14, 2015 another way* '-' Link to comment Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 you need to enable the mods in klei\DoNotStarveTogether\modoverrides.lua I have no experience with mods on a dedicated server so you will have to make do with what is on the wiki http://dont-starve-game.wikia.com/wiki/Don%E2%80%99t_Starve_Together_Dedicated_Servers#Mods Link to comment Share on other sites More sharing options...
WeirdoSunny Posted June 15, 2015 Share Posted June 15, 2015 Hi, I wanted to make a modded dedicated server for me and my friends, I was able to create the server and enter it. Now I have to install the mods, I have a mod collection of the mods I want in the server. I saw there is an option to add a collection in the "dedicated_server_mods_setup" file. I added it : And nothing happened I started searching but i didn't find what i could do to add a collection to the server. Am i doing something wrong or is there another day ? I have the same problem.ServerModSetup works well and I am forced to use it. Link to comment Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 ok so I did some messing around and I had to copy the mods I wanted from my SteamLibrary\SteamApps\common\Don't Starve Together Beta\mods to \SteamLibrary\SteamApps\common\Don't Starve Together Dedicated Server\mods this also allowed me to use the modoverrides.lua in klei\DoNotStarveTogether (you have to create this lua file) to enable my modsor once you copied the mods you can use the modsettings.lua in the \SteamLibrary\SteamApps\common\Don't Starve Together Dedicated Server\mods and use the ForceEnable("") to enable mods you can use this as a reference modoverrides.lua modsettings.lua for some reason it wont download collections and mods from steam for me ps i would've used a the spoiler /spoiler but the formating of the lua file is lost when copy/pasting Link to comment Share on other sites More sharing options...
DSkySoul Posted June 15, 2015 Author Share Posted June 15, 2015 My experience with mods isn't big either ^^' Before wanting to create a dedicated server i made a mod collection so it would be easier to my friends to join me. I now tried using this website http://dstct.tdlive.me/ that help setup a mod collection for a dedicated server but it still doesn't work. I find this way must easier but if i use the modoverrides.lua do i have to see if the mod is only client side ? and do the mods auto update after i do the setup ? Link to comment Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 No it doesn't matter if a mod is client side only enable it in the modoverrides.lua if it is in your collection, if you were to set one of the mods to enable = false it would disable that mod for everyone joining the server it should automatically update just like it should automatically download the mod collection however it may be bugged or somethingas I said before I had to copy the mods I had installed on my dst client to the dst dedicated server Link to comment Share on other sites More sharing options...
DSkySoul Posted June 15, 2015 Author Share Posted June 15, 2015 The mods configuration, is it in this folder:Klei\DoNotStarveTogether\save\mod_config_data If i copy the folder to my server save does it work or do i have to configure everything in the modoverrides.lua file ? Link to comment Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 no the mod_config_data in the My Documents\klei\DoNotStarveTogether\save\mod_config_data has your personal client mod configs in it unfortunately you will have to configure your mods in the modoverrides.lua you can't configure the mods from the dst client then copy the modconfiguration file to a custom server directory (\klei\MyServer\save\mod_config_data) I tested it Link to comment Share on other sites More sharing options...
DTM450 Posted June 15, 2015 Share Posted June 15, 2015 so to change the option for a mod in the modoverrides.lua it will look something like thisfor the show moon option in the "Always On Status" mod configsmodoverrides.luaReturn{["workshop-376333686"] = {enabled = true, configuration_options ={SHOWMOON = 1, ["String Phrase Option Name"] = "some value", } } }and to find an option name you would need to look in the modinfo and modmain lua files of a mod to get the nameshere is where I found the String Phrase Option Name in the modinfo.lua{name = "SHOWMOON",label = "Show Moon",hover = "Show the moon phase during day and dusk.",options = {{description = "Night Only", data = 0, hover = "Show the moon only at night, like usual."},{description = "Dusk", data = 1, hover = "Show the moon during both night and dusk."},{description = "Always", data = 2, hover = "Show the moon at all times."},},default = 1,},this is just a part of the modinfo.lua you will have to do some searching to get the name of the option and the values you can apply to the name Link to comment Share on other sites More sharing options...
DSkySoul Posted June 15, 2015 Author Share Posted June 15, 2015 Mods like Always On Status where you can configure as a host the way you like i could just not configure no ? it would use the default settings, right? I finished the modoverrides.lua and it's giving me an error messageERROR: Failed to load modoverrides.luaUpdate: I forgot to include all the mods in the dedicated_server_mods_setup.lua file but it still gives an error 2nd Update: It seems that i still had to ForceEnable the mods, i thought if that there were 2 options but doing the two at the same time seems to make it work but it still didn't load modoverrides.lua log update.txt log 2nd update.txt Link to comment Share on other sites More sharing options...
DSkySoul Posted June 15, 2015 Author Share Posted June 15, 2015 Is something wrong in my modoverrides.lua ? --["workshop-"]--enabledreturn { --Advanced Tooltips ["workshop-394172225"] = {enabled = true}, --Always On Status ["workshop-376333686"] = {enabled = true}, --Aquarium ["workshop-387716835"] = {enabled = true, configuration_options = { san = 15, } }, --Auto ReTrap ["workshop-394612159"] = {enabled = true}, --Beefalo Milk And Cheese ["workshop-436654027"] = {enabled = true}, --Better Boomerang ["workshop-357847848"] = {enabled = true}, --Craft Stuff ["workshop-398115039"] = {enabled = true, configuration_options = { BatiliskWing = easy, BunnyPuff = easy, Gears = easy, BerryBush = easy, Butter = easy, LightBulb = easy, } }, --Craftable Beard Hair ["workshop-453692912"] = {enabled = true}, --Custom Game Mode ["workshop-442354618"] = {enabled = true, configuration_options = { ghost_drain = false, } }, --DJPaul's Sort Inventory ["workshop-444438334"] = {enabled = true}, --DST Advanced Farming ["workshop-370373189"] = {enabled = true, configuration_options = { greenhouserecipe = easy, } }, --DST Always On Tiki Torch ["workshop-366676924"] = {enabled = true}, --DST Fish Farm ["workshop-356435289"] = {enabled = true}, --DST Freezer ["workshop-346962876"] = {enabled = true, configuration_options = { f_recipe = easy, chilltime = .01 } }, --DST Path Lights ["workshop-385006082"] = {enabled = true, configuration_options = { light_color = color4, } }, --DST PickyPickyPicky ["workshop-356398534"] = {enabled = true}, --DST Spider Cage ["workshop-384396097"] = {enabled = true}, --DST Storm Cellar ["workshop-382177939"] = {enabled = true}, --DST Where's My Beefalo ["workshop-347360448"] = {enabled = true}, --Deluxe Campfires 2.11 ["workshop-444235588"] = {enabled = true}, -- Diggable Reeds ["workshop-367304592"] = {enabled = true}, --Endorthermic Torch DST ["workshop-441266606"] = {enabled = true}, --Extra Equip Slots ["workshop-375850593"] = {enabled = true}, --Fast Travel ["workshop-458587300"] = {enabled = true, configuration_options = { Travel_Cost = 128, } }, --Fear of Gnomes ["workshop-422659100"] = {enabled = true}, --Gesture Wheel ["workshop-352373173"] = {enabled = true}, --Global Player Icons ["workshop-373991022"] = {enabled = true}, --Haruz Character [DST] ["workshop-359821133"] = {enabled = true}, --Health Info ["workshop-375859599"] = {enabled = true}, --Health Regeneration ["workshop-457071756"] = {enabled = true, configuration_options = { REQUIRED_HUNGER_PRECENT = 0.75, REGENERATION_RATE = 8 HUNGER_DRAIN_RATE = 2 } }, --Increased Stack size ["workshop-374550642"] = {enabled = true}, --Koalefanta Proboscidea ["workshop-409858663"] = {enabled = true}, --Large Chest ["workshop-396026892"] = {enabled = true}, --Luka ["workshop-396172673"] = {enabled = true}, --Minimap HUD ["workshop-345692228"] = {enabled = true}, --Mitsuru Character [DST] ["workshop-364189966"] = {enabled = true}, --More Inventory ["workshop-378962221"] = {enabled = true}, --No More Respawn Penalty ["workshop-356420397"] = {enabled = true}, --Pickle It ["workshop-404983266"] = {enabled = true}, --Renewable Bees ["workshop-430427326"] = {enabled = true, configuration_options = { rbeediffdef = 1, } }, --Sasuke ["workshop-420492456"] = {enabled = true}, --Smart Crock Pot ["workshop-365119238"] = {enabled = true}, --Spike Trap ["workshop-396822875"] = {enabled = true}, --Steampunk DST ["workshop-418604101"] = {enabled = true}, --Waiter 101 Together v3.1 ["workshop-381565292"] = {enabled = true}, --Woodie for DST ["workshop-384633033"] = {enabled = true}, --Wormhole Marks [DST] ["workshop-362175979"] = {enabled = true}, --Wurpal the Ringleader ["workshop-458468587"] = {enabled = true}, --Xenomorph ["workshop-458365884"] = {enabled = true, configuration_options = { NightVision = false, } }, --[DST]Auto Catch ["workshop-371920345"] = {enabled = true}, --[TW-Atena]Potion ["workshop-391522324"] = {enabled = true},} Link to comment Share on other sites More sharing options...
ToNiO55 Posted June 16, 2015 Share Posted June 16, 2015 Hi @DSkySoul, the last one is wrong: --[TW-Atena]Potion ["workshop-391522324"] = {enabled = true},} try this --[TW-Atena]Potion ["workshop-391522324"] = {enabled = true}} Link to comment Share on other sites More sharing options...
DSkySoul Posted June 16, 2015 Author Share Posted June 16, 2015 Thanks I only did copy/paste and forgot ^^' But still the server gives the same error of not loading the file Update: I searched for more mistakes and found i forgot some commas, thank you again I don't know much about the code that the server shows while creating the save, i see some errors that show up every time i start the server, is it normal ? log.txt Link to comment Share on other sites More sharing options...
ToNiO55 Posted June 16, 2015 Share Posted June 16, 2015 @DSkySoul, can you show me your dedicated_server_mods_setup.lua please? i going test your modoverrides.lua and your dedicated_server_mods_setup.lua on my server dedicated test some mods in your modoverrides.lua is not available for server, it's mod works only on version client example: Gesture Whell and Always in Status I did not check all the mods in your modoverrides.lua, but it is possible that there are other you can see this information in modinfo.lua of the mod example with Always on Status: Steam\steamapps\common\Don't Starve Together Beta\mods\workshop-376333686\modinfo.lua client_only_mod = true Link to comment Share on other sites More sharing options...
DSkySoul Posted June 16, 2015 Author Share Posted June 16, 2015 No it doesn't matter if a mod is client side only enable it in the modoverrides.lua if it is in your collection, if you were to set one of the mods to enable = false it would disable that mod for everyone joining the server I thought it didn't matter ^^' dedicated_server_mods_setup.lua modoverrides.lua Link to comment Share on other sites More sharing options...
ToNiO55 Posted June 16, 2015 Share Posted June 16, 2015 @DSkySoul, sorry, I mean for always status it can not be configure on the server, because it works on the client version but I do not see the interest to add to the server also, it's just my opinion so i see your log now it's works fine right? all mods loaded? [00:00:23]: AddPortMapping(10998, 10998, 192.168.178.22) failed with code 403 (UnknownError) can you join your server? or it's just warning error? Link to comment Share on other sites More sharing options...
DSkySoul Posted June 16, 2015 Author Share Posted June 16, 2015 @ToNiO55, That's why i asked earlier if it was ok to put them there or if i had to check if it was only client side. Does this mean it could load some feature?Could not unload undefined prefab 0x2cc493e4 (book_birds)I can enter the server with no problem, and everything seems to be working If i take the client side only mods off the server, would the server need less resources (CPU/RAM) ? Not sure if it matters but because the server will be in this computer, if it would reduce the load on the computer it might be a good thing to do Link to comment Share on other sites More sharing options...
DTM450 Posted June 17, 2015 Share Posted June 17, 2015 yes you can remove mods that are client only from the server it does free up some ram and cpu you can take a look at my 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") ServerModCollectionSetup("378298003")--ServerModSetup("376333686") -- Always On Status--ServerModSetup("458940297") -- Food Values Item Tooltips --Disabled Causes CrashesServerModSetup("347079953") -- Food ValuesServerModSetup("361994110") -- Bee NiceServerModSetup("375859599") -- Health InfoServerModSetup("369588618") -- Renewable WorldServerModSetup("362175979") -- Wormhole MarksServerModSetup("375850593") -- Extra Equipment Slots--ServerModSetup("357186881") -- No Mods Warning--ServerModSetup("352373173") -- Gesture WheelServerModSetup("378160973") -- Global Positions you will see I have disabled/commented out the mods that are client only or causing issues on the server Link to comment Share on other sites More sharing options...
DTM450 Posted June 17, 2015 Share Posted June 17, 2015 I just realised that the servermodcollectionsetup may be for people joining the server I will need to test/check this Link to comment Share on other sites More sharing options...
DSkySoul Posted June 17, 2015 Author Share Posted June 17, 2015 I was testing with my friend if the server was ok for him and such. I forgot to screenshot it but he did Is it something serious and do you know if i can fix it ? Link to comment Share on other sites More sharing options...
DSkySoul Posted June 20, 2015 Author Share Posted June 20, 2015 As this error didn't happen again i just passed it and now i'm trying to put everything together, see if there is any bug with mods. Currently it doesn't load the modoverrides.lua file again, me and my friend tried to find the error but didn't find any. Is there something wrong here :/ --["workshop-"]--enabledreturn { --Advanced Tooltips ["workshop-394172225"] = {enabled = true}, --Always On Status ["workshop-376333686"] = {enabled = true}, --Aquarium ["workshop-387716835"] = {enabled = true, configuration_options = { san = 15, } }, --Auto ReTrap ["workshop-394612159"] = {enabled = true}, --Beefalo Milk And Cheese ["workshop-436654027"] = {enabled = true}, --Better Boomerang ["workshop-357847848"] = {enabled = true}, --Craft Stuff ["workshop-398115039"] = {enabled = true, configuration_options = { BatiliskWing = easy, BunnyPuff = easy, Gears = easy, BerryBush = easy, Butter = easy, LightBulb = easy, } }, --Craftable Beard Hair ["workshop-453692912"] = {enabled = true}, --Custom Game Mode ["workshop-442354618"] = {enabled = true, configuration_options = { ghost_drain = false, } }, --DJPaul's Sort Inventory ["workshop-444438334"] = {enabled = true, configuration_options = { keybind = 114, } }, --DST Advanced Farming ["workshop-370373189"] = {enabled = true, configuration_options = { greenhouserecipe = easy, } }, --DST Fish Farm ["workshop-356435289"] = {enabled = true}, --DST Freezer ["workshop-346962876"] = {enabled = true, configuration_options = { f_recipe = easy, chilltime = .01, } }, --DST Path Lights ["workshop-385006082"] = {enabled = true, configuration_options = { light_color = color4, } }, --DST PickyPickyPicky ["workshop-356398534"] = {enabled = true}, --DST Spider Cage ["workshop-384396097"] = {enabled = true}, --DST Storm Cellar ["workshop-382177939"] = {enabled = true, configuration_options = { eightxten = 8x10, } }, --DST Where's My Beefalo ["workshop-347360448"] = {enabled = true}, --Deluxe Campfires 2.11 ["workshop-444235588"] = {enabled = true}, -- Diggable Reeds ["workshop-367304592"] = {enabled = true}, --Endorthermic Torch DST ["workshop-441266606"] = {enabled = true}, --Extra Equip Slots ["workshop-375850593"] = {enabled = true}, --Fast Travel ["workshop-458587300"] = {enabled = true, configuration_options = { Travel_Cost = 128, } }, --Fear of Gnomes ["workshop-422659100"] = {enabled = true}, --Gesture Wheel ["workshop-352373173"] = {enabled = true}, --Global Player Icons ["workshop-373991022"] = {enabled = true}, --Haruz Character [DST] ["workshop-359821133"] = {enabled = true}, --Heather ["workshop-391086703"] = {enabled = true}, --Health Info ["workshop-375859599"] = {enabled = true}, --Health Regeneration ["workshop-457071756"] = {enabled = true, configuration_options = { REQUIRED_HUNGER_PRECENT = 0.75, REGENERATION_RATE = 8, HUNGER_DRAIN_RATE = 2, } }, --Increased Stack size ["workshop-374550642"] = {enabled = true}, --Koalefanta Proboscidea ["workshop-409858663"] = {enabled = true}, --Large Chest ["workshop-396026892"] = {enabled = true}, --Minimap HUD ["workshop-345692228"] = {enabled = true}, --Mitsuru Character [DST] ["workshop-364189966"] = {enabled = true}, --Modified Tumbleweed Loot ["workshop-440865396"] = {enabled = true, configuration_options = { mode = advanced_mode, Gord_Knot = .5, Dark_Petals = .5, Rubber_Bung = .5, Frazzled_Wires = .5, Bee = .5, Frog = .5, Spider = .5, Beard_Hair = 0.4, } }, --More Inventory ["workshop-378962221"] = {enabled = true}, --Ninja Joe ["workshop-422460997"] = {enabled = true}, --No More Respawn Penalty ["workshop-356420397"] = {enabled = true}, --Pandamon ["workshop-451120901"] = {enabled = true}, --Personal Chesters ["workshop-463740026"] = {enabled = true}, --Pickle It ["workshop-404983266"] = {enabled = true}, --Renewable Bees ["workshop-430427326"] = {enabled = true, configuration_options = { rbeediffdef = 1, } }, --Restart ["workshop-462434129"] = {enabled = true, configuration_options = { flood_protect = true, flood_protect_time = 10, } }, --Skull Kid ["workshop-452805040"] = {enabled = true}, --Smart Crock Pot ["workshop-365119238"] = {enabled = true}, --Spike Trap ["workshop-396822875"] = {enabled = true}, --Steampunk DST ["workshop-418604101"] = {enabled = true}, --Waiter 101 Together v3.1 ["workshop-381565292"] = {enabled = true}, --Wilton ["workshop-463919131"] = {enabled = true}, --Woodie for DST ["workshop-384633033"] = {enabled = true}, --Wormhole Marks [DST] ["workshop-362175979"] = {enabled = true}, --Xenomorph ["workshop-458365884"] = {enabled = true}, --[DST]Auto Catch ["workshop-371920345"] = {enabled = true}, --[TW-Atena]Potion ["workshop-391522324"] = {enabled = true}} Link to comment Share on other sites More sharing options...
DTM450 Posted June 20, 2015 Share Posted June 20, 2015 could you post your log please Link to comment Share on other sites More sharing options...
ToNiO55 Posted June 20, 2015 Share Posted June 20, 2015 @DSkySoul, can you share your modoverrides.lua and your dedicated_server_mods_setup.lua please? Link to comment Share on other sites More sharing options...
DSkySoul Posted June 20, 2015 Author Share Posted June 20, 2015 @ToNiO55, @DTM450, Here's the log and the two lua files. log.txt modoverrides.lua dedicated_server_mods_setup.lua Link to comment Share on other sites More sharing options...
Recommended Posts
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.