Engine Error while fighting

My game thru this error while I was getting attacked by wolves and a golem. not sure if you guys would want it or not, but it’s the first one since this new build and a couple hours of playing so thats cool!! XD I was just watching my people fight. I had whole town on watch and a footman and a cleric.

develop-2960 (x64)stonehearth/ai/observers/find_target_observer.lua:163: assertion failed: target (1636494 Kami Ember)'s score is -2147483648, which is less than min score of -1000000000stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'error’
radiant/modules/common.lua:445: in function 'assert’
stonehearth/ai/observers/find_target_observer.lua:163: in function '_update_target_score’
stonehearth/ai/observers/find_target_observer.lua:215: in function 'fn’
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:241: in function '_fire_async_triggers’
radiant/modules/events.lua:319: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

1 Like

Thanks! This should be fixed for the next release.

1 Like

Summary:
it was after about the 9th stoneling that the error occurred

develop-2960 (x64)
stonehearth/ai/observers/find_target_observer.lua:163: assertion failed: target (653467 Little Stone Golem stonehearth:monster_tuning:forest:little_stone_golem)'s score is -2147483648, which is less than min score of -1000000000
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘error’
radiant/modules/common.lua:445: in function ‘assert’
stonehearth/ai/observers/find_target_observer.lua:163: in function ‘_update_target_score’
stonehearth/ai/observers/find_target_observer.lua:215: in function ‘fn’
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:200>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:200: in function ‘trigger’
radiant/modules/events.lua:241: in function ‘_fire_async_triggers’
radiant/modules/events.lua:319: in function ‘_update’
radiant/server.lua:62: in function <radiant/server.lua:58>
Steps to reproduce:

  1. play rayyas on hard mode and kill lots of stonelings

Expected Results:
this not to happen
Actual Results:

Notes:

Attachments:

Version Number and Mods in use:
2960, no mods
System Information:

And here is another engine error from the same game,
This one also happened after a combat.

develop-2960 (x64)
@stonehearth/components/ai/ai_component.lua:567: (38782 Uuen Maeh) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason: follow_path mover aborted
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:456: in function 'verify’
stonehearth/components/ai/ai_component.lua:567: 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>

And here is the first error again later on

develop-2960 (x64)
stonehearth/ai/observers/find_target_observer.lua:163: assertion failed: target (40051 Talli Sharak)'s score is -2147483648, which is less than min score of -1000000000
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘error’
radiant/modules/common.lua:445: in function ‘assert’
stonehearth/ai/observers/find_target_observer.lua:163: in function ‘_update_target_score’
stonehearth/ai/observers/find_target_observer.lua:215: in function ‘fn’
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:200>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:200: in function ‘trigger’
radiant/modules/events.lua:241: in function ‘_fire_async_triggers’
radiant/modules/events.lua:319: in function ‘_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

1 Like

I’m going use this topic because it’s another engine error whilst in combat,
this time it was fighting a large band of orks, it seems to have something to do with archers orders and them not following them.

develop-2969 (x64)
…t_server_commands/combat_server_commands_service.lua:290: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…t_server_commands/combat_server_commands_service.lua:290: in function ‘_issue_individual_event’
…t_server_commands/combat_server_commands_service.lua:266: in function <…t_server_commands/combat_server_commands_service.lua:265>

Thanks for the reports!

The find_target_observer error was fixed in develop-2969.
I believe I have a fix for the combat_server_commands_service error.

The follow_path mover aborted is hard to reproduce so if anyone has a save that shows this, please upload it!

A post was merged into an existing topic: Error message, just reporting

Got another one

develop-2972 (x64)
…ices/client/renderer/construction_render_tracker.lua:267: attempt to index a nil value
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
…ices/client/renderer/construction_render_tracker.lua:267: in function ‘_update_camera’
…ices/client/renderer/construction_render_tracker.lua:208: in function ‘fn’
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:200>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:200: in function ‘trigger’
radiant/modules/events.lua:241: in function ‘_fire_async_triggers’
radiant/modules/events.lua:319: in function ‘_update’
radiant/client.lua:43: in function <radiant/client.lua:38>

Here is the save 1463354049502.zip (7.6 MB)

develop-2972 (x64)
@stonehearth/components/ai/ai_component.lua:567: (574889 Rabbit) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason: follow_path mover aborted
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:456: in function ‘verify’
stonehearth/components/ai/ai_component.lua:567: 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>

1463484251316.zip (5.2 MB)

release-552 (x64)
(39640 Jebediah Killian) (stonehearth:farm) bad frame transition to “unit_not_ready” from “running”
stack traceback:
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.lua:322: in function ‘private_msg’
stonehearth/services/server/threads/thread.lua:515: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.lua:379: in function <stonehearth/services/server/threads/thread.lua:360>
[C]: in function ‘suspend’
stonehearth/ai/actions/run_effect_action.lua:66: in function <stonehearth/ai/actions/run_effect_action.lua:38>
[C]: ?
[C]: ?
[C]: in function ‘execute’
…onehearth/ai/actions/plant_field_adjacent_action.lua:45: in function ‘_run_till_animation’
…onehearth/ai/actions/plant_field_adjacent_action.lua:52: in function <…onehearth/ai/actions/plant_field_adjacent_action.lua:49>

[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>

The save file:
1463567495928.zip (8.4 MB)

A post was split to a new topic: UI error from the building templates