An editor crash with a simple walk to + changeroom

Started by Talkative_Finn, Fri 28/01/2011 14:33:13

Previous topic - Next topic

Talkative_Finn

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  
---------------------------

Talkative_Finn

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.

Khris


Talkative_Finn

  ProcessClick(mouse.x, mouse.y, mouse.Mode );

Pumaman

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?

SMF spam blocked by CleanTalk