Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Sat 21/06/2003 19:14:45

Title: fatal error with own GUI (SOLVED)
Post by: on Sat 21/06/2003 19:14:45
Hi CJ,

I'm creating my own adventure and now I'm working on the gui. When I was ready it works fine but then came this error message:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0040F7EB ; program pointer is +379, ACI version 2.55.560, gtags (1,0)

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.

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

When I export my gui and use another the game will run.
What's the problem???
Title: Re:fatal error with own GUI
Post by: Pumaman on Sun 22/06/2003 19:14:05
At what stage exactly does the crash happen? Did you delete any sprites that are on the GUI?
Title: Re:fatal error with own GUI
Post by: on Sun 22/06/2003 19:30:42
The crash happens when the game starts.
I don't delete sprites of my own gui.
Title: Re:fatal error with own GUI
Post by: on Sun 22/06/2003 20:17:26
I think I have found the problem source:
fonts

I've diabled all functions with the font 1 and 2 (speech), change the @overhotspot@-font into 0 and it works.

There must be a problem with my fonts but I don't use other fonts than the defaults. I've reverted the fonts 1000 times to default but the fonts 1 and 2 wouldn't work.
Title: Re:fatal error with own GUI
Post by: Pumaman on Sun 22/06/2003 20:25:00
What text are you trying to display? Is the button or label fully within the GUI?
Title: Re:fatal error with own GUI
Post by: on Sun 22/06/2003 20:43:02
only a label that displays: "@overhotspot@"
with font0 the game will start correct
with the two other fonts it wont.
Title: Re:fatal error with own GUI
Post by: on Sun 22/06/2003 21:11:35
with the tut by lucasfan (mi1 I think) I have downloaded some fonts (agsfont0.ttf, agsfont1.ttf, agsfont2.ttf)

I have imported this font in my game, it works
I reseted to default, it works

only problem now: the speech text havn't a black corner

Sorry for wasting your time CJ.
Title: Re:fatal error with own GUI
Post by: on Mon 23/06/2003 19:28:43
I have solved my outline-font problem too
I have just confused somethig with the fonts

sorry, my failure  :-[