Clear cost crash

Bugs will be moved here once resolved.

Post » Sat Apr 20, 2013 1:41 am

Link to .capx file (required!):
https://www.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
    
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Sat Apr 20, 2013 2:30 pm

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?
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Sat Apr 20, 2013 3:55 pm

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).
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Tue Apr 23, 2013 6:41 pm

Should be fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Wed Apr 24, 2013 5:36 am

@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.
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Wed Apr 24, 2013 11:49 am

@Tobye - submit a new report anyway with a .capx, and I'll check it out. It's hard to tell from just a description.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests