Clear cost crash

  • Link to .capx file (required!):

    dropbox.com/s/gtbg234q2g0krdv/Buggin%20Out.capx

    Steps to reproduce:

    1. Start layout 1

    2. Hold down mouse anywhere in layout for about 1/2 a second

    3.

    Observed result:

    Game crashes

    Expected result:

    Clear path cost

    Browsers affected:

    Chrome: yes

    Firefox: My firefox doesn't work

    Internet Explorer: yes

    Operating system & service pack:

    Windows 8 and not sure

    Construct 2 version:

    126

  • Please remember to include the full text of any error messages you get. I get an error on startup without having to press anything, is this what you are seeing as well?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah okay, sorry. Yeah I get this on startup:

    Assertion failure: Action method appears to be missing, check ACE table names match script namesStack trace: Error    at Error (<anonymous>)    at assert2 (http://localhost:50001/preview_prelude.js:12:10)    at new Action (http://localhost:50001/eveng.js:1194:3)    at new EventBlock (http://localhost:50001/eveng.js:467:14)    at EventSheet.init_event (http://localhost:50001/eveng.js:108:16)    at new EventBlock (http://localhost:50001/eveng.js:478:16)    at EventSheet.init_event (http://localhost:50001/eveng.js:108:16)    at new EventBlock (http://localhost:50001/eveng.js:478:16)    at EventSheet.init_event (http://localhost:50001/eveng.js:108:16)    at new EventSheet (http://localhost:50001/eveng.js:94:9)

    Then this when attempting to clear the costs:

    Javascript error!Uncaught TypeError: Cannot call method 'apply' of undefinedhttp://localhost:50001/eveng.js, line 1290 (col undefined)This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

    The first error message will appear just by putting the clear-cost action in the project, even before it triggers in game (I tried your pthfinding costs example and it worked fine, then did nothing else but add clear costs and that first error came about).

  • Should be fixed in the next build.

  • Ashley - Great! And I also wanted to know if this was a bug or the way it was intended:

    When you find a path while not moving, it will automatically set the angle of the sprite to the same angle it was at when it arrived with the previous pathfinding, even if you wait ages and rotate the sprite in between.

    If it's a bug I'll make a more exact report.

  • Tobye - submit a new report anyway with a .capx, and I'll check it out. It's hard to tell from just a description.

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