I've found 1 topic on this before but it has not helped.....
I make my cool L337 program
and hit F4 to compile... Its all fine, then I hit F5 to start it, play for about .67 seconds, and:
RUNTIME ERROR AT LINE [number]: SEVERE EXCEPTION.
Heres the portion that always is SEVERE EXCEPTION:
for number=1 to 30
if sprite exist(number)
if sprite collision(65000,number)
if mouseclick()=1 and uck=0
if bam(number)=2
inc othernumber
play sound 1
endif
sprite number,xx(number),yy(number),5
bam(number)=5
uck=1
endif
endif
endif
next number
The code is a bit unorganized, and may not be the most efficent or proffesional way of getting the job done, but it does what I need it to... Most of the time...
Except for the Severe Exception, the part that it highlights is:
if sprite collision(65000,number)
It doesnt do this all the time, and if i restart DB (classic) then it might work fine, But this just gets SO ANNOYING.
Any Advice? Is it a bug in DBC? Ahh....