JacobMIX Posted November 24, 2015 Share Posted November 24, 2015 Can't get mods to work on the server. Every time i add them in modsettings.lua the server won't start.Here's how I've configured the files: http://pastebin.com/pNRcfjRU (Plus launch options, and the log.)Here's the error shutting the server down:[00:00:00]: DoLuaFile Error: [string "scripts/modindex.lua"]:849: Error loading modsettings:[string "../mods/modsettings.lua"]:16: unexpected symbol near '['LUA ERROR stack traceback: =[C] in function 'error' scripts/modindex.lua(849,1) in function 'UpdateModSettings' scripts/modindex.lua(497,1) in function 'Load' scripts/main.lua(299,1) in main chunk[00:00:00]: [string "scripts/modindex.lua"]:849: Error loading modsettings:[string "../mods/modsettings.lua"]:16: unexpected symbol near '['LUA ERROR stack traceback: =[C] in function 'error' scripts/modindex.lua(849,1) in function 'UpdateModSettings' scripts/modindex.lua(497,1) in function 'Load' scripts/main.lua(299,1) in main chunk[00:00:00]: Error loading main.lua[00:00:00]: Failed mSimulation->Reset()[00:00:00]: Error during game initialization![00:00:00]: Collecting garbage...[00:00:00]: lua_gc took 0.00 seconds[00:00:00]: ~ShardLuaProxy()[00:00:00]: ~NetworkLuaProxy()[00:00:00]: ~SimLuaProxy()[00:00:00]: lua_close took 0.00 seconds[00:00:00]: HttpClient2::ClientThread::Main() complete[00:00:00]: Shutting down Link to comment Share on other sites More sharing options...
JacobMIX Posted November 24, 2015 Author Share Posted November 24, 2015 Oops. Didn't put the error text incode... Well, i'm still trying to get this to work. If anyone knows how to fix this i'd be grateful to hear how. Link to comment Share on other sites More sharing options...
ToNiO55 Posted November 24, 2015 Share Posted November 24, 2015 Hi @JacobMIX, for mods you need use modoverrides.lua and dedicated_server_mods_setup.lua dedicated_server_mods_setup.lua (for download or update mods) modoverrides.lua (settings of mods) modsettings.lua was an old system that was use before for mods, I think this one is obsolete, leave this empty file Link to comment Share on other sites More sharing options...
JacobMIX Posted November 24, 2015 Author Share Posted November 24, 2015 Hi @JacobMIX, for mods you need use modoverrides.lua and dedicated_server_mods_setup.lua dedicated_server_mods_setup.lua (for download or update mods) modoverrides.lua (settings of mods) modsettings.lua was an old system that was use before for mods, I think this one is obsolete, leave this empty fileThank you. That fixed everything!Basically i just had to move what i had in modsettings.lua To modoverrides.luaWelp. Guess i'll setup the server with a lot of mods tomorrow. 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.