Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: guv on Fri 17/10/2008 09:48:16

Title: Failed to save room room3.crm; details below
Post by: guv on Fri 17/10/2008 09:48:16
when i try to preview my game i get this message
Failed to save room room3.crm; details below
room3.asc(-10): Runtime error: unexpected eof
my script looks like this

cFreddy.Say("yeah...but i don't even know why ive been sent here");
csarah.Say("you're supposted to open this shop up...all you need is 20 gold coins and you have a shop to start you new life...");
cFreddy.Say(so...where do i get coins???");
cpennycsd.Say("well sell something i guess...here sell this...i don't need it.");
cFreddy.AddInventory(isuitcase);
}
but i can't figure out whats wrong...any ideas???
Title: Re: Failed to save room room3.crm; details below
Post by: guv on Fri 17/10/2008 09:55:24
dw about answering i just spotted it...:)
Title: Re: Failed to save room room3.crm; details below
Post by: Matti on Fri 17/10/2008 11:07:12
I bet you forgot a bracket somewhere. Is there a { to the } in you script?
Title: Re: Failed to save room room3.crm; details below
Post by: Khris on Fri 17/10/2008 11:24:00
No, an eof error is (almost?) always an open string, in this case there's a " missing at the beginning of the 3rd line.
Title: Re: Failed to save room room3.crm; details below
Post by: Matti on Fri 17/10/2008 11:27:15
Ah, you're right.

Never had an eof error..
Title: Re: Failed to save room room3.crm; details below
Post by: Dualnames on Fri 17/10/2008 13:04:01
cFreddy.Say(so...where do i get coins???");

He forgot to put the brace there.