Engine error on loading saved game

I was playing and had some bugs like not rendering some blocks, so I saved the game and quite to menu.
After that I just reloaded the saved game and got this error message.
Build 2650
usrID: aba7b4f8-7381-11e5-ab3f-d4bed9fdc342

P.S. I trying to provide as much information as I can. If you need more information, please ask :smile:
I hope this can be of any help to the developers. :smile:

The entire stack trace:
Page 1:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 00000070ABC49A78” in “[u:417995 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
…
[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 2:
develop-2650 (x64)stonehearthstack traceback:
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
[C]: in function ‘suspend’
stonehearth/ai/actions/follow_path_action.luac:29: in function <stonehearth/ai/actions/follow_path_action.luac:7>
[C]: ?
[C]: ?
…
[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 3:
develop-2650 (x64)bad frame trasition from “add_action” from "starting_thinking"stack traceback:
stonehearth/services/server/threads/thread.luac:87: in function <stonehearth/services/server/threads/thread.luac:87>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function ‘suspend’
stonehearth/services/server/threads/thread.luac:146: in function ‘sleep_realtime’
stonehearth/components/ai/ai_component.luac:191: 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>


After the error, my hearthlings where frozen. So I closed the game entirely and reloaded de save data.
After doing so, I got this message.

Page 1:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to should_start_thinking: missing argument “ghost” of type “userdata: 0000005294113B48” in “[u:7960 place plantable item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 2
develop-2650 (x64)stonehearthstack traceback:
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 3:
develop-2650 (x64)bad frame trasition from “stop” from "starting_thinking"stack traceback:
[C]: ?
[C]: in function ‘stop’
stonehearth/components/ai/ai_component.luac:194: 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>

Page 4:
develop-2650 (x64)invalid initial state “starting_thinking” in runstack traceback:
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 5:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 0000005294113B48” in “[u:13291 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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 Likes

Hey @feri, thanks for posting all these bugs today, and a belated welcome to the discourse! By chance, would you be able to upload the save folder for this game? You can do so by copying the folder to a cloud service like Dropbox or Google Drive and adding the link to your post. That way, @Albert, @yshan, and @sdee can take a look.

1 Like

Here is the link: Dropbox - Error - Simplify your life
Hope you can figure this out @jomaxro , @Albert , @yshan , @sdee
If there is anything else, please do ask! Here to help :smile:

1 Like

I am glad you put so much faith in me, but I do not work for TR, I just try to help out where I can here in the discourse. It is Friday, but I am sure TR will take a look at this soon.

Note: They are moving offices next week, so I am not sure if development work is going to take a brief hiatus while this happens…

1 Like

Yeah, I have heard. While I think they will be doing there best :smile:

Hello @Albert, @sdee, @yshan and @jomaxro

Found an engine error what is making the game unplayable. The hearthlings are frozen and doing nothing anymore.
And it doesn’t look like there is a pattern, because in every savegame I had, it was all the sudden.
I have no experience in Lua, but it seem to look like an AI error, when the hearthlings are about to pick a task.

Additional information:
Developer build 2650
User id: aba7b4f8-7381-11e5-ab3f-d4bed9fdc342
Savegame: Dropbox - Error

Complete stack trace
Page 1:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to should_start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:16798 place plantable item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
…
[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 2:
develop-2650 (x64)stonehearthstack traceback:
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
[C]: in function ‘suspend’
stonehearth/ai/actions/follow_path_action.luac:29: in function <stonehearth/ai/actions/follow_path_action.luac:7>
[C]: ?
[C]: ?
…
[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 3:
develop-2650 (x64)bad frame trasition from “stop” from "starting_thinking"stack traceback:
[C]: ?
[C]: in function ‘stop’
stonehearth/components/ai/ai_component.luac:194: 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>

Page 4:
develop-2650 (x64)invalid initial state “starting_thinking” in runstack traceback:
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 5:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:17462 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 6:
develop-2650 (x64)bad frame trasition from “add_action” from "starting_thinking"stack traceback:
stonehearth/services/server/threads/thread.luac:87: in function <stonehearth/services/server/threads/thread.luac:87>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function ‘suspend’
stonehearth/services/server/threads/thread.luac:146: in function ‘sleep_realtime’
stonehearth/components/ai/ai_component.luac:191: 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>

Page 7:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:18518 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
…
[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 8:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:19520 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 9:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:20198 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 10:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:20243 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 11:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:21005 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Page 12:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:22231 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: 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>

Another save file showing this behavior.

http://www.torchdragon.com/stuff/stonehearth/rotation_error.zip

2 Likes

The same error in Alpha 12 465
User ID: 65587a68-1432-11e5-a0eb-bcee7be140d83

release-465 (x64)
stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000784E2BE158” in “[u:13221 place an item]”.
stack traceback:
[C]: ?
[C]: in function 'error’
stonehearth/services/server/ai/ai_service.luac:116: in function 'report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function 'fn’
stonehearth/services/server/threads/thread.luac:109: in function 'private_msg’
stonehearth/services/server/threads/thread.luac:168: in function '_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
…
[C]: in function 'execute’
stonehearth/ai/actions/idle_top_action.luac:5: in function <stonehearth/ai/actions/idle_top_action.luac:3>
[C]: ?
[C]: ?
[C]: in function 'run’
stonehearth/components/ai/ai_component.luac:186: 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>

Paging @albert…have these ai errors been resolved?

Unclear. It may also only be a problem when continuing an early Alpha 12 save game.

So is this “no_longer_applicable”? I haven’t seen any reports of this type for the latest build…

We completely changed how ghost items are handled, so let’s close and see if any new reports come in.

1 Like