Continuing the discussion from Develop-2647 on Steam Latest:
[quote=“Albert, post:1, topic:17156, full:true”]
Bug Fixes
Bug Fixes
- Fixed ‘item_has_been_looted’ error when trying to restock destroyed items.
[/quote]
Edit: seems it is a different bug that touches the same function.
Summary: Received error at start of new game in dev 2647, all hearthlings collecting and storing resources with exception of two who were just promoted.
Steps to reproduce: Have not yet reproduced successfully, occured <5 minutes into new game/
Expected Results: No error occurs with new game
Actual Results: Error appears, game appears to progress without issue.
Notes:
Error:
develop-2647 (x64)
std::logic_error: 'invalid reference in native get_id'
stack traceback:
[C]: in function 'get_id'
stonehearth/services/server/town/town.luac:179: in function 'item_has_been_looted'
...tions/put_restockable_item_into_backpack_action.luac:4: in function 'should_pick_up_item'
...tions/put_restockable_item_into_backpack_action.luac:25: in function 'pickup_item_off_ground_filter'
...tions/put_restockable_item_into_backpack_action.luac:37: in function 'filter_fn'
stonehearth/ai/actions/find_path_to_entity_type.luac:21: in function <stonehearth/ai/actions/find_path_to_entity_type.luac:21>
[C]: ?
[C]: in function 'start'
stonehearth/services/server/ai/compound_action.luac:125: in function <stonehearth/services/server/ai/compound_action.luac:122>
[C]: ?
[C]: in function 'start'
...
[C]: ?
[C]: in function 'start'
stonehearth/services/server/ai/compound_action.luac:125: in function <stonehearth/services/server/ai/compound_action.luac:122>
[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>
Attachments:
stonehearth.log (172.7 KB)
Save folder
Version and Mods: develop-2647 with debug tools, cookmod, silomod, and bea_small_changes insalled
System Information: Windows 10 Pro 64 | Intel Core i5-3360M | 16 GB system memory | Nvidia NVS 5400m
######Paging @Albert