Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Hobbes on Fri 01/01/2010 23:28:50

Title: Unexpected error which I can't figure out [SOLVED, kinda...]
Post by: Hobbes on Fri 01/01/2010 23:28:50
So I've recently taken up coding in AGS again. Since it's been several years and the last version was 2.62, it's quite a switch to work with 3.1.

I've started a new game with the GUI template of the Verb Coin. It's been working wonderfully, but now I get a really weird error whenever I'm compiling.

Room 1 is an empty room, but when I compile, the compiler halts with this code:

Error (line 80): unexpected '4' in File ASCII Quick Converter.ash

I didn't even touch this script, which worked fine until a few hours ago. What happened in that time? I added all the rooms I'd need for the game and loaded in the backgrounds. That's it! And suddenly it stopped functioning...

Anyone have a clue what happened here?

-------

Never mind! By disabling line 80 (which only shows the W character), things are working flawlessly again!

It is a weird bug, though...
Title: Re: Unexpected error which I can't figure out [SOLVED, kinda...]
Post by: SSH on Sat 02/01/2010 11:11:24
maybe you created a character or view with the same name as something in the file which automatically creates a #define of the character or view name in uppercase to the char/view number.

Welcome back, by the way! Still awaiting Buccaneer 2 :)