Janus Atya Posted July 19, 2019 Share Posted July 19, 2019 If harvest spoiled wild crops or withered wild crops then my server is down. [14:59:23]: [string "scripts/mainfunctions.lua"]:301: bad argument #1 to 'find' (string expected, got nil) LUA ERROR stack traceback: =[C]:-1 in (field) find (C) <-1--1> scripts/mainfunctions.lua:301 in (global) SpawnPrefab (Lua) <300-308> ../mods/workshop-370373189/scripts/components/crop.lua:235 in (method) Harvest (Lua) <225-262> scripts/actions.lua:1090 in (field) fn (Lua) <1088-1107> scripts/bufferedaction.lua:24 in (method) Do (Lua) <20-34> scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323> scripts/stategraphs/SGwilson.lua:4203 in (field) ontimeout (Lua) <4196-4204> scripts/stategraph.lua:550 in (method) UpdateState (Lua) <536-580> scripts/stategraph.lua:607 in (method) Update (Lua) <599-627> scripts/stategraph.lua:125 in (method) Update (Lua) <109-148> scripts/update.lua:218 in () ? (Lua) <149-228> [14:59:24]: 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? [14:59:24]: 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:649 in (method) SetFocus (Lua) <626-658> scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85> scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> Please help.... thx Link to comment Share on other sites More sharing options...
Daniel86268 Posted July 19, 2019 Share Posted July 19, 2019 Any mods installed? Iirc there have been some major issues with some mods due to the wormwood ground planting. Link to comment Share on other sites More sharing options...
Janus Atya Posted July 19, 2019 Author Share Posted July 19, 2019 Yes. Craftable gears, DST Advanced Farming DST Lil Houses DST Storm Cellar mods. Link to comment Share on other sites More sharing options...
Daniel86268 Posted July 19, 2019 Share Posted July 19, 2019 Check if you can host a/your map without mods (especially DST Advanced Farming, since that one apparently had some issues according to the comments.) Also looking at your logs again it seems Advanced Farming modified the crop file: 6 hours ago, Janus Atya said: mods/workshop-370373189/scripts/components/crop.lua:235 in (method) Harvest (Lua) <225-262> (workshop-370373189 is advanced farming) Link to comment Share on other sites More sharing options...
Janus Atya Posted July 20, 2019 Author Share Posted July 20, 2019 Thanks! This work. Link to comment Share on other sites More sharing options...
Recommended Posts
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.