Don't Starve Together

Don't Starve Together

Multi-World DST Fixed
Templar 17 Oct, 2019 @ 7:40am
Bug report
I killed a guard pig in the setpiece and got a crash, i was using a ton of other mods but the crash was caused by multi world. report-

[00:18:57]: [string "../mods/workshop-1883683402/lib/custom_tech..."]:134: attempt to compare number with nil
LUA ERROR stack traceback:
../mods/workshop-1883683402/lib/custom_tech_tree.lua:134 in (field) fn (Lua) <130-144>
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
scripts/update.lua:180 in () ? (Lua) <159-238>

[00:18:57]: 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:18:57]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
scripts/update.lua:90 in () ? (Lua) <33-129>
[00:18:58]: 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:18:58]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
< >
Showing 1-15 of 20 comments
Templar 17 Oct, 2019 @ 3:52pm 
wait nevermind its caused by another mod (dst legion by going into a specific crafting station) but for some reason it shows up as multi worlds being the reason
dvoice 20 May, 2020 @ 9:38pm 
I like this mod very much. Thank you for the fix, because I reopened the archive. Unfortunately, it went wrong on my dedicated server
Here is the error code

@scripts/worldgen_main.lua:378 in () ? (Lua) <355-474>
debug = false
world_gen_data = table: 15C0C8F8
level = table: 15C05238
prefab = forest
@=(tail call):-1 in () (tail) <-1--1>
@=(tail call):-1 in () (tail) <-1--1>
[00:00:15]: 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:00:15]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
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>
dvoice 20 May, 2020 @ 9:40pm 
I just used this mod
Swaggy  [developer] 21 May, 2020 @ 6:10am 
Can you upload the full log ? There's no error here, it's just a warning.
dvoice 21 May, 2020 @ 10:53pm 
#######
#
# Generating SURVIVAL Mode Level
#
#######

