Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Miori on Sun 14/06/2009 11:28:00

Title: _AutoGenerated.ash(460): Error (line 460): Expected ',' or ';', not 'ö'
Post by: Miori on Sun 14/06/2009 11:28:00
Please help me, this failure suddenly appeared and i can't find a mistake in the game  :(

I searched wether there is an ö in the scripts i changed since last game export, but could not find one.
What can i do?
Title: Re: _AutoGenerated.ash(460): Error (line 460): Expected ',' or ';', not 'ö'
Post by: Dualnames on Sun 14/06/2009 14:35:25
Quote from: Miori on Sun 14/06/2009 11:28:00
Please help me, this failure suddenly disappeared and i can't find a mistake in the game  :(

I searched wether there is an ö in the scripts i changed since last game export, but could not find one.
What can i do?

Go to line 460 of th module AutoGenerated script header and add a ';'
Title: Re: _AutoGenerated.ash(460): Error (line 460): Expected ',' or ';', not 'ö'
Post by: Khris on Sun 14/06/2009 15:40:29
That's no module, it's a script generated by AGS before compile time.
Look through the names of global variables, views, buttons, etc., one of them's got an ö in them.
Title: Re: _AutoGenerated.ash(460): Error (line 460): Expected ',' or ';', not 'ö'
Post by: Miori on Sun 14/06/2009 15:52:13
i found it i found it  ;D

one of my buttons in a gui was named körper XD i have to watch out a bit more for such mistakes  :o

thank you very much  ;D
Title: Re: _AutoGenerated.ash(460): Error (line 460): Expected ',' or ';', not 'ö'
Post by: Pumaman on Sun 14/06/2009 23:08:59
This is a good point, the editor should restrict script names to allowable characters.