Need help with Critical Error [SOLVED]

Started by israelbdr, Fri 25/10/2019 21:57:50

Previous topic - Next topic

israelbdr

So, I was begining to learn AGS and was programming my first game and made a "first-person" character change rooms, but after putting the script, it wont launch the game anymore.

It just gives me this message:
ags 0xC00000094 occurred at ACWIN.EXE at EIP = 0x00052330F ; program pointer is -17, ACI version 3.4.3.1, gtags (0,0)

What am I doing wrong ? ???

Crimson Wizard

This kind of error means there's a mistake in AGS itself.
Error Code 94 is "division by zero".

Do you remember what changes did you do last? Is it acceptable for you to send your game to me to investigate?


Crimson Wizard

Oh I see, your inventory window has ItemWidth and ItemHeight = 0. These must have positive value.
When calculating number of rows and columns AGS divides window size on item size parameter, and this leads to division by zero error.

But AGS should take that into account too, this is something that has to be fixed in the engine as well.

israelbdr

Your solution worked! Thanks for the help, will modify the post to show the [SOLVED] thingy

SMF spam blocked by CleanTalk