Jump to content

ERROR: Failed to load modoverrides.lua


Recommended Posts

Hey, i'm brand new to with working with scripting or programming in general. I tried out some test mods earlier with no sort of modifications or value changes to them whatsoever. It worked, but when I tried to add some mods with set variables in them, it couldn't load modoverrides.lua. Any help or insight would be appreciated.

return {    ["workshop-412291722"] = { enabled = true },    ["workshop-362175979"] = { enabled = true },    ["workshop-447322752"] = { enabled = true },    ["workshop-514780414"] = { enabled = true },    ["workshop-437521942"] = { enabled = true },    ["workshop-469939586"] = { enabled = true },    ["workshop-394612159"] = { enabled = true },    ["workshop-444438334"] = { enabled = true },    ["workshop-447092740"] = { enabled = true },    ["workshop-431003525"] = { enabled = true },    ["workshop-378160973"] = { enabled = true },    ["workshop-444235588"] = { enabled = true },    ["workshop-441957490"] = { enabled = true },    ["workshop-365119238"] = { enabled = true },    ["workshop-352373173"] = { enabled = true },    ["workshop-347360448"] = { enabled = true },    ["workshop-375850593"] = { enabled = true },    ["workshop-376333686"] = { enabled = true },    ["workshop-369596587"] = { enabled = true },    ["workshop-385006082"] = { enabled = true },    ["workshop-399799824"] = { enabled = true },    ["workshop-351325790"] = { enabled = true },	}

^^^^This is the test line of code I did on my first ever set up of my server, it worked perfectly and my server detected everything and loaded up everything well.

