[R230][SDK]Using flag "deprecated" cause C2 error

0 favourites
  • 3 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Problem Description

    If you use the flag "deprecated" in ACE expression, C2 display error message on start:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    ACE table: expression does not specify one return flag - did you specify more than one, or forget it entirely?

    Condition: return_flags == 1

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

    Line: 285

    Function: void __cdecl era::ACETable::AddExpression(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> > &,void (__cdecl *)(const class era::StaticResult **,int,class era::StaticEvaluation *))

    Build: release 230 (64-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.

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

    Abandonner Recommencer Ignorer

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

    Attach a Capx

    Capx not needed

    For example, open editime.js from "function" plugin and change the flag line 43 the flag ef_return_number by ef_deprecated, save the file and launch C2 and see the error

    Close C2 change the flag to ef_return_number, save and launch C2, no error...

    you can try with other edittime.js from other plugin the result is the same official or not

    Description of Capx

    NA

    Steps to Reproduce Bug

      For example, open editime.js from "function" plugin and change the flag line 43 the flag ef_return_number by ef_deprecated, save the file and launch C2 and see the error Close C2 change the flag to ef_return_number, save and launch C2, no error

    Observed Result

    Error ACE table: expression does not specify one return flag - did you specify more than one, or forget it entirely?

    Expected Result

    No error

    Affected Browsers

      NA C2 main program only

    Operating System and Service Pack

    WIN 7 Pro 64b ,8.1 pro 64b ,win 10 pro 64b

    Construct 2 Version ID

    R230 beta

    **EDIT: seems the same bug with R228/229 beta

  • Closing as not a bug. You must still specify the return type flag with the deprecated flag, which is what the error message is telling you. Otherwise you are saying the expression is hidden and has no return type (which affects projects that still use it).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley thank you for the quick reply.

    I just wonder why the error is displayed only with beta release

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