jinshino Posted April 29, 2016 Share Posted April 29, 2016 So this is what i got so far keeps telling me ERROR: Failed to load modoverrides.lua Am I phrasing everything properly ? Works fine if i just use FORCEEnaBLE in mods but as you can see i have configs I would like to configure Quote return { ["workshop-382177939"] = { enabled = true, configuration_options = { eightxten = 8x10, workit = nope, } }, ["workshop-673731897"] = { enabled = true }, ["workshop-375850593"] = { enabled = true }, ["workshop-358749986"] = { enabled = true }, ["workshop-363989569"] = { enabled = true }, ["workshop-375859599"] = { enabled = true }, ["workshop-374550642"] = { enabled = true }, ["workshop-362175979"] = { enabled = true }, ["workshop-630609436"] = { enabled = true }, ["workshop-417346599"] = { enabled = true }, ["workshop-407977022"] = { enabled = true, configuration_options = { bluester_config = true, chilltime = .01, daddy_config = true, dubster_config = true, afester_config = true, cavester_config = true, } }, ["workshop-368230903"] = { enabled = true }, ["workshop-350811795"] = { enabled = true }, ["workshop-462434129"] = { enabled = true, configuration_options = { FLOODING_PROTECTION = false, IGNORING_ADMIN = true, FORCE_DROP_ALL= true, FLOODING_INTERVAL = 1, RESTART_WELCOME_TIP = true, } }, ["workshop-358015908"] = { enabled = true }, ["workshop-444438334"] = { enabled = true }, ["workshop-600342972"] = { enabled = true, configuration_options = { Travel_Cost = 128, Ownership = true, } }, ["workshop-552215051"] = { enabled = true, configuration_options = { INCREASEBACKPACKSIZES_BACKPACK = 14, INCREASEBACKPACKSIZES_PIGGYBACK = 16, INCREASEBACKPACKSIZES_KRAMPUSSACK = 18, largertreasurechest = 16, largericebox = 16, } }, ["workshop-569043634"] = { enabled = true }, ["workshop-441266606"] = { enabled = true }, ["workshop-442635304"] = { enabled = true }, ["workshop-570784051"] = { enabled = true, configuration_options = { recoverLostMaxHealth = true } } } Link to comment Share on other sites More sharing options...
Zillvr Posted April 29, 2016 Share Posted April 29, 2016 Hello @jinshino welcome to the forums. I'd like to suggest 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: 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 While under the Caves folder, get the leveldataoverride.lua and that is the leveldataoverride.lua for the Caves. Now paste that modoverrides.lua in your own dedicated server. modoverrides.lua in both Master and Caves of your dedicated server If you still want to create your own modoverrides.lua, I think what you're missing is quotation marks for eightxten = 8x10 and workit = nope , which should be written as: eightxten = "8x10" workit = "nope" Hopefully it works afters correcting the syntanx, if not try the first method I mentioned above. Good luck, cheers. Link to comment Share on other sites More sharing options...
jinshino Posted April 29, 2016 Author Share Posted April 29, 2016 Yeah see I would but im running a dedi with CS servers Also you were right about the qoute ,that actually pisses me off... something so retardedly simple been working on this for 9 hours now since 11pm yesterday with a nap Well thank you so much for the help Also is it just things that arnt numbers or true or false that require " " Like if its Whatsthefoxsay = "Oggabooga" and if it were true or a number it just be Whatsthefoxsay = true Link to comment Share on other sites More sharing options...
Zillvr Posted April 29, 2016 Share Posted April 29, 2016 @jinshino I'm quite positive all modoverrides.lua are the same, so doing the method I mentioned should work and you only have to copy and paste the modoverrides.lua generated by the game. Run the game on your PC, with the specific subscribed mods you want to use then toggle them and let the world generate with those configured mods on. After that it's only a matter of copying over the modoverrides.lua from your directory to your dedicated server's Master and Caves and making sure the mods are downloaded to your server's files. Unfortunately though, I don't have personal experience with CS servers. So that's probably all the help I can offer. Good luck eitherway, cheers. Link to comment Share on other sites More sharing options...
Muche Posted April 29, 2016 Share Posted April 29, 2016 10 minutes ago, jinshino said: Also is it just things that arnt numbers or true or false that require " " Like if its Whatsthefoxsay = "Oggabooga" and if it were true or a number it just be Whatsthefoxsay = true Yes and depends. Values that are not numbers, true or false do indeed require quotes "" to be valid lua values (of type string). Number and booleans (true/false) are valid lua values and don't need to be in quotes. However, it's up to the mod how it uses them. If the mod treats them as numbers/booleans they have to be not strings (e.g. 10, true, false). If the mod treats them as strings they have to be strings ("10", "true", "false"). Check mod's modinfo.lua and look how the options' data fields are specified. In the first case it would be something like { description = "10", data = 10 },, in the second case { description = "10", data = "10" },. 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.