Hey I was working on my game and I was checking to see if I had done the scripting right and out of nowhere the game closed itself and this appeared:
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x004230B8 ; program pointer is +72, ACI version 3.12.1074, gtags (66,17)
AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and post the details on the AGS Technical Forum.
Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
An error file CrashInfo.dmp has been created. You may be asked to upload this file when reporting this problem on the AGS Forums. (code 0)
---------------------------
OK
---------------------------
I checked in my script to see if that was the problem and I dont see anything wrong and I dont even remember changing anything there before I started testing it so I think it could be a bug in AGS.
If anyone can help me out please let me know soon so I can get back to my game.
-Thanks
Can you post the part of the script around which the crash happens? Otherwise it'd be very difficult for us to check whether it's indeed a bug or an error in the script.
Yes, please post the script that causes this, and also if you could upload the CrashDump file that would be really useful.
The actual section of the code that it messes up at is
wait(50);
cNathan.ChangeRoom(9, 134, 156);
Im not sure if its crashing at the room change or right before it but the screen definately fades out before it crashes and it doesnt fade back in it just closes.
As for the crash fileI'm not sure where to find it I looked but I have no idea where it could be.
What function is the code in? A hotspot? rep_exec?
Also, the file you're looking for is called CrashInfo.dmp, like the error says. I think it's in your game's directory.
~Trent
Its under a rep_exec and it checks for five different variables for the script. The thing is it was working fine for a few weeks and I was just going through that room to check another section of the script and it messed up there, so I still dont know what went wrong.
Edit: I found the file but i dont know how to upload it.
Quote from: Float On on Tue 10/03/2009 00:43:37
Its under a rep_exec and it checks for five different variables for the script. The thing is it was working fine for a few weeks and I was just going through that room to check another section of the script and it messed up there, so I still dont know what went wrong.
Edit: I found the file but i dont know how to upload it.
Use rapidshare, megaupload, whatever, just google for "upload file"
Or, better:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=3584.0 (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=3584.0)
Just read the rules and don't upload non-AGS related junks there.
I tried uploading it that way it didnt work.
Alright I got it on rapidshare.
http://rapidshare.com/files/208109827/CrashInfo.3.12.1074.dmp.html
Anybody have any idea what i should do?
Re-hosted it here, in case it's needed.
HERE (http://ledzepforever.googlepages.com/CrashInfo.3.12.1074.dmp)
Hmm this is strange, can you make sure that you haven't deleted the sprites for any objects in the new room that it is going into?
If you're still having the problem, could you please upload the game EXE file from the Compiled folder after building the game so that I can investigate this further?
Thank you so much for your help I checked the views for the characters and one for some reason had lost its sprite (not sure how) but anyway I can now actually work on this.
-Thanks again.