Basically my blacksmith NPC got stuck on a bed, wouldn’t move for food or sleep, wouldn’t starve, whenever I moved the bed he was still stuck on it and when I sold the bed he was fused with to a merchant he disappeared from my NPC list altogether.
develop-2611 (x64)...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'assert'
...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: in function 'start_thinking'
stonehearth/services/server/ai/compound_action.luac:73: in function 'call_fn'
stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start_thinking'
stonehearth/components/ai/execution_unit_v2.luac:243: in function '_do_start_thinking'
stonehearth/components/ai/execution_unit_v2.luac:179: in function '_start_thinking_from_stopped'
stonehearth/components/ai/execution_unit_v2.luac:96: in function '_start_thinking'
stonehearth/components/ai/execution_frame.luac:307: in function '_restart_thinking'
stonehearth/components/ai/execution_frame.luac:324: in function '_start_thinking_from_stopped'
stonehearth/components/ai/execution_frame.luac:106: in function '_start_thinking'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
stonehearth/ai/actions/idle_breathe_action.luac:3: in function 'call_fn'
stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
stonehearth/ai/actions/idle_action.luac:9: in function 'call_fn'
stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/execution_unit_v2.luac:300: in function '?'
stonehearth/components/ai/execution_unit_v2.luac:18: in function 'execute'
stonehearth/ai/actions/idle_top_action.luac:5: in function 'call_fn'
stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run'
stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started'
stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run'
...
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: ...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call'
stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started'
stonehearth/components/ai/execution_frame.luac:129: in function '_run'
stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: assertion failed!stack traceback:
stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
[C]: in function 'assert'
...ai/actions/sleeping/sleep_in_bed_trivial_action.luac:10: in function 'start_thinking'
stonehearth/services/server/ai/compound_action.luac:73: in function 'call_fn'
stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_start_thinking'
stonehearth/components/ai/execution_unit_v2.luac:243: in function '_do_start_thinking'
stonehearth/components/ai/execution_unit_v2.luac:179: in function '_start_thinking_from_stopped'
stonehearth/components/ai/execution_unit_v2.luac:96: in function '_start_thinking'
stonehearth/components/ai/execution_frame.luac:307: in function '_restart_thinking'
stonehearth/components/ai/execution_frame.luac:324: in function '_start_thinking_from_stopped'
stonehearth/components/ai/execution_frame.luac:106: in function '_start_thinking'
...
stonehearth/components/ai/execution_frame.luac:334: in function 'start_thinking'
stonehearth/components/ai/execution_frame.luac:357: in function <stonehearth/components/ai/execution_frame.luac:352>
[C]: in function 'xpcall'
stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
develop-2611 (x64)stonehearth/components/ai/execution_frame.luac:104: bad frame transition "stop" from "starting_thinking"stack traceback:
stonehearth/services/server/threads/thread.luac:87: in function <stonehearth/services/server/threads/thread.luac:87>
[C]: in function 'error'
stonehearth/components/ai/execution_frame.luac:104: in function '_unknown_transition'
stonehearth/components/ai/execution_frame.luac:172: in function '_stop'
stonehearth/components/ai/execution_frame.luac:679: in function '_protected_call'
stonehearth/components/ai/execution_frame.luac:362: in function 'run'
stonehearth/components/ai/ai_component.luac:178: in function '_thread_main'
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall'
stonehearth/services/server/threads/thread.luac:89: in function 'f'
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
I made a vid because screenshots wouldn’t give the idea… Pratically the guy is struck in the bed and I can… mmh… carry him around…? No way to move it; waypoints… resetting the UI… placing the bed underwater… digging beneath it… nothing
I had to open up the console and reset it manually
Mh… sorry for the dupe, it wasn’t in the “similar posts” list.
btw I’ve understood how it works; it happens in two cases:
1- when you “collect” a bed that’s used.
2- when you save and leave while they’re sleeping there’s a chance it happens.
I’ve noticed another thing: If you reset their position, they return ok, that means that they “think” to be somewhere else (out of the map? flying?). And that spits out the usual error that you get while you let a stonehearther dig beneath him while there’s nothing under him and he starts to “fly”.
Maybe the two are related. U.U