Jump to content

Newly added mod will not be loaded


Recommended Posts

I searched through the web and couldn't find an answer to this. 

I had successfully set up the server on a linux machine some days before, and I have 14 mods enabled, which all worked fine. Today I tried to add two more mods to the existing world, but they don't load. I do so by modifying the dedicated_server_mods_setup.lua, appending the two ServerModSetup("...") to it. Then I modified both modoverrides.lua files in Caves and Master folder, with new mods enabled properly like following: 

["workshop-466732225"]={ configuration_options={  }, enabled=true },
  ["workshop-666155465"]={
    configuration_options={
      chestB=-1,
      chestG=-1,
      chestR=-1,
      display_hp=-1,
      food_estimation=-1,
      food_order=0,
      food_style=0,
      lang="auto",
      show_food_units=-1,
      show_uses=-1
    },
    enabled=true
  }
However, after I done these steps, when opening the server again, these two mods won't load. I tried updating the game through steamcmd and that doesn't work as well. I looked through the log:

[00:00:01]: LOADING LUA
[00:00:01]: DoLuaFile scripts/main.lua
[00:00:01]: DoLuaFile loading buffer scripts/main.lua
[00:00:01]:   taskgrouplist:    default Together
[00:00:01]:   taskgrouplist:    classic Classic
[00:00:01]:   taskgrouplist:    cave_default    Underground
[00:00:01]:   taskgrouplist:    lavaarena_taskset       The Forge
[00:00:01]:   taskgrouplist:    quagmire_taskset        The Gorge
[00:00:01]: Running main.lua

[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:02]: [Workshop] Item query page 0, size: 14, total size: 14
[00:00:02]: [Workshop] Item query queued IDs: 1392778117 1530801499 363112314 462434129 2008480548 1991746508 375850593 466732225 2189004162 1699194522 1909182187 2784048339 2347908689 1185229307

[00:00:02]: [Workshop] Item query sent
[00:00:02]: [Workshop] ItemQuery got this many results: 14, matching: 14
[00:00:02]: [Workshop] ModQuery got 14 results
[00:00:02]: [Workshop] ModQuery already have IDs: {7.1.6,1392778117} {1.06,1530801499} {1.1,363112314} {0.3.2,462434129} {1.64,2008480548} {9.8.12,1991746508} {1.8.0,375850593} {full 4,466732225} {4.0.8,2189004162} {9.8.5,1699194522} {1.6.0.3,1909182187} {2.6.7,2784048339} {2.9,2347908689} {67,1185229307}
[00:00:02]: [Workshop] ItemQuery finished all queries, moving to download phase
[00:00:02]: [Workshop] ItemQuery finished downloading everything
[00:00:03]: SUCCESS: Loaded modoverrides.lua
[00:00:03]: modoverrides.lua enabling workshop-1530801499
[00:00:03]: modoverrides.lua enabling workshop-2008480548
[00:00:03]: modoverrides.lua enabling workshop-1392778117
[00:00:03]: modoverrides.lua enabling workshop-2347908689
[00:00:03]: modoverrides.lua enabling workshop-466732225
[00:00:03]: modoverrides.lua enabling workshop-375850593
[00:00:03]: modoverrides.lua enabling workshop-363112314
[00:00:03]: modoverrides.lua enabling workshop-1185229307
[00:00:03]: modoverrides.lua enabling workshop-1909182187
[00:00:03]: modoverrides.lua enabling workshop-1699194522
[00:00:03]: modoverrides.lua enabling workshop-2784048339
[00:00:03]: modoverrides.lua enabling workshop-1991746508
[00:00:03]: modoverrides.lua enabling workshop-462434129
 

The bolded part doesn't include the mods I added. It seems to me, that the dedicated_server_mod_setup.lua is not loading this time and "modindex" loads the previous mods but not the new ones. I am not an expert at lua so I might be wrong, but is there any ways to force the mods to be downloaded and loaded without starting a new world? 

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...