Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Big Nerd on Sat 27/01/2007 19:29:44

Title: Illegal exeption when Inventory button pressed (SOLVED)
Post by: Big Nerd on Sat 27/01/2007 19:29:44
While I was testing my game, I pressed the inventory button on the GUI and the following error message appeared:
 
QuoteIllegal exception
----------
An Illegal exception 0x0000005 occured in ACWIN.EXE at EIP = 0x00472148 ; program pointer is +6, ACI version 2.72.920, gtags (45,36)

What should I do?

Edit by strazer: Please post error messages in clear text so show up in the forum search!
Title: Re: Illegal exeption when Inventory button pressed
Post by: Pumaman on Sat 27/01/2007 21:25:44
Are you using the default built-in inventory or a custom one? If it's the former, have you deleted any of the inventory graphics?
Title: Re: Illegal exeption when Inventory button pressed
Post by: Big Nerd on Sat 27/01/2007 23:12:45
I'm using a custom one. I don't now if it matters but I'm using the "Inventoryscreen ()" scripting command.
Title: Re: Illegal exeption when Inventory button pressed
Post by: Pumaman on Sun 28/01/2007 00:32:26
The InventoryScreen command brings up the default interface, if you've made your own GUI then you need to display that instead.
Title: Re: Illegal exeption when Inventory button pressed
Post by: Big Nerd on Sun 28/01/2007 13:01:45
Thank's for the help. I did what you said and it worked. Thank's again CJ.