AGWIN.EXE error message

Started by , Wed 16/11/2005 15:33:38

Previous topic - Next topic

nachjo chip

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.

SSH

Can you post what line 60 of your global script is, too, please?
12

nachjo chip

um, how do i find the global script? i checked the help file but i couldnt find out how to show it....

strazer

Menu "Script" -> "Edit global script...".
Please also post some of the other lines before and after line 60 (exactly).

nachjo chip

ok thanks. here are lines 53-66:
Code: ags

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

Alynn

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

strazer

Yes, please post the code or interaction editor actions you have for looking at the control panel.

Pumaman

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.

nachjo chip

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 :)

SMF spam blocked by CleanTalk