Decided to place some critter traps because why not. An ogre attacked one of the critter traps, which then broke. A window popped up. Skimmed it and saw “Show this to a dev!” so I figured I’d go ahead and do that.
develop-3107 (x64) @stonehearth/lib/entity_forms/entity_forms_lib.lua:193: Attempting to place ghost entity (25730729 stonehearth:gizmos:critter_trap (ghost)) in a blocked location (559.00, 40.00, 770.00)!! Show this to a dev!
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:456: in function 'verify’
stonehearth/lib/entity_forms/entity_forms_lib.lua:193: in function 'place_ghost_entity’
stonehearth/services/server/town/town.lua:549: in function ‘place_item_type’
…h/components/siege_weapon/siege_weapon_component.lua:85: in function 'fn’
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:285: in function 'trigger’
radiant/modules/entities.lua:94: in function ‘kill_entity’
…hearth/ai/observers/kill_at_zero_health_observer.lua:63: in function 'fn’
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:285: in function 'trigger’
radiant/modules/events.lua:370: in function '_fire_async_triggers’
radiant/modules/events.lua:445: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>
I am assuming it’s client_state.bin, but there is also server_state.bin and metadata.json in the same folder. I don’t know the importance of either of those in sharing the save file.
This save is before the issue occurred, so I hope that’s all right. Also of the three traps placed, the one that was destroyed and resulted in the pop-up was the left-most one if you’re looking toward the town from the bridge.
Moving a placed item multiple times seems to duplicate the item in the build queue on the building it is placed on or attached to, creating multiple “ghost entities” that do not get resolved.
develop-3109 (x64)@stonehearth/lib/entity_forms/entity_forms_lib.lua:193: Attempting to place ghost entity (3458976 stonehearth:furniture:comfy_bed (ghost)) in a blocked location (1072.00, 60.00, -311.00)!! Show this to a dev!stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback'
radiant/modules/common.lua:456: in function 'verify'
stonehearth/lib/entity_forms/entity_forms_lib.lua:193: in function 'place_ghost_entity'
stonehearth/services/server/town/town.lua:549: in function 'place_item_type'
.../fixture_fabricator/fixture_fabricator_component.lua:280: in function '_request_town_place_item_on_structure'
.../fixture_fabricator/fixture_fabricator_component.lua:247: in function '_place_fixture'
.../fixture_fabricator/fixture_fabricator_component.lua:241: in function 'cb'
stonehearth/services/server/inventory/inventory.lua:588: in function 'instance'
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall'
radiant/modules/common.lua:257: in function 'xpcall'
radiant/modules/events.lua:285: in function 'trigger'
radiant/modules/events.lua:370: in function '_fire_async_triggers'
radiant/modules/events.lua:445: in function '_update'
radiant/server.lua:62: in function <radiant/server.lua:58>
Came here to confirm this too. I ran into this just trying to move a piece of picket fence that had been placed improperly. Specifically, the new location I specified was partially overlapping the fence piece’s current location.
2016-08-26 21:24:39.595886 | server | 0 | lua.code | -- Script Error (lua) Begin -------------------------------
2016-08-26 21:24:39.595886 | server | 0 | lua.code | @stonehearth/lib/entity_forms/entity_forms_lib.lua:193: Attempting to place ghost entity (354867 stonehearth:construction:picket_fence (ghost)) in a blocked location (-1434.00, 40.00, -920.00)!! Show this to a dev!
2016-08-26 21:24:39.595886 | server | 0 | lua.code | stack traceback:
2016-08-26 21:24:39.595886 | server | 0 | lua.code | radiant/modules/common.lua:237: in function 'report_traceback'
2016-08-26 21:24:39.595886 | server | 0 | lua.code | radiant/modules/common.lua:456: in function 'verify'
2016-08-26 21:24:39.595886 | server | 0 | lua.code | stonehearth/lib/entity_forms/entity_forms_lib.lua:193: in function 'place_ghost_entity'
2016-08-26 21:24:39.595886 | server | 0 | lua.code | ...h/components/entity_forms/entity_forms_component.lua:459: in function '_place_item'
2016-08-26 21:24:39.595886 | server | 0 | lua.code | ...h/components/entity_forms/entity_forms_component.lua:388: in function 'place_item_on_ground'
2016-08-26 21:24:39.595886 | server | 0 | lua.code | ...tonehearth/call_handlers/place_item_call_handler.lua:82: in function <...tonehearth/call_handlers/place_item_call_handler.lua:71>
2016-08-26 21:24:39.595886 | server | 0 | lua.code | -- Lua Error End -------------------------------
this occurred when a mob came and destroyed a clamp trap; i’m not sure if it’s related to the items at the edge of the world
develop-3109 (x64)@stonehearth/lib/entity_forms/entity_forms_lib.lua:193: Attempting to place ghost entity (57246481 stonehearth:gizmos:clamp_trap (ghost)) in a blocked location (-935.00, 40.00, 834.00)!! Show this to a dev!stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback'
radiant/modules/common.lua:456: in function 'verify'
stonehearth/lib/entity_forms/entity_forms_lib.lua:193: in function 'place_ghost_entity'
stonehearth/services/server/town/town.lua:549: in function 'place_item_type'
...h/components/siege_weapon/siege_weapon_component.lua:85: in function 'fn'
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall'
radiant/modules/common.lua:257: in function 'xpcall'
radiant/modules/events.lua:285: in function 'trigger'
radiant/modules/entities.lua:94: in function 'kill_entity'
...hearth/ai/observers/kill_at_zero_health_observer.lua:63: in function 'fn'
radiant/modules/events.lua:288: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall'
radiant/modules/common.lua:257: in function 'xpcall'
radiant/modules/events.lua:285: in function 'trigger'
radiant/modules/events.lua:370: in function '_fire_async_triggers'
radiant/modules/events.lua:445: in function '_update'
radiant/server.lua:62: in function <radiant/server.lua:58>