Hearthling Picking up a Placeholder

Another game ending error. I tried placing some goblin trophies. 3 to be precise. A hearthling came over and place the first, then another comes over and picks up the ghostly outline marking where the second should go. Which kills the game with an infinite loop.

release-453 (x64)
stonehearth/services/server/inventory/inventory.luac:248: cannot add ghost form (3432671 Goblin honor token (ghost)) to inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
[C]: in function 'error’
stonehearth/services/server/inventory/inventory.luac:248: in function '_check_if_valid_form’
stonehearth/services/server/inventory/inventory.luac:118: in function ‘add_item’
…tonehearth/components/storage/storage_component.luac:113: 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:186: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:129: in function '_run’
stonehearth/components/ai/execution_frame.luac:450: in function <stonehearth/components/ai/execution_frame.luac:450>
[C]: in function ‘xpcall’

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

I can confirm this happening. Right after selecting a place to put a token, one of the Hearthlings picked up the ghost sprite, causing a cascade of issues. There was also an issue where another Hearthling brought the token to the correct spot, but was unable to place it and froze. This also caused a loop of errors, which might be tied to the aforementioned bug.

3 Likes