0 Favourites

Behavior Creation Error ?

  • I get the follow error message when developing a behavior. My problem is that the message is not very helpfull in telling me whats wrong. I know that a Action ID duplicated and that is the problem, but after changing the name 3 times i still get the same error.

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    ACE table: Action ID duplicated in ACE table

    Condition: act_ids.find(id) == act_ids.end()

    File: c:\c2\source\exporters\html5\..\..\common\ERAHelpers.h

    Line: 203

    Function: void __thiscall era::ACETable::AddAction(int,int,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,void (__cdecl *)(const class era::StaticResult **,int,class era::StaticEvaluation *))

    Build: release 92 (32-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort   Retry   Ignore   

    ---------------------------

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • I found my error. I finally looked up what was a action ID. Sorry for the post.

  • Action duplicated means that you have some actions, defined in the edittime.js file, that have the same index.

    In the lines beginning with "AddAction(x," (where x is a number) make sure x is never twice the same.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)