Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: 2guns on Sun 23/11/2008 19:16:08

Title: Fatal error
Post by: 2guns on Sun 23/11/2008 19:16:08
My computer crashed while i was saving my work today, and now when i try to test my game i recieve the following error.

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00423A2E ; program pointer is +379, ACI version 3.02.1025, gtags (1,0)

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.



Is there anything i can do to fix this?  I'd hate to have to restart my game.

Title: Re: Fatal error
Post by: Pumaman on Sun 23/11/2008 22:19:47
Since your computer crashed while saving the game, it's likely that one of the files has been corrupted.

Assuming that you have a backup copy of your game then restore it from that.

If not, try deleting the Compiled folder, then doing a Rebuild All in the editor. One possibility is that one particular room file is corrupt, so try setting the game to start in a different room and see if that helps.
Title: Re: Fatal error
Post by: 2guns on Mon 24/11/2008 00:05:12
Thanks for the reply, but it didn't work.. after rebuilding i got the same error.  If you or anyone else has any ideas, let me know, otherwise i guess i have to start re-upping sprites. Thanks again!
Title: Re: Fatal error
Post by: EKM on Mon 24/11/2008 17:09:14
It could be that the file got corrupted...

I had the same error just a few minutes ago...but my problem was with a sprite not being there and instead a black box. I just re-uploaded the sprite and my inventory works once I go up to the GUI area. So, I don't know...check all of your sprites and see if all of them are there. It might be a totally different problem though...but yeah.
Title: Re: Fatal error
Post by: Dualnames on Tue 25/11/2008 17:36:43
Just to help things out/or even complicate them more, I get the same style messages when for example I have a button , and created a function part code, then went to the global script and deleted it.(if that makes sense)
Title: Re: Fatal error
Post by: Pumaman on Wed 26/11/2008 18:45:19
Quote from: 2guns on Mon 24/11/2008 00:05:12
Thanks for the reply, but it didn't work.. after rebuilding i got the same error.  If you or anyone else has any ideas, let me know, otherwise i guess i have to start re-upping sprites. Thanks again!

If you want to upload the CrashDump file then I can probably identify what sort of data corruption is present. Does everything look ok in the editor? You can load in the first room and see all the objects and stuff?

QuoteJust to help things out/or even complicate them more, I get the same style messages when for example I have a button , and created a function part code, then went to the global script and deleted it.(if that makes sense)

That shouldn't cause the engine to crash, can you provide more details?