Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: kaputtnik on Fri 13/05/2005 07:12:31

Title: Game chrashes when trying to test
Post by: kaputtnik on Fri 13/05/2005 07:12:31
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00420EEC ; program pointer is +6, ACI version 2.62.772, gtags (85,3)

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.

(Room 0 script line 7)

That line says "Wait (70);"

When I delete it, the error will move down some lines, to the next "Wait" command. On any line that contains "Wait", it will crash. I dind't tamper with any of the scripts, only added a new character. Any advice?

Title: Re: Game chrashes when trying to test
Post by: Gilbert on Fri 13/05/2005 07:19:45
Where did you put that Wait() functions?

You know, you can't execute functions outside, it's must be inside some event function.
Moreover, it's not allowed to use Wait() inside some particular functions like repeatedly_execute_always(), etc.,  check that also.
Title: Re: Game chrashes when trying to test
Post by: kaputtnik on Fri 13/05/2005 12:57:00
It all worked before, and I didn't change anything, that's the strangest thing.

I just found a backup of my game, I had saved it some days ago. It also won't work anymore:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x004D3759 ; program pointer is -3, ACI version 2.62.772, gtags (55,22)

---------------------------


And then I got the message, that the game engine doesn't seem to have shut down properly and I should post on the tech forum. Which I hereby did, again. Strange...
Title: Re: Game chrashes when trying to test
Post by: Pumaman on Fri 13/05/2005 19:37:30
Ok, well whatever the problem is, it certainly shouldn't crash like that.

Any chance you could upload the game for me to take a look at?
Title: Re: Game chrashes when trying to test
Post by: kaputtnik on Sat 14/05/2005 16:41:39
I don't know if this will be worth your time, meanwhile I've come to assume that this is a problem related to my computer. It works on the two other PCs I have tried, I have doneno change to the game at all, but suddenly it wouldn't work anymore. All the other games (or test I have saved so far)work fine.

I just thought that maybe this is a common and easy to fix problem, otherwise I wouldn't have asked. I'll just keep on developing the game on my notebook. If I really get into trouble I'll get back to your offer, alright?

Thanks :)