[00:00:17]: Prefab Swap Selection: regular grass
[00:00:17]: Prefab Swap Selection: twiggy trees
[00:00:17]: Prefab Swap Selection: regular berries
[00:00:17]: DoLuaFile Error: #[string "scripts/map/level.lua"]:104: TaskSet 'multi' has no data! If preset 'MULTIPRESET' was created with mods enabled, please enable the mods.
#LUA ERROR stack traceback:
@=[C]:-1 in (global) assert (C) <-1--1>
@scripts/map/level.lua:104 in (method) ChooseTasks (Lua) <87-148>
self =
ordered_story_setpieces = table: 193932B8
version = 3
min_playlist_position = 0
max_playlist_position = 999
id = MULTIPRESET
required_prefabs = table: 193932E0
hideminimap = false
random_set_pieces = table: 19393718
numrandom_set_pieces = 5
name = Multiland
substitutes = table: 19393DD0
location = forest
override_level_string = false
desc = Shipwrecked stuff and more!
overrides = table: 19393B28
tasklist = table: 19484600
task_set = multi
task_set_data = nil
modfns = table: 19484718
@scripts/worldgen_main.lua:378 in () ? (Lua) <355-474>
debug = false
world_gen_data = table: 19392AE8
level = table: 19483D68
prefab = forest
@=(tail call):-1 in () (tail) <-1--1>
@=(tail call):-1 in () (tail) <-1--1>
[00:00:17]: #[string "scripts/map/level.lua"]:104: TaskSet 'multi' has no data! If preset 'MULTIPRESET' was created with mods enabled, please enable the mods.
#LUA ERROR stack traceback:
@=[C]:-1 in (global) assert (C) <-1--1>
@scripts/map/level.lua:104 in (method) ChooseTasks (Lua) <87-148>
self =
ordered_story_setpieces = table: 193932B8
version = 3
min_playlist_position = 0
max_playlist_position = 999
id = MULTIPRESET
required_prefabs = table: 193932E0
hideminimap = false
random_set_pieces = table: 19393718
numrandom_set_pieces = 5
name = Multiland
substitutes = table: 19393DD0
location = forest
override_level_string = false
desc = Shipwrecked stuff and more!
overrides = table: 19393B28
tasklist = table: 19484600
task_set = multi
task_set_data = nil
modfns = table: 19484718
@scripts/worldgen_main.lua:378 in () ? (Lua) <355-474>
debug = false
world_gen_data = table: 19392AE8
level = table: 19483D68
prefab = forest
@=(tail call):-1 in () (tail) <-1--1>
@=(tail call):-1 in () (tail) <-1--1>
[00:00:17]: Error loading worldgen_main.lua
[00:00:17]: WorldSim::SimThread::Main() ERROR
[00:00:17]: WorldSim::SimThread::Main() complete
[00:00:17]: Worldgen had an error, displaying...
[00:00:17]: #[string "scripts/map/level.lua"]:104: TaskSet 'multi' has no data! If preset 'MULTIPRESET' was created with mods enabled, please enable the mods.
#LUA ERROR stack traceback:
@=[C]:-1 in (global) assert (C) <-1--1>
@scripts/map/level.lua:104 in (method) ChooseTasks (Lua) <87-148>
self =
ordered_story_setpieces = table: 193932B8
version = 3
min_playlist_position = 0
max_playlist_position = 999
id = MULTIPRESET
required_prefabs = table: 193932E0
hideminimap = false
random_set_pieces = table: 19393718
numrandom_set_pieces = 5
name = Multiland
substitutes = table: 19393DD0
location = forest
override_level_string = false
desc = Shipwrecked stuff and more!
overrides = table: 19393B28
tasklist = table: 19484600
task_set = multi
task_set_data = nil
modfns = table: 19484718
@scripts/worldgen_main.lua:378 in () ? (Lua) <355-474>
debug = false
world_gen_data = table: 19392AE8
level = table: 19483D68
prefab = forest
@=(tail call):-1 in () (tail) <-1--1>
@=(tail call):-1 in () (tail) <-1--1>
[00:00:17]: 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:00:17]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
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>
[00:00:53]: RemoteCommandInput: "c_shutdown(true)"
[00:00:53]: c_shutdown true
[00:00:53]: [Shard] Stopping shard mode
[00:00:53]: Collecting garbage...
[00:00:53]: lua_gc took 0.04 seconds
[00:00:53]: ~ShardLuaProxy()
[00:00:53]: ~cEventLeaderboardProxy()
[00:00:53]: ~ItemServerLuaProxy()
[00:00:53]: ~InventoryLuaProxy()
[00:00:53]: ~NetworkLuaProxy()
[00:00:53]: ~SimLuaProxy()
[00:00:53]: lua_close took 0.07 seconds
[00:00:53]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager.
[00:00:53]: CurlRequestManager::ClientThread::Main() complete
[00:00:53]: HttpClient2 discarded 0 callbacks.
[00:00:53]: Shutting down
dvoice 21 May, 2020 @ 11:00pm 
I'm sorry that I'm in China. I don't know how to send the log file to the Internet and upload it to the comment area. I can only copy the log. I've only intercepted a large part of the later content. If you think it's not enough, I'll send the previous one.
Swaggy  [developer] 22 May, 2020 @ 11:24am 
Yes please send the previous part as well. You can upload the full log to pastebin.com . However be aware that it looks like a complicated error and I don't even have the game installed anymore, so there's a high chance I will not fix it.
Swaggy  [developer] 23 May, 2020 @ 11:10am 
I have no idea what causes this. Maybe an incompatibility with the other worldgen mods you are using.Sorry
dvoice 23 May, 2020 @ 7:25pm 
oh god But I only open this mod, only one
Swaggy  [developer] 23 May, 2020 @ 7:28pm 
There are other mods enabled in the log you sent, including some that affect world generation
dvoice 23 May, 2020 @ 9:45pm 
I only found another mod workshop-156552424 in the log. This is a weapon mod. Should it be recommended by the author of multi world mod? I didn't actually put it in the server. Can you give me more details about my other mods? I'm curious. In fact, I only opened one mod all the time. I asked other technicians, who said it was a world setting problem, but I only modified the biological community "multiland" and birth point "beach start"
Swaggy  [developer] 24 May, 2020 @ 7:16am 
There is something strange in your log. It seems you don't have this mod enabled (workshop-1883683402). Can you double check your modoverrides.lua ? Both Master and caves.
dvoice 25 May, 2020 @ 1:28am 
I found the root cause of the problem. Your mod should not be compatible with my ECs, which also explains why I can run the mod on the windows system. My ECS configuration is CentOS 7.3 64 bit. Can you fix the compatibility with the system again? If it's very troublesome, then when I didn't say, thank you for your contribution to the mod!
dvoice 25 May, 2020 @ 1:38am 
ECS=Cloud server
< >
Showing 1-15 of 20 comments
Per page: 1530 50