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
[00:13:13]: [string "../mods/workshop-1416783578/scripts/prefabs..."]:28: attempt to compare number with boolean
LUA ERROR stack traceback:
../mods/workshop-1416783578/scripts/prefabs/tea_plant.lua:28 in (field) makefullfn (Lua) <26-41>
scripts/components/pickable.lua:347 in (method) Regen (Lua) <341-351>
scripts/components/pickable.lua:83 in (field) fn (Lua) <82-84>
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
scripts/update.lua:170 in () ? (Lua) <149-228>
[00:04:08]: [string "../mods/workshop-1416783578/scripts/prefabs..."]:18: attempt to concatenate field 'preferedfruit' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1416783578/scripts/prefabs/fruitlings.lua:18 in (field) fn (Lua) <16-22>
inst = 112898 - mangoling (valid:true)
x = 132.52351379395
y = 0
z = 207.08837890625
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
self =
running = table: 185F5DA0
waitingfortick = table: 185F5C38
tasks = table: 185F5B48
waking = table: 77D52160
attime = table: 185F5EB8
hibernating = table: 185F5D28
tick = 2596
k = PERIODIC 112898: 2.000000
v = true
already_dead = false
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
tick = 2596
scripts/update.lua:170 in () ? (Lua) <149-228>
dt = 0.033333335071802
tick = 2596
i = 2596
[00:04:08]: [string "../mods/workshop-1416783578/scripts/prefabs..."]:18: attempt to concatenate field 'preferedfruit' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1416783578/scripts/prefabs/fruitlings.lua:18 in (field) fn (Lua) <16-22>
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
scripts/update.lua:170 in () ? (Lua) <149-228>
[00:04:08]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen?
[00:04:08]: stack traceback:
scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
scripts/update.lua:90 in () ? (Lua) <33-129>
[00:04:09]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen?
[00:04:09]: stack traceback:
scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
scripts/update.lua:90 in () ? (Lua) <33-129>
[00:04:12]: Force aborting...
small DST world. endless. one mod. this mod. attacking a fruitling, or what its called.
I think it's related to how withered the plans are in summer and then get rehydrated again.
{LINK REMOVED}https://i.imgur.com/7ObbFAj.png
I really love mangoes, please help fix this so i can put them back in the world ;_;
I've expirenced it myself.
1. Go to C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods folder
2. Search for tea_plant.lua and open it (it can be notepad if you dont have anything for coding)
3. Make sure you make backup copy of this file. Now is the best part:
a) after
Pardon. I think
makes
data.pickablecycles a Boolean
and then its passed to
inst.components.pickable.cycles_left
which should be Number
I dont write extensions for games myself but im frontend developer so with little expirence in programing I drove in to the conclusion that:
inst.pickablecycles should be Number and in tree_onsave function it should save the last known number.
If it saves boolean then it loads boolean in tree_onload and pass it to inst.components.pickable.cycles_left then in the makefullfn function it cant handle boolean under that property so game crashes!
Maybe not all of my code is necessary but it helped me so i didnt investigate further.
This is what happens when you write extensions for game in ♥♥♥♥♥♥ programming language without proper type checkers.
OK...Thank you for reply. (-: And sorry for replying to you too late. |-':