Worker stuck and dont move

Hi my problem is, after about 10 minutes i got this error:

develop-2477 (x64)…arth/ai/actions/pickup_item_from_storage_action.luac:7: attempt to call field ‘get_iconic_form’ (a nil value)stack traceback:
radiant/modules/common.luac:32: in function ‘get_iconic_form’
…arth/ai/actions/pickup_item_from_storage_action.luac:7: in function 'start_thinking’
stonehearth/services/server/ai/compound_action.luac:57: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_start_thinking’
stonehearth/components/ai/execution_unit_v2.luac:230: in function '_do_start_thinking’
stonehearth/components/ai/execution_unit_v2.luac:166: in function '_start_thinking_from_stopped’
stonehearth/components/ai/execution_unit_v2.luac:83: in function '_start_thinking’
stonehearth/components/ai/execution_frame.luac:281: in function '_restart_thinking’
stonehearth/components/ai/execution_frame.luac:298: in function '_start_thinking_from_stopped’
stonehearth/components/ai/execution_frame.luac:78: in function '_start_thinking’
stonehearth/components/ai/execution_frame.luac:314: in function ‘start_thinking’

radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
[C]: in function 'xpcall’
radiant/controllers/time_tracker_controller.luac:9: in function 'set_now’
radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now’
radiant/modules/timer.luac:6: in function 'self’
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function 'xpcall’
radiant/modules/events.luac:78: in function 'trigger’
radiant/modules/events.luac:97: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

and all my workers and other hearthlings stoped doing anything :grin:

1 Like

got a similar one

develop-2494 (x64)
stonehearth/components/ai/execution_unit_v2.luac:59: bad unit transition “start_thinking” from "finished"
stack traceback:
radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
[C]: in function 'error’
stonehearth/components/ai/execution_unit_v2.luac:59: in function '_unknown_transition’
stonehearth/components/ai/execution_unit_v2.luac:84: in function '_start_thinking’
stonehearth/components/ai/execution_frame.luac:212: in function '_do_slow_thinking’
stonehearth/components/ai/execution_frame.luac:270: in function '_fn’
radiant/controllers/timer_controller.luac:28: in function 'fire’
radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
[C]: in function 'xpcall’
radiant/controllers/time_tracker_controller.luac:9: in function 'set_now’
radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now’
radiant/modules/timer.luac:6: in function 'self’
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function 'xpcall’
radiant/modules/events.luac:78: in function 'trigger’
radiant/modules/events.luac:97: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

guy is just lying on the ground, not doing anything, except sleeping and starving. Reset command didn’t help.

EDIT: managed to ‘reset’ him all around the place, no effect. Town defense mode made him tremble and he actually started to look less like a mindless zombie, but with no actual effect. What made him move was making a combat party and ordering him to attack certain area, ‘defend’ order didn’t obey. Now he refused the ‘attack’ order, but after game restart he actually went to that marker.

EDIT2: Leo is still stuck, though I tried promoting him to various classes, after promotion to worker he just dropped blacksmith’s hammer, and that was his part of promotion. What an ass :smiley:
Now I got another error, and I think they might be related. He has only one item in inventory and it’s a mean bed. I tried to replace 8 beds, plus placing another 2, and after giving Hearthlings a command to undeploy 4 of those, I got an error. It might be a false alarm, but also a crumble to find your way.
It’s 8 pages, 7 of those had the same ending after three dots, so I shortened those.

develop-2494 (x64)
stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
radiant/modules/common.luac:99: in function 'assert’
stonehearth/services/server/inventory/inventory.luac:223: in function '_check_entity_forms_of_new_item’
stonehearth/services/server/inventory/inventory.luac:95: in function ‘add_item’
…tonehearth/components/storage/storage_component.luac:133: in function ‘add_item’
…arth/ai/actions/put_carrying_in_backpack_action.luac:14: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_run’
stonehearth/components/ai/execution_unit_v2.luac:185: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:128: in function '_run’
stonehearth/components/ai/execution_frame.luac:439: in function <stonehearth/components/ai/execution_frame.luac:439>

stonehearth/components/ai/execution_frame.luac:101: in function '_run’
stonehearth/components/ai/execution_frame.luac:338: in function <stonehearth/components/ai/execution_frame.luac:329>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:658: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/components/ai/ai_component.luac:128: 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-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:439: in function '_run_from_started’
stonehearth/components/ai/execution_frame.luac:101: in function '_run’
stonehearth/components/ai/execution_frame.luac:338: in function <stonehearth/components/ai/execution_frame.luac:329>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:658: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function ‘call_fn’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_run’
stonehearth/components/ai/execution_unit_v2.luac:185: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:128: in function '_run’
stonehearth/components/ai/execution_frame.luac:439: in function <stonehearth/components/ai/execution_frame.luac:439>
[C]: in function ‘xpcall’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:439: in function '_run_from_started’
stonehearth/components/ai/execution_frame.luac:101: in function '_run’
stonehearth/components/ai/execution_frame.luac:338: in function <stonehearth/components/ai/execution_frame.luac:329>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:658: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function ‘call_fn’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_run’
stonehearth/components/ai/execution_unit_v2.luac:185: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:128: in function '_run’
stonehearth/components/ai/execution_frame.luac:439: in function <stonehearth/components/ai/execution_frame.luac:439>
[C]: in function ‘xpcall’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:439: in function '_run_from_started’
stonehearth/components/ai/execution_frame.luac:101: in function '_run’
stonehearth/components/ai/execution_frame.luac:338: in function <stonehearth/components/ai/execution_frame.luac:329>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:658: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function ‘call_fn’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/services/server/ai/compound_action.luac:117: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_run’
stonehearth/components/ai/execution_unit_v2.luac:185: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:128: in function '_run’
stonehearth/components/ai/execution_frame.luac:439: in function <stonehearth/components/ai/execution_frame.luac:439>
[C]: in function ‘xpcall’
.
develop-2494 (x64)
stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/components/ai/execution_frame.luac:672: stonehearth/services/server/inventory/inventory.luac:223: assertion failed: tried to add iconic (399233 Mean Bed (iconic)) when root is already in inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:656: in function <stonehearth/components/ai/execution_frame.luac:649>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:672: in function '_exit_protected_call’
stonehearth/components/ai/execution_frame.luac:667: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:439: in function '_run_from_started’
stonehearth/components/ai/execution_frame.luac:101: in function '_run’
stonehearth/components/ai/execution_frame.luac:338: in function <stonehearth/components/ai/execution_frame.luac:329>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:658: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:340: in function 'run’
stonehearth/components/ai/ai_component.luac:128: 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>

EDIT3: so after all this Leo got unstuck, I removed orders to place mean beds, and placed them all over again; Leo was playing ‘sitting on ground and eating’ animation four times, all across the stockpile; after that the starving buff was still present, he dumped mean bed in stockpile, sat by campfire, I gave him a promotion, which he accepted, started to craft; still starving; new day came, happily makes everything, though starving buff doesn’t come off (weirdly he still has 100% health). Result of this is also having two separate icons for mean beds, one for nine placed in the world, and one for one in stockpile.

1 Like