AGS crashing every time at certain point in script

Started by Ethan D, Mon 09/03/2009 00:27:37

Previous topic - Next topic

Ethan D

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

Gilbert

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.

Pumaman

Yes, please post the script that causes this, and also if you could upload the CrashDump file that would be really useful.

Ethan D

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.


Trent R

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
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Ethan D

#5
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.

Dualnames

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"
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Gilbert


Ethan D


Ethan D

#9
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?

Dualnames

Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Pumaman

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?

Ethan D

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.

SMF spam blocked by CleanTalk