While running an animation my game gives me this message and shuts down...
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x004C1CB4 ; program pointer is +5, ACI version 2.60.698, gtags (44,279)
AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.
Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK
---------------------------
Hmmm are you sure you're not running the animation from a non-existing view or loop?
Yes, I am..
It stops in the middle of the animation, so it'd have to be finding, both the view, and the loop...
Did you renumber the sprites?
Do you use sound with the frames?
Is the animation blocking or are other commands executed in the background which could cause the error?
If I remeber right, the program pointer +5 thingy points to sprites... CJ, we need a chart about teh program pointer meanings :P
So..what should I do?
You probably need to wait until pumaman returns to figure out what that really is (you may also backup the game and experimant with your settings and try to figure it out yourself, or if the game is not large, you can upload it to webspace for us to check), but he'll not be back probably before the end of the month.
I once had the same problem, on the forums i found a way of fixing this, it involved chagne the sprite number of something. everytime i create a new game i get the same error. I have forgotten how to fix it.
Maybe someone else can help, thats all i know, i hope this helps.
I found out how to fix it, this was posted on a previous thread:
=================================================
Is your game in 800x600 resolution, but your background smaller than 800x600 (e.g. 800x500), so that there is space for a GUI below the scenery?
I got a similar exception when testing this resolution:
http://www.agsforums.com/yabb/index.php?board=2;action=display;threadid=10718;start=msg129650#msg129650
The problem should be fixed in the version RC1.
===================================================
What you have to do is make sure your resolution is the same as your rooms. Try experimenting with the different resoultions until u fix the problems. I hope this helps.