Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: khnum on Mon 17/12/2007 16:25:37

Title: [SOLVED] Error during interactions while moving cursor or clicking
Post by: khnum on Mon 17/12/2007 16:25:37
Well, my game crashes almost randomly, when, while the player character is walking before going to interact with something, i move the cursor many times around the screen, or if i click (it can be the first click or the 20th, like i said it happens randomly), giving this error:


---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x0043109E ; program pointer is +22, ACI version 3.00.964, gtags (4,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.

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


I'm using AGS 3.0 RC2, and i wrote the entire script in RC1 (i'm modifying Electroshocker's Verbcoin Module), and i'm sure the problem is caused by the script, but since i can't understand what the problem actually is, i can't understand where it is...


EDIT:

I can't reproduce the error using RC1, could this be a problem of the RC2? (by the way, RC1 doesn't open RC2 rooms, but i don't think it's a great problem, is it?)
Title: Re: error during interactions while moving cursor or clicking
Post by: Pumaman on Mon 17/12/2007 20:17:08
Can you please upload the CrashInfo.dmp file for me to investigate?
Title: Re: error during interactions while moving cursor or clicking
Post by: khnum on Mon 17/12/2007 20:53:48
sure  ;)
Here it is (http://www.mediafire.com/?btb5gwjc63t)
Title: Re: error during interactions while moving cursor or clicking
Post by: Pumaman on Wed 19/12/2007 19:12:46
Does your character have at least one frame in each of the loops in his walking view?
Title: Re: error during interactions while moving cursor or clicking
Post by: khnum on Wed 19/12/2007 20:47:32
Quote from: Pumaman on Wed 19/12/2007 19:12:46
Does your character have at least one frame in each of the loops in his walking view?

Yes. Actually i have only one loop per character, (i deleted the default ones), could this cause the problem?
Title: Re: error during interactions while moving cursor or clicking
Post by: Pumaman on Wed 19/12/2007 20:53:19
Yes, in fact AGS 3.0 should give you a warning when you compile the game if you do this...
Title: Re: error during interactions while moving cursor or clicking
Post by: khnum on Wed 19/12/2007 20:55:09
Well, my fault :p I did so because I don't have character animations yet... I'm going to try to add 3 loops

EDIT: It's running fine :D
Title: Re: SOLVED error during interactions while moving cursor or clicking
Post by: Pumaman on Thu 20/12/2007 19:30:36
Glad it's sorted :)