Hearthling is "connected" to a chair

I was basically carrying on as usual giving everyone tasks, when i noticed that one of my farmers was missing and I found him stuck in a chair with the status of hunger. So the methods I’ve tried to save him was; moving the chair and placing it (he disappeared with the chair) , undeploying the chair and placing it (he disappeared with the chair again), putting him in a party and tried making him go to a spot, changing his job, when a invader came put the town in defence mode. So far he failed to move from the chair, hopefully he dies (sorry) and I get a new hearthling.

Well I repeated my methods after reloading the game and i got a incredibly lengthy engine error which was 2129 pages long
release-450 (x64)
No matching overload found, candidates: void __sub(lua_State*,Point3 const&,Point3 const&)
stack traceback:
radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
[C]: ?
[C]: ?
stonehearth/services/server/tasks/task.luac:157: in function 'estimate_task_distance’
stonehearth/services/server/tasks/task.luac:169: in function '_estimate_task_distance’
stonehearth/services/server/tasks/task_group.luac:150: in function '_get_worker_score_for_task’
stonehearth/services/server/tasks/task_group.luac:153: in function '_find_best_worker_for’
stonehearth/services/server/tasks/task_group.luac:167: in function ‘_update’
…tonehearth/services/server/tasks/task_scheduler.luac:31: in function ‘_update’
…tonehearth/services/server/tasks/task_scheduler.luac:35: in function '_fn’
radiant/controllers/timer_controller.luac:32: 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’
…earth/services/server/calendar/calendar_service.luac:120: in function 'fn’
radiant/modules/events.luac:79: 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>
release-450 (x64)
…/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: assertion failed!
stack traceback:
stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
[C]: in function ‘assert’
…/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: in function 'start_thinking’
stonehearth/services/server/ai/compound_action.luac:59: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_start_thinking’
stonehearth/components/ai/execution_unit_v2.luac:231: in function '_do_start_thinking’
stonehearth/components/ai/execution_unit_v2.luac:167: in function '_start_thinking_from_stopped’
stonehearth/components/ai/execution_unit_v2.luac:84: in function '_start_thinking’
stonehearth/components/ai/execution_frame.luac:286: in function '_restart_thinking’
stonehearth/components/ai/execution_frame.luac:303: in function '_start_thinking_from_stopped’
stonehearth/components/ai/execution_frame.luac:83: in function ‘_start_thinking’

stonehearth/components/ai/execution_frame.luac:106: in function '_run’
stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:669: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:351: in function 'run’
stonehearth/components/ai/ai_component.luac:129: 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>

1 Like

Hey there, I have the exact same issue! I’ve taken some screen-caps and some other engine errors (I have multiple (around 4000 and climbing)), to hopefully help the devs out.

Screenshots

I tried to lay out all the images I got (11), but it seems that new users can’t do much, so I uploaded them to Imgur giving each a title to try to describe the problem. You can find said link, here; https://imgur.com/a/0mWkW

Errors:

  1. release-453 (x64)
    stonehearth/components/ai/execution_frame.luac:683: …/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: assertion
    failed!
    stack traceback:
    stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
    [C]: in function ‘error’
    stonehearth/components/ai/execution_frame.luac:683: in function ‘_exit_protected_call’
    stonehearth/components/ai/execution_frame.luac:678: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:450: in function ‘_run_from_started’
    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/execution_unit_v2.luac:308: in function ‘?’

    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/ai_component.luac:129: 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>

  2. release-453 (x64)
    stonehearth/components/ai/execution_frame.luac:683: …/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: assertion
    failed!
    stack traceback:
    stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
    [C]: in function ‘error’
    stonehearth/components/ai/execution_frame.luac:683: in function ‘_exit_protected_call’
    stonehearth/components/ai/execution_frame.luac:678: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:450: in function ‘_run_from_started’
    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/execution_unit_v2.luac:308: in function ‘?’

    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/ai_component.luac:129: 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

  3. release-453 (x64)
    stonehearth/components/ai/execution_frame.luac:683: stonehearth/components/ai/execution_frame.luac:683:
    …/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: assertion
    failed!
    stack traceback:
    stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
    [C]: in function ‘error’
    stonehearth/components/ai/execution_frame.luac:683: in function ‘_exit_protected_call’
    stonehearth/components/ai/execution_frame.luac:678: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/execution_unit_v2.luac:308: in function ‘?’
    stonehearth/components/ai/execution_unit_v2.luac:12: in function ‘execute’
    stonehearth/ai/actions/idle_breathe_action.luac:3: in function ‘call_fn’
    stonehearth/components/ai/execution_unit_v2.luac:16: in function ‘_call_run’
    stonehearth/components/ai/execution_unit_v2.luac:186: in function ‘_run_from_started’
    stonehearth/components/ai/execution_unit_v2.luac:129: in function ‘_run’

    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/ai_component.luac:129: 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>

  4. release-453 (x64)
    stonehearth/components/ai/execution_frame.luac:683: stonehearth/components/ai/execution_frame.luac:683:
    stonehearth/components/ai/execution_frame.luac:683:
    …/ai/actions/sitting/sit_on_chair_trivial_action.luac:8: assertion
    failed!
    stack traceback:
    stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
    [C]: in function ‘error’
    stonehearth/components/ai/execution_frame.luac:683: in function ‘_exit_protected_call’
    stonehearth/components/ai/execution_frame.luac:678: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:450: in function ‘_run_from_started’
    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/execution_unit_v2.luac:308: in function ‘?’

    stonehearth/components/ai/execution_frame.luac:106: in function ‘_run’
    stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
    [C]: in function ‘xpcall’
    stonehearth/components/ai/execution_frame.luac:669: in function ‘_protected_call’
    stonehearth/components/ai/execution_frame.luac:351: in function ‘run’
    stonehearth/components/ai/ai_component.luac:129: 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>

Like I said, there’s around 4000 of these right now (more if I unpause the game), but they all get redundant after this.

1 Like

welcome to the discourse @Hobbes :smile:

thanks for the imgur link, funny enough, we generally get new users to post images there anyways! i’ll go ahead and embed some of them for you.

i decided to just make a new reply, as your post was already rather lengthy.

Huh, they look like they should be eating but they’re a bit… frozen.

I have more than enough food. Can’t be that.

Selecting the chair to move it, hopefully forcing them to move, making them unstuck…

Here we go

Hm, yeah, no, that’s not right. You got moved into the other stuck person. Maybe if I undeploy it?

Well, now the other person is gone, but this guy’s still here. You can see he was dropping a beat (heh) and got stuck.

And the lady we undeployed is now a chair. Hrm.
Let’s try to redeploy her.

Yeah, no, still stuck in a chair. Phooey.

They even slept in their chairs.

Holy errors, Batman.

that took a lot longer then it should have…

3 Likes

I believe this is said to be fixed on Alpha 11 stable. I’ll move to resolved, if someone else see this bug again, we’ll merge.

1 Like

@Relyss - I believe this is still an open bug that we have fixed for Alpha 12.

2 Likes

i’ll change it back to active until A 12 comes around then.

1 Like

Oh, ok. I thought I read something but I probably misunderstood. Thanks :+1:

1 Like