Construct Bug: game crashes!! Help!!!

For questions about using Classic.

Post » Tue Aug 23, 2011 2:06 pm

Is Audiere sound plugin more stable than Xaudio2..might be an option.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Tue Aug 23, 2011 6:24 pm

>>>>I now transcribe sounds. I hope will work! If so, great!


It did not work ((((((
I removed all unnecessary XAdio2, but does not work.
Now even on my computer crashes, but before in my pc game don't was crashes(((

Cap file of game with only one Xaudio2 Plugin:
linkVicu2011-08-23 18:37:28
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Tue Aug 23, 2011 7:41 pm

[QUOTE=scidave] Is Audiere sound plugin more stable than Xaudio2..might be an option.[/QUOTE]
Although it is always good to try alternatives, XAudio2 is not unstable. Just wanted to make that point :P


Regarding the issue: I had no crashes testing your newest version. But it is a version without the soundfiles, which makes me think, that perhaps the sound files may be damaged or something.

Would it be possible to reduce the cap to just 2 layouts, where the crashes occur and add the soundfile with that it is crashing?

The sheer mass of code is just overwhelming and makes it hard to look for possible discrepancies.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Aug 23, 2011 8:00 pm

I just stumbled upon one thing.
It seems you are using autoplay for the most time. But in the 'level'-layouts (like in playtest) you are additionally using a positioned sound, that you are forcing to play on channel 2 without reserving channel 2 (at least I couldn't find that action)
Wherever you load on a fixed channel, like this example from your cap:

+ System: Start of layout
-> SoundAttachments: Clear LOS obstacles
-> 2Xad2: Load file AppPath & "sounds/campfire.wav" to channel 2 (Loop)

add the 'set reserved' action like so:

+ System: Start of layout
-> SoundAttachments: Clear LOS obstacles
-> 2Xad2: Load file AppPath & "sounds/campfire.wav" to channel 2 (Loop)
-> 2Xad2: Set channel 2 Reserved

Also it is important to reserve those channels prior to any autoplay.

Try this first, maybe it solves the issue.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Aug 23, 2011 8:22 pm

tulamide, thank you very much!! The problems was with "Sound Attachments". But when game runned whithout sounds shes don't crashes. I deleted the sounds attachments and now bug disappeared. Now I try to test the game at friends.
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Tue Aug 23, 2011 9:49 pm

You're welcome. I'm glad we could track it down. And good luck for the tests :)
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Tue Aug 23, 2011 10:01 pm

tulamide, Thanks)) Download and play in the game:
link
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest