Illegal exception encountered when moving from one room to another

Started by , Mon 12/03/2007 04:25:19

Previous topic - Next topic

MaeveGlaistig

I've been working on a new game, and I've been having a problem with receiving the following illegal exception error when the player moves between two specific rooms:

"An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0043F5FC ; program pointer is +72, ACI version 2.72.920, gtags (0,63)

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."

I browsed the forums and found several similar problems, but for most of them the fix seemed to be to upgrade to the 2.72 version; since I already have that, I'm not quite sure what to do.  I've tried removing and replacing the command to move between rooms and turning the sound off and on as was also suggested in some threads, but the error persists.  Does anyone have any light to shed on this?

I'm afraid that this is my first game working with AGS, so while the scripting language isn't overly complex, I am still a beginner and likely to get lost if things get too technical.  Sorry for the inconvenience.   :-\

Gilbert

Can you post the part of codes that you used to change rooms here, so we can investigate?

Pumaman

Alternatively, if your game is relatively small and you can upload it for us to take a look at, that'd be good too.

MaeveGlaistig

Unfortunately, here my lack of experience doesn't help me out...  I didn't make any custom changes to the scripting, just used the room interaction function menus to make the character move (i.e., Interaction on click/Player goes to another room/Room11).  Specifically, the new room number is 11 and the offset value is 0.

Is there somewhere specific to upload the game to, or do I need to find my own hosting?

Pumaman

It's very strange, because you shouldn't be able to crash AGS by doing something that simple. If you use the "Ctrl+X" debug key to teleport straight into the problem room, does it still crash?

MaeveGlaistig

Yes, it does.  I know the room I'm trying to move to doesn't have any crippling error that I'm aware of, since I can start the character there with absolutely no problems; in fact, I can have the character walk in from the other "adjacent" room and there's no problem.  It's only when coming from the one room that it crashes.  The room script file is empty, and the only commands come from the basic menu functions.

Maybe I should try deleting the room and replacing it?

Pumaman

Perhaps uploading the game is the best idea -- if you could zip all the files up, then you can use the AGS hosting service here:
http://www.americangirlscouts.org/agsuploads/

to upload it.

MaeveGlaistig

I'll try to get it zipped and loaded asap.

As an interesting side note, I tried making a duplicate room from scratch--whole new room, with the same background and text.  That one crashes, too.

SMF spam blocked by CleanTalk