First time help needed: Maximum Call Stack Size Exceeded.

Bugs will be moved here once resolved.

Post » Mon Aug 25, 2014 3:27 pm

Problem Description
Hello there, I haven't really posted before as I have never needed to. However, now I need help, badly.
I have been working on a new project and haven't had any troubles yet, apart from the last couple of hours.
I keep getting 'Maximum Call Stack Size Exceeded'. However, I have tried EVERYTHING I know to try and counter this error but
to no avail. - I was hoping someone could help me please?

Attach a Capx
https://dl.dropboxusercontent.com/u/106 ... ssult.capx

Description of Capx
Game- Dead Wave - Assault. Zombie shooter.
B
5
S
1
Posts: 5
Reputation: 846

Post » Mon Aug 25, 2014 3:56 pm

Event 42 is your problem. On pathfinding failed, you are immediately calling Find path, which calls Failed... Remove the Find path, and the Every 1 second will try again anyway.

It's easier to debug in a browser, than Nodewebkit.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Mon Aug 25, 2014 4:15 pm

That seems to have done the trick! - Thank you ever so much. Now I just gotta sort out the camera scrolling to player! Cheers buddy!
B
5
S
1
Posts: 5
Reputation: 846

Post » Mon Aug 25, 2014 4:25 pm

One more thing buddy if I may. I have it all working now apart from the camera? - It's interesting as it will not lock on the player?

https://dl.dropboxusercontent.com/u/106 ... ssult.capx
B
5
S
1
Posts: 5
Reputation: 846

Post » Mon Aug 25, 2014 4:37 pm

a) you need 'Scroll to' on the player
b) you need to set the layout size, which appears to be 5539x1443
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Mon Aug 25, 2014 4:41 pm

Ah yes. But I have an external Camera which follows the Player which also has 'ScrollTo' on it. I have also tried placing it on the player but still the same result. -- The LayOut size hasn't been a problem yet, it's only that size because of the amount of Objects inside it????
B
5
S
1
Posts: 5
Reputation: 846

Post » Mon Aug 25, 2014 4:43 pm

Ah I GOT IT! You gave me an idea and it worked, thank you!
B
5
S
1
Posts: 5
Reputation: 846

Post » Tue Aug 26, 2014 3:32 pm

Closing, please don't use bug reports for support requests. Please always follow all the bug report guidelines since they help eliminate the possibility the events are wrong (e.g. making a minimal .capx).
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest