Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Wed 16/11/2005 15:33:38

Title: AGWIN.EXE error message
Post by: on Wed 16/11/2005 15:33:38
i get this message when i look at a controlpanel in my game:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00486416 ; program pointer is +155, ACI version 2.70.864, gtags (0,36)

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.

in Global script (line 60)


Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK   
---------------------------




at the time i was adding a "hmm, i need to enter a code to open the door..." message that my main character says if you look at it...
what does it mean?
thank you :)


EDIT: btw, this is my first project in AGS and i was following a tutorial when it happened.
Title: Re: AGWIN.EXE error message
Post by: SSH on Wed 16/11/2005 15:35:25
Can you post what line 60 of your global script is, too, please?
Title: Re: AGWIN.EXE error message
Post by: on Wed 16/11/2005 19:05:44
um, how do i find the global script? i checked the help file but i couldnt find out how to show it....
Title: Re: AGWIN.EXE error message
Post by: strazer on Wed 16/11/2005 19:07:55
Menu "Script" -> "Edit global script...".
Please also post some of the other lines before and after line 60 (exactly).
Title: Re: AGWIN.EXE error message
Post by: on Wed 16/11/2005 19:57:32
ok thanks. here are lines 53-66:

#sectionstart on_mouse_click  // DO NOT EDIT OR REMOVE THIS LINE
function on_mouse_click(MouseButton button) {
  // called when a mouse button is clicked. button is either LEFT or RIGHT
  if (IsGamePaused() == 1) {
    // Game is paused, so do nothing (ie. don't allow mouse click)
  }
  else if (button == eMouseLeft) {
    ProcessClick(mouse.x, mouse.y, mouse.Mode );
  }
  else {   // right-click, so cycle cursor
    mouse.SelectNextMode();
  }
}
#sectionend on_mouse_click  // DO NOT EDIT OR REMOVE THIS LINE




its generated stuff, so i dont understand why it should be wrong...
Title: Re: AGWIN.EXE error message
Post by: Alynn on Wed 16/11/2005 20:00:30
Well my guess is that we probably have to see the interaction code for look... since that looks like pregen with no changes....

At least at this point...
Title: Re: AGWIN.EXE error message
Post by: strazer on Wed 16/11/2005 21:13:36
Yes, please post the code or interaction editor actions you have for looking at the control panel.
Title: Re: AGWIN.EXE error message
Post by: Pumaman on Wed 16/11/2005 22:48:58
Alternatively, if you have somewhere you could upload your game, that would be helpful.

The error probably is some sort of mistake you've made, but AGS should handle it much better than that. Hopefully if we can find the problem then I can fix AGS to handle it better in future.
Title: Re: AGWIN.EXE error message
Post by: on Thu 17/11/2005 06:17:23
i appreciate your help so far. but i have to leave on a school trip and wont be back before monday...
thanks for your help anyway :)