Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: deltamatrix on Thu 29/03/2007 17:54:01

Title: Internal character defines Error (SOLVED)
Post by: deltamatrix on Thu 29/03/2007 17:54:01
I got this error when attempting to save my room:

There was an error compiling your script. The problem was:
In: 'Internal character defines'
Error (line 70): Expected ',' or ';', not 'Ring'
Do you want to fix the script now? (Your room has not been saved).

Then I get this message:

The error occured in an internal AGS script. This should never happen; try re-installing the latest version of AGS.


Ok, all I really did was add an object to a room. Then it wouldn't save. I'm confused. Whats going on with this weird error?
Title: Re: Internal character defines Error
Post by: Ashen on Thu 29/03/2007 18:28:46
What is line 70?

I'm not sure how just adding an object could cause that - did you add / edit any interactions as well?
Title: Re: Internal character defines Error
Post by: deltamatrix on Thu 29/03/2007 18:42:01
Line 70 of some sort of 'internal script' apparently. Nothin wrong with MY scripts.

No interactions were added. The object has been deleted and now I can't save any room at all
Title: Re: Internal character defines Error
Post by: SSH on Thu 29/03/2007 18:48:08
What objects, characters and views have you added recently? I bet one of them has the same name as some built-in AGS thing, or has a semi-colon in it or something. Have you anything called "Ring", or with "Ring" in its title? try deleting its name and re-typing it without any odd characters.
Title: Re: Internal character defines Error
Post by: deltamatrix on Thu 29/03/2007 18:55:55
Aha. Thanx for explaining wot the error actually means. Now I have fixed it. It was an illegal space character in the script name of an inventory object.

Thanx