Don't Starve Together

Don't Starve Together

The Engineer
This topic has been locked
Zorych 26 Aug, 2021 @ 9:46am
Error: mod isn't known workshop-791838548
Getting this error everytime I try to start a server. Please, help. Me and my friends love this character so much

[00:00:08]: Error: mod isn't known workshop-791838548
[00:00:08]: [string "scripts/mods.lua"]:493: attempt to index field 'modinfo' (a nil value)
LUA ERROR stack traceback:
scripts/mods.lua(493,1) in function 'LoadMods'
scripts/main.lua(341,1) in function 'ModSafeStartup'
scripts/main.lua(447,1) in function 'callback'
scripts/modindex.lua(103,1) in function 'BeginStartupSequence'
scripts/main.lua(446,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(445,1) in main chunk
[00:00:08]: [string "scripts/mainfunctions.lua"]:1338: variable 'global_error_widget' is not declared
LUA ERROR stack traceback:
=[C] in function 'error'
scripts/strict.lua(23,1)
scripts/mainfunctions.lua(1338,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(445,1) in main chunk
[00:00:08]: DoLuaFile Error: (null)
[00:00:08]: LuaError but no error string
[00:00:08]: Error loading main.lua
[00:00:08]: Failed mSimulation->Reset()
[00:00:08]: Error during game restart!
< >
Showing 1-5 of 5 comments
GhostshipRobot 5 Jun, 2022 @ 4:49pm 
Same problem. I see this isn't installed in the normal game's normal mod folder either. So likely it's in a different location? Anyone able to help locate it so I can place it in the proper place for the lua script to find it?
GhostshipRobot 5 Jun, 2022 @ 5:07pm 
Hey! Found it! It installs directly to the ugc_mod directory which I haven't been able to get to work with the steamcmd dedicated version.

I tried moving that ugc_mod folder (which is just the mod ID number without the "workshop-" at the beginning to the mod folder with workshop- attached, but no luck so far.
GhostshipRobot 5 Jun, 2022 @ 5:16pm 
Alright! Figured it out. So you copy/rename the folder into the mods folder, and make sure to remove the ServerModSetup("") entry for it from the 'dedicated_server_mods_setup.lua' file or it will wipe out the folder.

Perhaps just using a full path to the mod in the ugc_mod folder in the modsettings.lua file would work? I'll try next time my friends and I are done with the running server and I can test it.
GhostshipRobot 5 Jun, 2022 @ 5:40pm 
Couldn't help myself, had to check. So, it's actually pretty simple, just not what I was used to.

Locate the Cluster folder that contains your "Master" and "Caves" (if you're using Caves). If you're not using caves, create a file called "modoverrides.lua" in "Master". If you are using Caves, place it in the "Caves" folder (only one of the two folders, not both). Then in that file, place the following:

return {
["workshop-791838548"]={
enabled=true
}
}

You can Google modoverrides.lua if you want to see further syntax and options (particularly if you're adding more than one mod in this fashion).

This apparently is the PROPER way to add mods as it is done in the standard GUI version of the game. The method I learned initially with the forcing commands is just one way to do it, but not exactly the correct way unless you're using unpublished mods that are a work in progress.
GhostshipRobot 5 Jun, 2022 @ 6:10pm 
Slight modification. The instructions I looked up were a lie. You definitely do both Master and Caves, not just Caves.
< >
Showing 1-5 of 5 comments
Per page: 1530 50