Storage filters bug

To reproduce this error;

  1. start a new game, peaceful or normal
  2. make a small stockpile eg. 4x4
    2.5 wait for default materials to be moved to it.
  3. set filter to none
  4. set filter to all
  5. set filter to none

Error reported:

develop-2598 (x64)stonehearth/components/ai/execution_frame.luac:108: bad frame transition “add_action” from "starting"stack traceback:
stonehearth/components/ai/execution_frame.luac:705: in function <stonehearth/components/ai/execution_frame.luac:698>
[C]: in function ‘error’
stonehearth/components/ai/execution_frame.luac:108: in function ‘_unknown_transition’
stonehearth/components/ai/execution_frame.luac:208: in function ‘_add_action’
stonehearth/components/ai/execution_frame.luac:594: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:171: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function ‘suspend’
stonehearth/components/ai/execution_frame.luac:692: in function ‘wait_until’
stonehearth/components/ai/execution_frame.luac:377: in function <stonehearth/components/ai/execution_frame.luac:377>
[C]: in function ‘xpcall’

stonehearth/components/ai/execution_frame.luac:146: in function ‘_run’
stonehearth/components/ai/execution_frame.luac:390: in function <stonehearth/components/ai/execution_frame.luac:381>
[C]: in function ‘xpcall’
stonehearth/components/ai/execution_frame.luac:707: in function ‘_protected_call’
stonehearth/components/ai/execution_frame.luac:392: in function ‘run’
stonehearth/components/ai/ai_component.luac:148: 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>

And a variable amount of other errors pages

my bug seams to be related to this one though perhaps not diurectly.

also you can replicate with creates:

  1. do the minimum needed to build a 16 part crate
  2. switch from all to none when there are items inside.

not sure why its needed but:
unique user ID: fbf1c1e0-5dd5-11e5-b955-14dae92213b8

still a bug here is an updated log:

develop-2603 (x64)stonehearth/components/ai/execution_frame.luac:108: bad frame transition “add_action” from "starting"stack traceback:
stonehearth/components/ai/execution_frame.luac:705: in function <stonehearth/components/ai/execution_frame.luac:698>
[C]: in function 'error’
stonehearth/components/ai/execution_frame.luac:108: in function '_unknown_transition’
stonehearth/components/ai/execution_frame.luac:208: in function '_add_action’
stonehearth/components/ai/execution_frame.luac:594: in function 'fn’
stonehearth/services/server/threads/thread.luac:109: in function 'private_msg’
stonehearth/services/server/threads/thread.luac:171: in function '_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function 'suspend’
stonehearth/components/ai/execution_frame.luac:692: in function 'wait_until’
stonehearth/components/ai/execution_frame.luac:377: in function <stonehearth/components/ai/execution_frame.luac:377>
[C]: in function ‘xpcall’

stonehearth/components/ai/execution_frame.luac:146: in function '_run’
stonehearth/components/ai/execution_frame.luac:390: in function <stonehearth/components/ai/execution_frame.luac:381>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:707: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:392: in function 'run’
stonehearth/components/ai/ai_component.luac:148: 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>

1 Like

@David_P - Welcome to the forum! Thanks for the bug report, we’ll get this fixed.

2 Likes