Tibbi Posted June 15, 2016 Share Posted June 15, 2016 Here is my file, which is in my DoNotStarveTogetherDedicated folder. return { ["workshop-444438334"] = { enabled = true }, -- Inventory Sort ["workshop-345692228"] = { enabled = true }, -- Minimap HUD ["workshop-376333686"] = { enabled = true }, -- Combine Status ["workshop-347079953"] = { enabled = true }, -- Display Food Values ["workshop-375850593"] = { enabled = true }, -- Extra Equip Slots ["workshop-365119238"] = { enabled = true }, -- Smarter Crock Pot ["workshop-351325790"] = { enabled = true }, -- Geometric Placement ["workshop-352373173"] = { enabled = true }, -- Gesture Wheel ["workshop-347360448"] = { enabled = true }, -- DST Where's My Beefalo ["workshop-362175979"] = { enabled = true }, -- Wormhole Markers DST ["workshop-374550642"] = { enabled = true }, -- Increased Stack Size ["workshop-356420397"] = { enabled = true }, -- No More Respawn Penalty ["workshop-357875628"] = { enabled = true }, -- Wall Gates DST ["workshop-346968521"] = { enabled = true }, -- DST Wilson's House ["workshop-361994110"] = { enabled = true }, -- Bee Nice ["workshop-362022168"] = { enabled = true }, -- Respawnable Gears ["workshop-441024679"] = { enabled = true }, -- Queen Elsa ["workshop-385006082"] = { enabled = true }, -- DST Path Lights ["workshop-478005098"] = { enabled = true }, -- Craftable Gears } Can someone please help me? I would like to have the inventory sort set to z. And Stack size set to 40. Thank you so much. Update I think I got the error to go away but the server still shows no mods enabled. Link to comment Share on other sites More sharing options...
Zillvr Posted June 15, 2016 Share Posted June 15, 2016 Hello @Tibbi, the most logical reason the server isn't detecting the modoverrides.lua file is because you placed it in the incorrect location. The modoverrides.lua should be placed inside BOTH the Master and Caves folder. In the spoiler below is the basic look of what the Dedicated server folder should contain, (based on the Windows Guide): Spoiler So when you add modoverrides.lua, it should be placed beside the server.ini under the Caves and Master folder. With regards to configuring the mod options, I'd recommend a method that would probably be best when making modoverrides.lua, cause with this method you wouldn't have to fiddle around with typing out every data and making sure you're using the right syntax. This involves generating an in-client server with mods that you want to use configured to the way you want it to and then just copying it over to your own dedicated server's folder. The method is as follows: Spoiler Start up DST Click Host Game Click New Server in Slot 1 Set the server intention in the Server Settings so the world can start Toggle the mods you want to use Configure the mods as you see fit You don't have to make caves for this Once done, generate the world Once connected to the world, disconnect from the server Go to this location Documents\Klei\DoNotStarveTogether\Cluster_1\ Under the Master folder, get the modoverrides.lua and that is the modoverrides.lua you'd want to use for your server Now paste that modoverrides.lua in your own dedicated server There should be a modoverrides.lua file in both the Master and Caves folder of your dedicated server Below would be roughly what your modoverrides.lua should look like with the specific configurations you wanted: Spoiler return { ["workshop-374550642"]={ configuration_options={ MAXSTACKSIZE=40 }, enabled=true }, -- Increased Stack ["workshop-444438334"]={ configuration_options={ backpackCategory="resources", funMode="yes", keybind=122, maxLights=2 }, enabled=true }, -- Inventory Sort ["workshop-345692228"] = { enabled = true }, -- Minimap HUD ["workshop-376333686"] = { enabled = true }, -- Combine Status ["workshop-347079953"] = { enabled = true }, -- Display Food Values ["workshop-375850593"] = { enabled = true }, -- Extra Equip Slots ["workshop-365119238"] = { enabled = true }, -- Smarter Crock Pot ["workshop-351325790"] = { enabled = true }, -- Geometric Placement ["workshop-352373173"] = { enabled = true }, -- Gesture Wheel ["workshop-347360448"] = { enabled = true }, -- DST Where's My Beefalo ["workshop-362175979"] = { enabled = true }, -- Wormhole Markers DST ["workshop-356420397"] = { enabled = true }, -- No More Respawn Penalty ["workshop-357875628"] = { enabled = true }, -- Wall Gates DST ["workshop-346968521"] = { enabled = true }, -- DST Wilson's House ["workshop-361994110"] = { enabled = true }, -- Bee Nice ["workshop-362022168"] = { enabled = true }, -- Respawnable Gears ["workshop-441024679"] = { enabled = true }, -- Queen Elsa ["workshop-385006082"] = { enabled = true }, -- DST Path Lights ["workshop-478005098"] = { enabled = true }, -- Craftable Gears } Hopefully it works and no issues arise since I haven't tested it myself. ALSO make sure you have the necessary mod files called workshop-###, in the correct folders. If you're running the dedicated server through steamcmd, then you must have the newly added mods' workshop-### folders in STEAMCMD\steamapps\common\Don't Starve Together Dedicated Server\mods. If you're running the dedicated server through steam tools, then you must have the newly added mods' workshop-### folders in STEAM\steamapps\common\Don't Starve Together Dedicated Server\mods. So copy the newly downloaded workshop-### folders from Steam\SteamApps\common\Don't Starve Together Beta\mods then paste them in the necessary ~Don't Starve Together Dedicated Server\mods folder (whether through Steamcmd OR Steam Tools). Be cautious of the file locations. I hope that helps, good luck. Cheers. Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 Thanks I think I got it working. See how the mods work. I still can't get the configure file right to change the inventory sort to z instead of g. Link to comment Share on other sites More sharing options...
Zillvr Posted June 15, 2016 Share Posted June 15, 2016 @Tibbi if you copy the whole text I wrote in the third spoiler and paste it in both the modoverrides.lua file under Master and Caves folder of the Dedicated server folder, then the sort key for inventory sort would already be set to Z. By default the keybind value would be 103 (which is G), while in the text above it's set to keybind=112 (which is Z). Is it still G for you? Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 Yes its still G. I still need to update that part. Link to comment Share on other sites More sharing options...
Zillvr Posted June 15, 2016 Share Posted June 15, 2016 @Tibbi was the server closed/shutdown before you changed the modoverrides.lua? Make sure it is, before you go editing the server files. Also be aware that you should also edit the modoverrides.lua under the Caves folder. Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 Testing now. Thanks So much. Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 Now the server says no mods installed. Not sure what I did. Link to comment Share on other sites More sharing options...
Zillvr Posted June 15, 2016 Share Posted June 15, 2016 @Tibbi can you attach the server_log.txt from under the Master folder of your dedicated server? Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 It won't let me attach. [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:01]: running main.lua [00:00:01]: loaded modindex [00:00:01]: WARNING: icon paths for mod workshop-478005098 (Craftable Gears) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.tex". Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:01]: DownloadMods(0) [00:00:01]: FMOD Error: An invalid object handle was used. [00:00:01]: LOADING LUA SUCCESS [00:00:01]: PlayerDeaths could not load morgue [00:00:01]: PlayerHistory could not load player_history [00:00:01]: bloom_enabled false [00:00:01]: loaded saveindex [00:00:01]: OnFilesLoaded() [00:00:01]: OnUpdatePurchaseStateComplete [00:00:01]: Load FE [00:00:02]: Load FE: done [00:00:02]: ModIndex: Load sequence finished successfully. [00:00:02]: Reset() returning [00:00:03]: [200] Account Communication Success (6) [00:00:03]: Received (KU_UpWZ2YXl) from TokenPurpose [00:00:03]: Starting Dedicated Server Game [00:00:03]: Network tick rate: U=15(2), D=0 [00:00:03]: About to start a server with the following settings: [00:00:03]: Dedicated: true [00:00:03]: Online: true [00:00:03]: Passworded: false [00:00:03]: ServerPort: 10999 [00:00:03]: SteamAuthPort: 8766 [00:00:03]: SteamMasterServerPort: 27016 [00:00:03]: ClanID: false [00:00:03]: ClanOnly: false [00:00:03]: ClanAdmin: false [00:00:03]: LanOnly: false [00:00:03]: FriendsOnly: false [00:00:03]: EnableAutosaver: true [00:00:03]: PVP: false [00:00:03]: MaxPlayers: 5 [00:00:03]: GameMode: endless [00:00:03]: OverridenDNS: [00:00:03]: PauseWhenEmpty: true [00:00:03]: VoteEnabled: true [00:00:03]: InternetBroadcasting: true [00:00:03]: Intent: cooperative [00:00:03]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:03]: [Shard] Shard server mode disabled by configuration file [00:00:03]: Online Server Started on port: 10999 [00:00:03]: Collecting garbage... [00:00:03]: lua_gc took 0.01 seconds [00:00:03]: ~ShardLuaProxy() [00:00:03]: ~ItemServerLuaProxy() [00:00:03]: ~InventoryLuaProxy() [00:00:03]: ~NetworkLuaProxy() [00:00:03]: ~SimLuaProxy() [00:00:03]: lua_close took 0.01 seconds [00:00:03]: ReleaseAll [00:00:03]: ReleaseAll Finished [00:00:03]: cGame::StartPlaying [00:00:03]: LOADING LUA [00:00:03]: DoLuaFile scripts/main.lua [00:00:03]: DoLuaFile loading buffer scripts/main.lua [00:00:03]: running main.lua [00:00:03]: loaded modindex [00:00:03]: WARNING: icon paths for mod workshop-478005098 (Craftable Gears) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.tex". Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. [00:00:03]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:03]: LOADING LUA SUCCESS [00:00:03]: PlayerDeaths could not load morgue [00:00:03]: PlayerHistory could not load player_history [00:00:03]: bloom_enabled false [00:00:03]: loaded saveindex [00:00:03]: OnFilesLoaded() [00:00:03]: OnUpdatePurchaseStateComplete [00:00:03]: Unload FE [00:00:03]: Unload FE done [00:00:04]: LOAD BE [00:00:05]: LOAD BE: done [00:00:05]: Loading world: session/59301993A28E528F/0000000012 [00:00:05]: Save file is at version 3 [00:00:05]: Begin Session: 59301993A28E528F [00:00:05]: saving to server_temp/server_save [00:00:05]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) [00:00:05]: Loading Nav Grid [00:00:05]: setting summerlength 15 [00:00:05]: setting isnightmaredawn false [00:00:05]: setting elapseddaysinseason 0 [00:00:05]: setting isfullmoon false [00:00:05]: setting moisture 13.799875259399 [00:00:05]: setting cavephase day [00:00:05]: setting isnightmarewild false [00:00:05]: setting moonphase new [00:00:05]: setting precipitationrate 0 [00:00:05]: setting iswet false [00:00:05]: setting winterlength 15 [00:00:05]: setting temperature 31.127319080532 [00:00:05]: setting isnightmarewarn false [00:00:05]: setting iswinter false [00:00:05]: setting moistureceil 779.97985839844 [00:00:05]: setting isday true [00:00:05]: setting israining false [00:00:05]: setting remainingdaysinseason 20 [00:00:05]: setting precipitation none [00:00:05]: setting wetness 0 [00:00:05]: setting isnightmarecalm false [00:00:05]: setting timeinphase 0.23004913330078 [00:00:05]: setting isdusk false [00:00:05]: setting iscavedusk false [00:00:05]: setting isautumn true [00:00:05]: setting issnowing false [00:00:05]: setting iscaveday true [00:00:05]: setting phase day [00:00:05]: setting snowlevel 0 [00:00:05]: setting issnowcovered false [00:00:05]: setting autumnlength 20 [00:00:05]: setting pop 0.017692604636914 [00:00:05]: setting nightmaretime 0 [00:00:05]: setting springlength 20 [00:00:05]: setting isspring false [00:00:05]: setting nightmarephase none [00:00:05]: setting season autumn [00:00:05]: setting time 0.11502456665039 [00:00:05]: setting iscavenight false [00:00:05]: setting cycles 0 [00:00:05]: setting isnight false [00:00:05]: setting nightmaretimeinphase 0 [00:00:05]: setting issummer false [00:00:07]: Reconstructing topology [00:00:07]: ...Sorting points [00:00:07]: ...Sorting edges [00:00:07]: ...Connecting nodes [00:00:07]: ...Validating connections [00:00:07]: ...Housekeeping [00:00:07]: ...Done! [00:00:07]: 1 uploads added to server. From server_temp [00:00:07]: Telling Client our new session identifier: 59301993A28E528F [00:00:07]: ModIndex: Load sequence finished successfully. [00:00:08]: Reset() returning [00:00:08]: [Steam] SteamGameServer_Init(8766, 10999, 27016) [00:00:08]: [Steam] SteamGameServer_Init success [00:00:08]: Validating portal[9] <-> <nil>[9] (inactive) [00:00:08]: Validating portal[7] <-> <nil>[7] (inactive) [00:00:08]: Validating portal[4] <-> <nil>[4] (inactive) [00:00:08]: Validating portal[1] <-> <nil>[1] (inactive) [00:00:08]: Validating portal[2] <-> <nil>[2] (inactive) [00:00:08]: Validating portal[10] <-> <nil>[10] (inactive) [00:00:08]: Validating portal[5] <-> <nil>[5] (inactive) [00:00:08]: Validating portal[8] <-> <nil>[8] (inactive) [00:00:08]: Validating portal[3] <-> <nil>[3] (inactive) [00:00:08]: Validating portal[6] <-> <nil>[6] (inactive) [00:00:08]: Sim paused Link to comment Share on other sites More sharing options...
Zillvr Posted June 15, 2016 Share Posted June 15, 2016 @Tibbi reinspecting the text I provided above, it had a syntax error. I have corrected it now, hopefully it works. Show below: Spoiler return { ["workshop-374550642"]={ configuration_options={ MAXSTACKSIZE=40 }, enabled=true }, -- Increased Stack ["workshop-444438334"]={ configuration_options={ backpackCategory="resources", funMode="yes", keybind=122, maxLights=2 }, enabled=true }, -- Inventory Sort ["workshop-345692228"] = { enabled = true }, -- Minimap HUD ["workshop-376333686"] = { enabled = true }, -- Combine Status ["workshop-347079953"] = { enabled = true }, -- Display Food Values ["workshop-375850593"] = { enabled = true }, -- Extra Equip Slots ["workshop-365119238"] = { enabled = true }, -- Smarter Crock Pot ["workshop-351325790"] = { enabled = true }, -- Geometric Placement ["workshop-352373173"] = { enabled = true }, -- Gesture Wheel ["workshop-347360448"] = { enabled = true }, -- DST Where's My Beefalo ["workshop-362175979"] = { enabled = true }, -- Wormhole Markers DST ["workshop-356420397"] = { enabled = true }, -- No More Respawn Penalty ["workshop-357875628"] = { enabled = true }, -- Wall Gates DST ["workshop-346968521"] = { enabled = true }, -- DST Wilson's House ["workshop-361994110"] = { enabled = true }, -- Bee Nice ["workshop-362022168"] = { enabled = true }, -- Respawnable Gears ["workshop-441024679"] = { enabled = true }, -- Queen Elsa ["workshop-385006082"] = { enabled = true }, -- DST Path Lights ["workshop-478005098"] = { enabled = true }, -- Craftable Gears } It originally had an extra } that was not necessary. Sorry about the misinformation. Try that next. Shut down the server and edit the modoverride.lua file and copy paste the new text in the spoiler above. Then save and start up the server again. Link to comment Share on other sites More sharing options...
Tibbi Posted June 15, 2016 Author Share Posted June 15, 2016 Well I got it working. I tried what you said and created a local hosting and copied the pre generated files over. That seemed to work. Thanks so much. Hope I can get people to join. 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.