Don't Starve Together

Don't Starve Together

TF2 MVM Reanimator
Bug / Crash Report
my Log looks like this:

[00:01:28]: [string "../mods/workshop-1391962790/scripts/strings..."]:16: attempt to index field 'MEDIC' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1391962790/scripts/strings.lua(16,1) in function 'result'
scripts/mods.lua(348,1) in function 'modimport'
../mods/workshop-1391962790/modmain.lua(25,1) in main chunk
=[C] in function 'xpcall'
scripts/util.lua(789,1) in function 'RunInEnvironment'
scripts/mods.lua(603,1) in function 'InitializeModMain'
scripts/mods.lua(577,1) in function 'LoadMods'
scripts/main.lua(391,1) in function 'ModSafeStartup'
scripts/main.lua(522,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(521,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(520,1) in main chunk
[00:01:28]: [string "../mods/workshop-1391962790/scripts/strings..."]:16: attempt to index field 'MEDIC' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1391962790/scripts/strings.lua(16,1) in function 'result'
scripts/mods.lua(348,1) in function 'modimport'
../mods/workshop-1391962790/modmain.lua(25,1) in main chunk
=[C] in function 'xpcall'
scripts/util.lua(789,1) in function 'RunInEnvironment'
scripts/mods.lua(603,1) in function 'InitializeModMain'
scripts/mods.lua(577,1) in function 'LoadMods'
scripts/main.lua(391,1) in function 'ModSafeStartup'
scripts/main.lua(522,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(521,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(520,1) in main chunk
[00:01:28]: [string "scripts/mainfunctions.lua"]:1624: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
=[C] in function 'error'
scripts/strict.lua(23,1)
scripts/mainfunctions.lua(1624,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(521,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(520,1) in main chunk
[00:01:28]: DoLuaFile Error: (null)
[00:01:28]: LuaError but no error string
[00:01:28]: Error loading main.lua
[00:01:28]: Failed mSimulation->Reset()
[00:01:28]: [Workshop] CancelDownloads for all pending downloads
[00:01:28]: Collecting garbage...
[00:01:28]: lua_gc took 0.04 seconds
[00:01:28]: ~ShardLuaProxy()
[00:01:28]: ~cEventLeaderboardProxy()
[00:01:28]: ~ItemServerLuaProxy()
[00:01:28]: ~InventoryLuaProxy()
[00:01:28]: ~NetworkLuaProxy()
[00:01:28]: ~SimLuaProxy()
[00:01:28]: [Workshop] CancelDownloads for all pending downloads
[00:01:28]: lua_close took 0.02 seconds
[00:01:29]: [Workshop] CancelDownloads for all pending downloads
[00:01:29]: [Steam] Auth ticket cancelled
[00:01:29]: CurlRequestManager::ClientThread::Main() complete
[00:01:29]: HttpClient2 discarded 0 callbacks.
[00:01:29]: Shutting down

i hope i did it right, and thank you for your time :steamhappy: have a nice day
< >
Showing 1-3 of 3 comments
Hi! :cherrypie:


I had the exact same MEDIC error as you. The fix is simple: open strings.lua in the Reanimator mod and replace the MEDIC line with a safe check:

if GLOBAL.STRINGS.CHARACTERS.MEDIC then GLOBAL.STRINGS.CHARACTERS.MEDIC.DESCRIBE.MEDIREANIMATOR = "You get used to the voices." end


After this, the server runs fine. I also posted full details in the mod’s comments, feel free to check 😉

I hope you still enjoy this mod as much as I do.:medicon:

Originally posted by ✠roboforce1:
Last edited by SAMURAI_BROTHER; 9 Sep @ 5:54am
Thank you, Samurai_Brother this was very helpful. The Server is working now.
Originally posted by ✠roboforce1:
Thank you, Samurai_Brother this was very helpful. The Server is working now.

Update / Important:
After testing in multiplayer, I'd like to share one more detail.
For modified mods to work correctly, the
SteamLibrary\steamapps\common\Don't Starve Together\mods
folder and the
SteamLibrary\steamapps\workshop\content\322330
folder must be identical for all participants—both the host and those connecting.

If the mods differ, inconsistencies arise, and connecting to a regular server becomes impossible.
— In my case, players simply couldn't connect to the server.

I haven't tested this on a dedicated server yet, but theoretically, conflicts are also possible.

I hope you won't encounter these issues, but I'm sharing my experience in case it helps someone else.
< >
Showing 1-3 of 3 comments
Per page: 1530 50