I just downloaded AGS 3.0.1 and tried running Demo Quest 3-1, but it gave me an error.
In the Message column:
Error (line 377): '-' is already defined
In the File column:
GlobalScript.ash
In the Line column:
377
Here's that line of code:
writeprotected int X; // Player position in new room
And here's the lines around it:
struct AgsTerminal {
// Public members
writeprotected int DoorSpr; // Sprite to display behind door
writeprotected int CrackSpr; // Sprite to display in wall gap
writeprotected int Exists; // True if room actually exists
writeprotected int X; // Player position in new room
writeprotected int Y;
import function Set(int DoorSpr, int CrackSpr, int X, int Y, int Exists=true);
};
From this post (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34300.msg448205#msg448205):
Quote from: Pumaman on Mon 21/04/2008 20:33:49
This is caused by the following lines in the demo game GlobalScript.ash, lines 337-341:
#define X-Terms -24000
#define Y-Terms -25000
#define Z-Terms -26000
If you delete those lines, the game should run fine. I'll get it fixed for the next release.
Thanks!
Thanks for the solution, please update the release with this fix (and make sure bump the release number too) at your earliest convenience! Regards,