Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Talkative_Finn on Fri 28/01/2011 14:33:13

Title: An editor crash with a simple walk to + changeroom
Post by: Talkative_Finn on Fri 28/01/2011 14:33:13
So, this is what I got after I made a simple object function: When interacting with a door the character would first Walk to a given spot and then ChangeRoom:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x0042D962 ; program pointer is +6, ACI version 3.12.1074, gtags (2,29)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and post the details on the AGS Technical Forum.

in "GlobalScript.asc", line 214


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

An error file CrashInfo.dmp has been created. You may be asked to upload this file when reporting this problem on the AGS Forums. (code 0)
---------------------------
OK  
---------------------------
Title: Re: An editor crash with a simple walk to + changeroom
Post by: Talkative_Finn on Fri 28/01/2011 14:57:29
Also, I made a script for a hotspot as follows:

function hHotspot2_WalkOn()
{
player.ChangeRoom(1, 375, 256);
}

And this makes the game go to room 7, for some reason. I'll check room 1 scripts just to make sure there is nothing that redirects me to room 7.
Title: Re: An editor crash with a simple walk to + changeroom
Post by: Khris on Fri 28/01/2011 15:32:57
What's line 214 of Global.asc?
Title: Re: An editor crash with a simple walk to + changeroom
Post by: Talkative_Finn on Fri 28/01/2011 15:54:09
  ProcessClick(mouse.x, mouse.y, mouse.Mode );
Title: Re: An editor crash with a simple walk to + changeroom
Post by: Pumaman on Sun 30/01/2011 19:43:18
Strange, you shouldn't get any errors like that.

Could you upload the game files so that we can take a look and see what might be wrong?