R123 crash with no platform behaviour

Bugs will be moved here once resolved.

Post » Thu Mar 21, 2013 3:36 am

I'm having the same problem. It happens randomly.

Uncaught TypeError: Object #<Object> has no method 'indexOf' common_prelude.js:461

Not sure why it happens. At first try, it crashes right at start. Then, I moved some objects that are "destroyed on start of the layout" outside the layout, then I can run the game for some seconds, then it crashes again
B
12
S
4
G
1
Posts: 104
Reputation: 1,512

Post » Thu Mar 21, 2013 8:11 am

On windows 8 it says it's crashing at this point :
[code] Line 351:
     cr.arrayFindRemove = function (arr, item)
     {
          var index = arr.indexOf(item);
          if (index !== -1)
               cr.arrayRemove(arr, index);
     };
[/code]
B
24
S
11
G
5
Posts: 140
Reputation: 5,004

Post » Thu Mar 21, 2013 9:30 am

@ashley this is bare bones as I could get it,events that cause crash 100% every time,in both firefox and chrome during my testing.

Sometimes you will need to be patient and refresh and collide again a few times.

https://dl.dropbox.com/u/146573792/bugreportversion123.capx

thanks for getting on this issue so quickly.
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Thu Mar 21, 2013 10:30 am

I'm having the same issue. "Uncaught typeerror: object#<object> has no method 'indexof', common_prelude.js, line 461 (col undefined).

However, my crashes do not happen at random. In my game it appears when I use most of my spells. The error either triggers just when the spell is cast on a monster or JUST before the monster dies (depending on the spell - always the same time for the same spell). All browsers give the same error at the same time as well. My project is pretty big so I've at first just uploaded a few screenshots of the events here: https://dl.dropbox.com/u/4793120/error123.zip. Let me know if you want the whole, messy capx.

Edit: a small description of the game might be needed. Monsters spawn at top and move downwards. Player must click on monsters and cast spells on them to keep them at bay. So a lot of the crashing happens when the player clicks on a monster combined with a spell use. NightHaunter2013-03-21 10:31:57
B
16
S
4
G
4
Posts: 13
Reputation: 4,266

Post » Thu Mar 21, 2013 11:40 am

+1
Javascript error with platform behaviour
B
55
S
19
G
8
Posts: 191
Reputation: 8,831

Post » Thu Mar 21, 2013 1:27 pm

Same problem.. I wanted to test Stage 4 of 'Forgot My Lunch' which is in the arcade (so in the previous version it was working) but now I get this:

Javascript error!
SyntaxError: syntax error
http://127.0.0.1:50000/Platform_behavior.js, line 133 (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!

Regards,
Rob
B
20
S
6
G
3
Posts: 18
Reputation: 5,103

Post » Thu Mar 21, 2013 1:33 pm

Guys please there is another thread for the platform one, this is for the non platform bug. Let's keep them separated otherwise we risk one of the bug not getting fixed.
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Thu Mar 21, 2013 1:38 pm

I think I've fixed it (the indexOf problem, which is different to the Platform problem). r123.2 should be coming out in a few hours.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Mar 21, 2013 2:16 pm

@Ashley Great job!
B
24
S
11
G
5
Posts: 140
Reputation: 5,004

Post » Thu Mar 21, 2013 2:30 pm

@Ashley Wohoo! Fixed it for me. Thanks a lot for the quick response and action! Go Scirra :)
B
16
S
4
G
4
Posts: 13
Reputation: 4,266

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests