Page 1 of 1

Random crashes

PostPosted: Tue Feb 26, 2008 12:56 pm
by DilloDude
Currently, I'm having some problems with my project. It seems that after doing a bit of work or even just testing it, it keeps randomly crashing. Does anyone else get this problem?
Here is the file.

Controls:
Move mouse to aim, left-click to shoot.
Press p to pause (the asteroids do not pause because they are just temporary for testing purposes).
Numpad + to increase shot power (will eventually be moved to when you collect an item).
Numpad - to destroy your guns (for testing purposes).
q and z to select left shot type.
e and c to select right shot type.
w to speed up, s to slow down.
a to bank left (double tap to roll).
d to bank right (double tap to roll).

The meters above the weapons bars show gun temperature. You cannot fire if your guns are overheated.

Re: Random crashes

PostPosted: Thu Feb 28, 2008 10:24 am
by edh
I'm not seeing any crashing. I tried a few things, increasing power, shooting until the smoke rolled outta the guns. Smashing head-on into the pac-y guys and breaking into the space beyond. Shooting all the asteroids.

No crashes.

Re: Random crashes

PostPosted: Thu Feb 28, 2008 11:40 am
by DilloDude
It seems to mostly happen when I do something like
  • click 'Game Mode'
  • exit Game Mode
  • click 'save'
  • add a script
and other things like that.
By the way, what OS are you using?

Re: Random crashes

PostPosted: Thu Feb 28, 2008 2:14 pm
by edh
I'm in XP an I have the 1.3.9a version of GE Pro (or whatever it's called when you pay Makslane and can export to more than just Windows.)

Re: Random crashes

PostPosted: Thu Mar 06, 2008 2:48 am
by D.caaz
ok now i saved and it crashed whats with that?

Re: Random crashes

PostPosted: Thu Mar 06, 2008 2:48 am
by D.caaz
but it was with my project

Re: Random crashes

PostPosted: Fri Mar 07, 2008 10:00 am
by DilloDude
I think I've sort of fixed the problem. I ended up starting a new game, then merging the old one in. Then I had to change the stuff which merging didn't load. I still had the problem so i don't think that helped. Then I removed 'sounds' from global code and instead put another page with the same function only just returning 1 or doing nothing. That seemed to work. In the end all I've changed is the sound array stuff. Stopped using the channel - 1 (just using channel) I also changed the size of the array and the max number of similtaneous sounds. So far, I haven't had any problems.
Now I need another excuse to not do any more work... :D :wink: