Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ethan D on Sun 26/06/2011 03:31:36

Title: Fatal Syntax Error [Problem likely linked to operating system]
Post by: Ethan D on Sun 26/06/2011 03:31:36
The following syntax error will crash AGS WHILE editing. (I've included all the information I have so some may be irrelevant.)


Character* characterpointer
characterpointer = cCharacter;


If you try to reference the pointer you made on the first line without having a semicolon there as it should be the editor will crash the moment you hit the period key after referencing it.

This happens in any local or global script.

Here is the error report that was generated:

Description:
 Stopped working

Files that help describe the problem:
 C:\Users\Ethan\AppData\Local\Temp\WER1271.tmp.WERInternalMetadata.xml
 C:\Users\Ethan\AppData\Local\Temp\WER5E31.tmp.mdmp

Read our privacy statement online:
 http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
 C:\Windows\system32\en-US\erofflps.txt

Edit:  My computer is running on Windows 7.
Title: Re: Fatal Syntax Error (While Editing, not at run-time)
Post by: monkey0506 on Sun 26/06/2011 03:46:31
You haven't made mention of your AGS version. I'm running AGS 3.2.2 Beta (from the SVN) on Windows 7 and can't reproduce this.
Title: Re: Fatal Syntax Error (While Editing, not at run-time)
Post by: Ethan D on Sun 26/06/2011 04:07:11
I'm running version 3.2.0

Well, I guess the problem has been fixed then!

Thanks monkey.
Title: Re: Fatal Syntax Error (While Editing, not at run-time)
Post by: suicidal pencil on Sun 26/06/2011 04:08:46
I tried it. The editor didn't crash and when I tested it the only thing that happened was the editor bitching at me for not putting a semi-colon at the end of the line. Maybe AGS just had a sudden cardiac arrest?

AGS 3.2.1 on Windows XP SP2.

edit: dammit, you ninja'd me. So this problem only occurred once / you couldn't repeat it?
Title: Re: Fatal Syntax Error [Problem most likely solved as of Version 3.2.2]
Post by: Ethan D on Sun 26/06/2011 04:09:47
I replicated it many times with mine.  It's most likely the version I would think.
Title: Re: Fatal Syntax Error [Problem likely solved as of Version 3.2.2]
Post by: monkey0506 on Sun 26/06/2011 04:51:27
I also have 3.2.0 and still can't replicate this error.