I've once again gone back to completing my loooooong overdue game. I've tracked the problem down to an error which happens in room 301, the title screen. At first it was working, then something somewhere changed, now it's throwing this error:
Code: ags
Please help. I have the associated dump file.
Seems to be an error inbetween the room_Load() and room_AfterFadeIn() functions:
Code: ags
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00421C10; program pointer is +32, engine version 3.6.2.11, gtags (9762,241)
Please help. I have the associated dump file.
Seems to be an error inbetween the room_Load() and room_AfterFadeIn() functions:
function room_Load()
{
cJulius.Transparency=100;
gIconbar.Visible=false;
cJulius.x=2000;
cJulius.y=2000;
mouse.Visible=false;
object[0].Transparency=100;
object[1].Transparency=100;
object[2].Transparency=100;
object[3].Transparency=100;
object[4].Transparency=100;
object[6].Transparency=100;
object[7].Transparency=100;
object[8].Transparency=100;
bool AreSaveGames=false;
for (int cnt=1;cnt<=50;cnt++) {
if (File.Exists(String.Format("$SAVEGAMEDIR$/agssave.%03d.lociv",cnt))) {
AreSaveGames=true;
break;
}
}
BlockStartMenuLoadButton=!AreSaveGames;
oSmoke.SetView(345); <-- exception here, or
}
function room_AfterFadeIn()
{
oSmoke.Animate(0, 2, eRepeat, eNoBlock, eForwards); <-- here, or
FadeInControls_startup(); <-- here, depending on the compiler's mood
mouse.Visible=true;
}