Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: placyd on Wed 29/06/2005 09:13:43

Title: Illegal exceptions (SOLVED)
Post by: placyd on Wed 29/06/2005 09:13:43
Hi!
Ive just finished my new game, and it worked fine in my computer, but when someone else tried it, the game crashed, and sent this message:

Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x004CA204 ; program pointer is +335, ACI version 2.62.772, gtags (0,0)

What could be the problem?
???
Please help!
Title: Re: Illegal exceptions
Post by: Pumaman on Wed 29/06/2005 18:28:06
Can you provide more information? What was happening in the game at the time of the crash?
Title: Re: Illegal exceptions
Post by: placyd on Wed 29/06/2005 20:21:54
At the beginning of the game when you would do anything - walk, or interact, look -  the game crashes and quits with this message.
If you set the downgrade to 16 in the setup, the game works....
But another problem - when you look at an inventory item the game freezes... :(
But in the script there is just a simple displayspeech command.... ???
Title: Re: Illegal exceptions
Post by: placyd on Wed 29/06/2005 20:40:07
I have a custom inventory and the look button script is:
SetActiveInventory(-1);
SetCursorMode(MODE_LOOK); 

it hink this is the source of the problem  :-\
Title: Re: Illegal exceptions
Post by: Pumaman on Wed 29/06/2005 21:50:09
Is the anti-aliasing option enabled in Setup? If so, can you ask them to un-tick it and try that way?
Title: Re: Illegal exceptions
Post by: placyd on Thu 30/06/2005 11:36:35
yes it is enabled, but when its off the graphics will be low quality...
Title: Re: Illegal exceptions
Post by: strazer on Thu 30/06/2005 12:30:00
Yes, but please let them try anyway so Chris can at least determine the cause of the problem.
Title: Re: Illegal exceptions
Post by: placyd on Thu 30/06/2005 16:37:54
ok the crash problem solved with these options...but when i look at something in the inventory the game stucks in - the speech won't disappear and I cant continue the game.

I have a custom inventory and the look button script is:
SetActiveInventory(-1);
SetCursorMode(MODE_LOOK); 

any suggestion?
Title: Re: Illegal exceptions
Post by: Pumaman on Thu 30/06/2005 19:30:37
Is your inventory a popup modal GUI? If so, bear in mind that it pauses the game so that speech/etc won't run properly. Try making it a Normal GUI (and then switching it off in game_start).
Title: Re: Illegal exceptions
Post by: placyd on Fri 01/07/2005 12:25:33
OK thanx its working now!  ;D