[3013] Engine Errors - Cleric in combat mode

Summary: A set of 4 errors received at once. Seems to be about cleric movement/thought, and occured shortly after a combat order was issued. Also attached the log file, in case that’s handy.

Context: Just issued a new ‘attack location’ order/banner a second or so prior. The combat party had killed a raid (woodlings & a basilisk), and while they were wandering back I went through the first goblin dialog (fancy hat), triggering the spawn of their camp and initial attack. Saved the game, issued the ‘attack location’ order, wait ~1 sec, and got the error. The cleric was level 2, with no circlet, and was likely chasing a nearby partymate footman to heal them.
(Errors did NOT repeat on reload of the post-dialog pre-attackOrder save.)

Notes: I’m used to getting ‘bad frame transition’ errors from clerics under various circumstances, but these are different. Change in the error printouts/traps, or actually different errors?

(the common two cleric errors, from A16 / dev3002 / dev3008, were ‘start thinking called from non-stopped state ready’ and a bad frame transition regarding running, seeming related to the conclusion of the cleric doing a panic-runaway. I came to suspect the Bronze and Iron circlets were related, and avoided them in dev3010 (used only steel circlets), and didn’t get the errors there. Proves nothing, but it’s why dev3010 isn’t in that list).

Errors: (as offered by “Copy to Clipboard”)

develop-3013 (x64)
(5408 Greyla Northpoint Clr) (stonehearth:goto_location) bad frame transition to "start" from "stopped"
stack traceback:
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'start'
	...tonehearth/services/server/tasks/run_task_action.lua:138: in function <...tonehearth/services/server/tasks/run_task_action.lua:133>
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:525: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
	
	
develop-3013 (x64)
placeholder ARGS.location failed to return a value in "nil" action
stack traceback:
	[C]: in function 'error'
	stonehearth/services/server/ai/ai_service.lua:375: in function <stonehearth/services/server/ai/ai_service.lua:369>
	[C]: in function 'set_think_output'
	stonehearth/ai/actions/run_to_location_action.lua:37: in function <stonehearth/ai/actions/run_to_location_action.lua:26>
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	...
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:525: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
	

develop-3013 (x64)
(5408 Greyla Northpoint Clr) (stonehearth:goto_location) bad frame transition to "stop" from "starting_thinking"
stack traceback:
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	...tonehearth/services/server/tasks/run_task_action.lua:143: in function <...tonehearth/services/server/tasks/run_task_action.lua:141>
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:525: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
	

develop-3013 (x64)
start thinking called from non-stopped state "starting_thinking"
stack traceback:
	[C]: ?
	[C]: in function 'set_think_output'
	...ctions/combat/move_to_targetable_location_action.lua:94: in function '_update_think_output'
	...ctions/combat/move_to_targetable_location_action.lua:27: in function '_changed_cb'
	radiant/modules/filtered_trace.lua:12: in function <radiant/modules/filtered_trace.lua:7>

stonehearth_3013_clericErrors.log (308.9 KB)