Sephtis Posted April 1, 2015 Share Posted April 1, 2015 Hello, I'm have trouble get mods working with the modoverrrides.lua file, on my dedicated server. I use force mod and that works but i want to configure the mods so there not all set to default, I made the modoverrides.lua file in the folder location shown as it wasn't there and put inside exactly as shown below from the dont starve wiki. the mods don't seem to work, not sure what i'm missing ? Here's what i put - return {["workshop-378160973"] = { enabled = true },["workshop-373480109"] = { enabled = true },["workshop-385979230"] = { enabled = true },["workshop-375618000"] = { enabled = true },["workshop-361994110"] = { enabled = true },["workshop-356833566"] = { enabled = true },["workshop-354533909"] = { enabled = true },["workshop-343762271"] = { enabled = true },["workshop-351325790"] = { enabled = true },["workshop-365632677"] = { enabled = true },["workshop-380423963"] = { enabled = true },["workshop-380079744"] = { enabled = true },["workshop-356398534"] = { enabled = true },["workshop-359345922"] = { enabled = true },["workshop-357847848"] = { enabled = true },["workshop-356930882"] = { enabled = true },["workshop-378965501"] = { enabled = true },["workshop-367304592"] = { enabled = true },["workshop-370373189"] = { enabled = true },["workshop-360590216"] = { enabled = true },["workshop-360823660"] = { enabled = true },["workshop-366048578"] = { enabled = true },["workshop-365119238"] = { enabled = true },["workshop-362175979"] = { enabled = true },["workshop-347360448"] = { enabled = true },["workshop-352373173"] = { enabled = true },["workshop-375859599"] = { enabled = true },["workshop-394612159"] = { enabled = true },["workshop-375850593"] = { enabled = true },["workshop-374550642"] = { enabled = true },["workshop-363989569"] = { enabled = true }, ["workshop-365632677"] = { enabled = true,configuration_options ={affect_spiders? = true, }},} Details from wiki - "The second option is using a modoverrides.lua file. Dedicated servers can now enable mods and set mod configurations via a file in the configuration directory named “modoverrides.lua” (\Documents\Klei\DoNotStarveTogether\modoverrides.lua). An example of the contents of this file isreturn {["workshop-350811795"] = { enabled = true },["workshop-387028143"] = { enabled = true },["workshop-361336115"] = { enabled = true,configuration_options ={hunt_time = 6,}},["workshop-336882447"] = { enabled = true }} Note, dedicated servers (and normal clients) can override the mod config options to non-valid options using this method. In this example, 6 is not a normal option for the hunt_time in the Hunt game mode mod." If anyone could Help please that would be great, Thank you . Link to comment Share on other sites More sharing options...
Maris Posted April 1, 2015 Share Posted April 1, 2015 Attach file plz Link to comment Share on other sites More sharing options...
Sephtis Posted April 1, 2015 Author Share Posted April 1, 2015 Hi, i attached the modoverrides.lua filemodoverrides.lua Link to comment Share on other sites More sharing options...
Maris Posted April 2, 2015 Share Posted April 2, 2015 Lua syntax analizator found an error in your file. Link to comment Share on other sites More sharing options...
KitcheVadimas Posted December 22, 2015 Share Posted December 22, 2015 I've been trying to figure out what's wrong with my modoverrides.lua for hours. I downloaded SciTE. Tell me how to use this Lua syntax analizator. I'll give you a classy of your choice from my inventory. http://steamcommunity.com/id/kitchevadimas/Lua syntax analizator found an error in your file. Link to comment Share on other sites More sharing options...
Maris Posted December 22, 2015 Share Posted December 22, 2015 You should install lua. I don't remember how to do it. Probably Google remembers it. Actually you can use lua syntax analyzer without editor via console. But i like it 2 in 1. SciTE supports lua, that's why I use it. Link to comment Share on other sites More sharing options...
ToNiO55 Posted December 22, 2015 Share Posted December 22, 2015 Lua syntax analizator found an error in your file. @Maris, I did not know that this software existed thx you very much Maris Link to comment Share on other sites More sharing options...
Nex86 Posted December 22, 2015 Share Posted December 22, 2015 can someone help me how to use this software?how can I analyze my script with it?whenever I go to Tools/Go it says that it can't find lua5.1.I downloaded the compiler and put it into the wscite folder but its still not working. Link to comment Share on other sites More sharing options...
Maris Posted December 23, 2015 Share Posted December 23, 2015 Actually if you need to check lua syntax only once or twice, you can use one of the online services.For example, http://ideone.com/ No need to install anything on your computer. Link to comment Share on other sites More sharing options...
karate322 Posted December 24, 2015 Share Posted December 24, 2015 Hi, I'm also having a problem with getting modoverride.lua to work.The syntax of everything looks correct but none of the mods are being enabled. If I use the ForceEnableMod method, they all work. Am I forgetting to change something in one of the setting files? Link to comment Share on other sites More sharing options...
Maris Posted December 24, 2015 Share Posted December 24, 2015 Am I forgetting to change something in one of the setting files? Check all steps on wikia Link to comment Share on other sites More sharing options...
karate322 Posted December 24, 2015 Share Posted December 24, 2015 Check all steps on wikiaYes, I've been viewing that page the entire time while setting it up, and after looking at your reply and viewing the page for the 10000th time, I finally realized my mistake...I placed the file in the /mods directory instead of the config directory.. (thanks) 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.