[A 24.10.5] Hearthling stuck on Promotion Process to Footman

Summary:
At a random point in time in a session, when trying to promote a Hearthling into a Footman, they go grab the wooden practice sword, as normal. But they remain stuck on the promotion process, just standing still, after the cue that they got promoted pops up.
Steps to reproduce:

  1. Have a practice sword available for a Hearthling to use, can be promoted at any time as desired.
  2. Select the Hearthling, and promote them to a Footman.
  3. The Hearthling should automatically go grab the practice sword and get promoted.

Expected Results:
The Hearthling gets promoted to a footman, and goes on normal patrol routes, or any other orders the individual may desire.
Actual Results:
They stand still, doing nothing, at the spot where they got the practice sword. Even promoting them to something else does not move them.
Notes:
On the User Interface, when the specific Hearthling was selected, the UI would indicate that their status was ‘Promoting’, it would remain that way for an indefinite amount of time. If the save was reloaded, there would be no status for them, while the same issue persists.
Version Number and Mods in use:

Alpha 24.10.5

Mods Used in Session [Workshop]
Autoharvest
Smartashe Templates [a24]
Dense Fields
Miner Profession
Armis Maxiumus
Smart Crafter
Specialized Loadouts
Stonehearth Cafe
Better Storage
Hearthlings of Many Faces
Ore Fields/Growable Fields
Crafter Queues

Mod Biome Used
Sacred Grove

System Information:
OS: Windows 10
Processor: AMD-FX 6300 Six-Core 3.50 GHz
RAM: 16 GB

List of Bug Errors (New User as of June 3rd, 2018, cannot upload separate file)

release-852 (x64)[M]
…tonehearth/services/server/combat/combat_service.lua:383: attempt to call method ‘is_valid’ (a nil value)
stack traceback:
…tonehearth/services/server/combat/combat_service.lua:383: in function ‘get_entity_radius’
…tonehearth/services/server/combat/combat_service.lua:355: in function ‘get_melee_range’
…ehearth/ai/actions/combat/get_melee_range_action.lua:27: in function <…ehearth/ai/actions/combat/get_melee_range_action.lua:18>
[C]: in function ‘start_thinking’
stonehearth/services/server/tasks/task_action.lua:102: in function ‘_start_stop_thinking’
stonehearth/services/server/tasks/task_action.lua:174: in function <stonehearth/services/server/tasks/task_action.lua:168>
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:91: in function <…nehearth/services/server/tasks/task_group_action.lua:45>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:534: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-852 (x64)[M]
stack traceback:
[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:534: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-852 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:192
(795081 Orsa Papp) (stonehearth:top) bad frame transition to “stop” from “starting_thinking”
Culprit:
frame: stonehearth:top
stack traceback:
[C]: ?
[C]: in function ‘stop’
stonehearth/components/ai/ai_component.lua:594: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-852 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:1007
invalid initial state “starting_thinking” in run
Culprit:
frame: stonehearth:top
stack traceback:
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:534: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-852 (x64)[M]
@stonehearth/components/ai/ai_component.lua:579: (795081 Orsa Papp) has not yielded after 10 ai spins. Are they in a bad state? Last abort reasons: < (x10)>
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
radiant/modules/commons.lua:262: in function ‘verify’
stonehearth/components/ai/ai_component.lua:579: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Summary:

For some reason, my cleric just decided to give up and stare at a chest for the rest of his life.

Steps to reproduce:

  1. Get a lvl 2 herbalist
  2. Promote them to a cleric

Expected Results:

They run off and save my footman from death

Actual Results:

They decide that staring at a stone chest is WAY more interesting and let my footman die.

Notes:

Tried Reloading the game multiple times, it did not work. Also tried “reset” command, nothing happend.

If i told my cleric to change jobs, then relog they would move, but that was the only way i could get them to move,

Attachments:

Error Log

release-852 (x64)
…tonehearth/services/server/combat/combat_service.lua:383: attempt to call method ‘is_valid’ (a nil value)
stack traceback:
…tonehearth/services/server/combat/combat_service.lua:383: in function ‘get_entity_radius’
…tonehearth/services/server/combat/combat_service.lua:355: in function ‘get_melee_range’
…ehearth/ai/actions/combat/get_melee_range_action.lua:27: in function <…ehearth/ai/actions/combat/get_melee_range_action.lua:18>
[C]: in function ‘start_thinking’
stonehearth/services/server/tasks/task_action.lua:102: in function ‘_start_stop_thinking’
stonehearth/services/server/tasks/task_action.lua:174: in function <stonehearth/services/server/tasks/task_action.lua:168>
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:91: in function <…nehearth/services/server/tasks/task_group_action.lua:45>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:534: in function <stonehearth/components/ai/ai_component.lua:518>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:518: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:277: in function <stonehearth/services/server/threads/thread.lua:274>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:274: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Version Number and Mods in use:

Latest Experimental version. 24.10.5. No mods.

System Information:

1 Like

Maybe that’s the Stonehearth version of the dog that only stares at the blue wall, lol. Don’t worry though, my blacksmith occasionally floats to avoid work. :jubilant:

Haha, ok. For some reason the cleric hates me. I ALWAYS get bugs with it. Makes it hard to fight, but a fun challenge! This game has some of the best glitches.

If reloading the game didn’t fix it, can you upload the save please?

1 Like

Sure. Should Be attached here. The cleric is inside the cave.

Promotion Bug.zip (8.5 MB)

1 Like

Thank you very much for the savefile, @superjes1 :slightly_smiling_face:

This is fixed in the next release.

3 Likes