(dev 524) engine error (pet death)

this one happened after ordering 10 gold bars to be made, but i’m not sure if thats the root of the evil.

nr. 1:
release-524 (x64)stonehearth/components/pet/pet_component.lua:100: attempt to call method ‘destroy’ (a nil value)stack traceback:
[C]: in function 'destroy’
stonehearth/components/pet/pet_component.lua:100: in function '_destroy_orchestrator’
stonehearth/components/pet/pet_component.lua:21: in function <stonehearth/components/pet/pet_component.lua:20>
[C]: in function 'destroy_entity’
radiant/modules/entities.lua:82: in function 'destroy_entity’
radiant/modules/entities.lua:121: in function 'kill_entity’
stonehearth/ai/actions/kill_entity.lua:36: in function 'fn’
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:234: in function 'xpcall’
radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:374: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
[C]: in function 'xpcall’
radiant/modules/common.lua:234: in function 'xpcall’
radiant/modules/events.lua:203: in function 'trigger’
radiant/modules/events.lua:272: in function '_trigger_gameloop’
radiant/modules/events.lua:323: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

Nr. 2:
release-524 (x64)c++ exception: lua runtime errorstack traceback:
[C]: in function 'destroy_entity’
radiant/modules/entities.lua:82: in function 'destroy_entity’
radiant/modules/entities.lua:121: in function 'kill_entity’
stonehearth/ai/actions/kill_entity.lua:36: in function 'fn’
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:234: in function 'xpcall’
radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:374: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
[C]: in function 'xpcall’
radiant/modules/common.lua:234: in function 'xpcall’
radiant/modules/events.lua:203: in function 'trigger’
radiant/modules/events.lua:272: in function '_trigger_gameloop’
radiant/modules/events.lua:323: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

edit: seems to be related to a pets death, which is strange. no pet should have died.
Title edited. could be merged with the existing thread to this bug.

I swear I just seen yang say this would be fixed for a15…
ill poke @jomaxro to make sure

2 Likes

Yep, Yang fixed this for A15:
http://discourse.stonehearth.net/t/engine-mourning-over-pet-death/20063/6?u=jomaxro

Going to mark as #duplicate and close. No need to merge as the error is resolved for A15.

1 Like