Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
P.S. Sry for my English because of it from google translater and my mind
https://pastebin.com/CppKK82d
I've packaged up the fix as a workshop mod. If anyone reading this subscribes and enables it you'll find that this freezer mod will work again with no modifications.
mod link: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=750559450
http://pastebin.com/MtQ1YFKe
[00:03:25]: [string "scripts/components/bait.lua"]:32: variable 'inst' is not declared
LUA ERROR stack traceback:
=[C]:-1 in (global) error (C) <-1--1>
scripts/strict.lua:23 in () ? (Lua) <21-26>
scripts/components/bait.lua:32 in (method) OnRemoveFromEntity (Lua) <31-36>
scripts/entityscript.lua:546 in (method) RemoveComponent (Lua) <537-552>
../mods/workshop-421510671/scripts/components/freezablefood.lua:51 in (method) FreezeItem (Lua) <37-89>
../mods/workshop-421510671/scripts/prefabs/deep_freezer.lua:30 in (field) onclosefn (Lua) <25-35>
scripts/components/container.lua:340 in (method) Close (Lua) <321-345>
scripts/components/container.lua:542 in (method) OnUpdate (Lua) <535-544>
scripts/update.lua:187 in () ? (Lua) <150-223>
[00:07:16]: [string "scripts/components/bait.lua"]:32: variable 'inst' is not declared
LUA ERROR stack traceback:
=[C]:-1 in (global) error (C) <-1--1>
scripts/strict.lua:23 in () ? (Lua) <21-26>
scripts/components/bait.lua:32 in (method) OnRemoveFromEntity (Lua) <31-36>
scripts/entityscript.lua:534 in (method) RemoveComponent (Lua) <525-540>
../mods/workshop-421510671/scripts/components/freezablefood.lua:51 in (method) FreezeItem (Lua) <37-89>
../mods/workshop-421510671/modmain.lua:85 in (upvalue) postfunc (Lua) <78-87>
../mods/workshop-421510671/modmain.lua:59 in (global) SpawnPrefab (Lua) <49-62>
Thx!
Mod: workshop-421510671 is out of date and needs to be updated for new users to be able to join the server.
[00:04:05]: LUA: RUN-TIME ERROR [string "scripts/mods.lua"]:703: attempt to index field 'VERSIONING' (a nil value)
I saw the comment below saying it was fixed, but I think the mods update automatically when starting a dedicated server, so I am not sure that it is.
Hope it helps!
Basically the bug happens when you open the freezer and "close" it <-- Server crashes
[00:55:35]: LUA: RUN-TIME ERROR [string "scripts/mods.lua"]:688: attempt to index field 'VERSIONING' (a nil value)
The bug of the mod is in line #24:
GLOBAL.STRINGS.MODS = {LHC = {PREPEND = "lhc_frozen_"}}
Fix it please.
LUA ERROR stack traceback:
../mods/workshop-421510671/scripts/components/freezablefood.lua:104 in (method) OnLoad (Lua) <101-117>
self =
isNameUpdated = false
isInFreezer = false
inst = 106525 - monstermeat (valid:true)
isFrozen = false
data = table: 0E7BFF10
newents = table: 27790718
k = 102556 - fireflies (valid:true)
v = table: 441E0300
scripts/entityscript.lua:1449 in (method) SetPersistData (Lua) <1440-1457>
LUA ERROR stack traceback:
../mods/workshop-388109833/data/components/container.lua:6 in (method) CanTakeItemInSlot (Lua) <5-19>
../mods/workshop-388109833/data/components/container.lua:24 in (method) GiveItem (Lua) <23-20>
../mods/workshop-421510671/scripts/prefabs/deep_freezer.lua:33 in (field) onclosefn (Lua) <25-35>
scripts/components/container.lua:340 in (method) Close (Lua) <321-345>
scripts/components/container.lua:542 in (method) OnUpdate (Lua) <535-544>
scripts/update.lua:183 in () ? (Lua) <146-219>