Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Yo Mama! on Tue 23/12/2003 19:23:03

Title: "Illegal exception" error
Post by: Yo Mama! on Tue 23/12/2003 19:23:03
After modifying my newly fixed GUI,  I decided to test the game. When I tried, it just went to a black screen and gave me this error message:
(http://img.villagephotos.com/p/2003-12/556043/error.JPG)
What does it mean and how do I fix it? The game doesn't work at all. After I press OK, it just shuts the game down.
Title: Re:"Illegal exception" error
Post by: Pumaman on Wed 24/12/2003 22:51:36
Ouch - I found the problem, it is a bug in AGS which occurs if you delete the default mouse cursor.

As a temporary workaround, import a new sprite (any sprite, it's never displayed) and change its sprite number to 2054 - that should stop the crash.

I'll get it fixed for the next version.
Title: Re:"Illegal exception" error
Post by: Yo Mama! on Wed 24/12/2003 23:58:36
NICE! It worked! Thanks a bunch.  ;D