return {    ["workshop-412291722"] = { enabled = true },    ["workshop-362175979"] = { enabled = true },    ["workshop-447322752"] = { enabled = true },    ["workshop-514780414"] = { enabled = true },    ["workshop-437521942"] = { enabled = true },    ["workshop-469939586"] = { enabled = true },    ["workshop-394612159"] = { enabled = true },    ["workshop-444438334"] = { enabled = true },    ["workshop-447092740"] = { enabled = true },    ["workshop-431003525"] = { enabled = true },    ["workshop-378160973"] = { enabled = true },    ["workshop-444235588"] = { enabled = true },    ["workshop-441957490"] = { enabled = true },    ["workshop-365119238"] = { enabled = true },    ["workshop-352373173"] = { enabled = true },    ["workshop-347360448"] = { enabled = true },    ["workshop-375850593"] = { enabled = true },    ["workshop-376333686"] = { enabled = true },    ["workshop-369596587"] = { enabled = true },    ["workshop-385006082"] = { enabled = true,	        configuration_options =        {            path_lightrecipe = "normal",            light_color = "color2",			FueledLights = "no",        }    },    ["workshop-399799824"] = { enabled = true },    ["workshop-351325790"] = { enabled = true },	["workshop-493673961"] = { enabled = true },	["workshop-483347719"] = { enabled = true,	        configuration_options =        {            Size = "5",            MaxHealth = "250",			HealthRegen = "10",			ChesterHealthRegen = "10",        }	},    ["workshop-439115156"] = { enabled = true },	["workshop-444235588"] = { enabled = true ,            configuration_options =        {            starsSpawnHounds = "yes",        }    },	["workshop-382177939"] = { enabled = true,	        configuration_options =        {            workit = "nope",        }	},	["workshop-495831350"] = { enabled = true },	["workshop-347360448"] = { enabled = true },	["workshop-457646167"] = { enabled = true,	        configuration_options =        {            Follow time per 1 item = "0.5",            Catcoons Can Talk = "yes",			HealthRegen = "10",			ChesterHealthRegen = "10",        }	},

^^^^ These lines however, do not load into my dedicated server. I'm assuming it's because I can't pick or choose values and that I'd be required to type /everything/ a mod has under configuration options. That, or some lines aren't aligned properly which is odd, they looked aligned properly in notpad++ but not in notepad.

 

Any help or insight would be greatly appreciated, I would love to learn from a mistake here from someone who is more skilled than me.

Link to comment
Share on other sites

I know you can pick and choose config options. Ones you don't type will use the default value.

It is most likely that one of the mods is no longer on the workshop. I would visit the page of each mod to make sure it still exists.

Easiest way to do this is to visit the workshop through a browser, then copy the workshop id's into the address bar.

Link to comment
Share on other sites

Thank you. I manually added every mod in there which took me about 30 minutes of browsing, but I will check again and try cleaning up some of the code.

 

If anyone could post an example to a working, configured list of mods for a dedicated server so that I could glance over and study, it would help, thanks.

Link to comment
Share on other sites

Thank you. I manually added every mod in there which took me about 30 minutes of browsing, but I will check again and try cleaning up some of the code.

 

If anyone could post an example to a working, configured list of mods for a dedicated server so that I could glance over and study, it would help, thanks.

 

I took a look through some of the stuff I set up, it appars my raccoon housing mod at the very bottom fo that modlist I posted had some issues going on, mostly because the names had spaces in them. I removed that one mod in particular and the modoverrides.lua loaded up fine.

 

Here's what I have now, everything is in working order.

return {    ["workshop-412291722"] = { enabled = true },    ["workshop-362175979"] = { enabled = true },    ["workshop-447322752"] = { enabled = true },    ["workshop-514780414"] = { enabled = true },    ["workshop-437521942"] = { enabled = true },    ["workshop-469939586"] = { enabled = true },    ["workshop-394612159"] = { enabled = true },    ["workshop-444438334"] = { enabled = true },    ["workshop-447092740"] = { enabled = true },    ["workshop-431003525"] = { enabled = true },    ["workshop-378160973"] = { enabled = true },    ["workshop-441957490"] = { enabled = true },    ["workshop-365119238"] = { enabled = true },    ["workshop-352373173"] = { enabled = true },    ["workshop-375850593"] = { enabled = true },    ["workshop-376333686"] = { enabled = true },    ["workshop-369596587"] = { enabled = true },    ["workshop-385006082"] = { enabled = true,	        configuration_options =        {            path_lightrecipe = "normal",            light_color = "color2",			FueledLights = "no",        }    },    ["workshop-399799824"] = { enabled = true },    ["workshop-351325790"] = { enabled = true },	["workshop-493673961"] = { enabled = true },	["workshop-483347719"] = { enabled = true,	        configuration_options =        {            Size = "5",            MaxHealth = "250",			HealthRegen = "10",			ChesterHealthRegen = "10",        }	},    ["workshop-439115156"] = { enabled = true },	["workshop-444235588"] = { enabled = true,            configuration_options =        {            starsSpawnHounds = "yes",        }    },	["workshop-382177939"] = { enabled = true,	        configuration_options =        {            workit = "nope",        }	},	["workshop-495831350"] = { enabled = true },	["workshop-347360448"] = { enabled = true },	    }
Link to comment
Share on other sites

Hi @TheInBreastigator,

 

i have tested your mod 1 by 1

 

and yes it's look like problem with configuration about mod 457646167

 

you need to see with modders of this mod if it's works for him when he change settings of mod on server dedicated:

 

http://steamcommunity.com/sharedfiles/filedetails/?id=457646167&searchtext=Craftable+CatCoon+House

    ["workshop-457646167"] = { enabled = true,            configuration_options =        {            Follow time per 1 item = "0.5",            Catcoons Can Talk = "yes",            HealthRegen = "10",            ChesterHealthRegen = "10",        }    },

because it's not working for me also, only works if you don't put settings, maybe he put wrong information of settings about this mod

 

 

 

 

Link to comment
Share on other sites

Hi @TheInBreastigator,

 

i have tested your mod 1 by 1

 

and yes it's look like problem with configuration about mod 457646167

 

you need to see with modders of this mod if it's works for him when he change settings of mod on server dedicated:

 

http://steamcommunity.com/sharedfiles/filedetails/?id=457646167&searchtext=Craftable+CatCoon+House

because it's not working for me also, only works if you don't put settings, maybe he put wrong information of settings about this mod

 

Thank you for the response, my server loaded up modoverrides.lua once I took out that mod and its lines.

 

I don't really know how to properly set up a mod like that when the namestring has spaces in it, it prevents it from being read properly in modoverrides.lua. I'm just dealing without the mod for right now.

Link to comment
Share on other sites

I don't really know how to properly set up a mod like that when the namestring has spaces in it
["workshop-457646167"] = { enabled = true,        configuration_options =    {        ["Follow time per 1 item"] = "0.5",        ["Catcoons Can Talk"] = "yes",        HealthRegen = "10",        ChesterHealthRegen = "10",    }},
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...