Everytime I start my game I get this error and my shepherd wont feed the animals. I have food and he is set to only do his job. This is the error, it seems related.
release-949 (x64)[M]
stonehearth/services/server/ai/ai_service.lua:559: table index is nil
stack traceback:
[C]: ?
stonehearth/services/server/ai/ai_service.lua:559: in function 'filter_from_key'
.../ai/actions/wait_for_empty_pasture_trough_action.lua:58: in function '_on_feed_changed'
.../ai/actions/wait_for_empty_pasture_trough_action.lua:44: in function <.../ai/actions/wait_for_empty_pasture_trough_action.lua:37>
[C]: in function 'start_thinking'
stonehearth/services/server/tasks/task_action.lua:102: in function '_start_stop_thinking'
stonehearth/services/server/tasks/task_action.lua:175: in function <stonehearth/services/server/tasks/task_action.lua:174>
[C]: ?
[C]: in function 'trigger'
radiant/modules/events.lua:63: in function '_update'
radiant/server.lua:67: in function <radiant/server.lua:64>
Currently experiencing the same problem. No error message, but the shepherd isn’t feeding - subsequently the shepherd is also not advancing experience and can no longer get to level 2 to the stage of making poyo/sheep pastures.
if you have debug tools you can probaly paste down some food with those.
otherwise, i’d use a difference strategy to feed my town untill ACE fixes it
This bug is fixe on the newest ACE version but you should probably have to demote (promote to worker) and then promote your shepherd again for it to work!
You might also need to replace your troughs
Sorry about that!
Let us know if it works then and if not, make sure you do have the updated 0.9.3.2 version and report it on the ACE thread
I have a feeling the issue with not feeding is due to pasture beds - I had pasture beds in & the animals would do nothing but sleep to death & the shepherds wouldn’t feed them - I’ve removed the pasture beds & now the animals are at least eating the grass - I’ve demoted & promoted the shepherds but they still just sit by the fire I’m using the Northern Alliance & a “few” mods
Animals will only stick to their beds if the weather is bad (damages them), but they’ll prefer to face the weather and eat rather than starve if they get hungry. Pastures should be now functioning correctly.