Frictional Games Forum (read-only)
Script Error - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Script Error (/thread-13390.html)



Script Error - GoranGaming - 02-17-2012

Hi!

I've been working on my custom story for 1 and a half month now. But yesterday, when I added my fourth monster script, I got a script error:

FATAL ERROR: Could not load script file 'custom_stories/MYSTORYSECRETNAME/maps/01.hps'!
main (450, 2) : ERR : Unexpected end of file

My file is ending with:


void OnLeave()
{
StopMusic(1, 1);
SetupLoadScreen("LoadingScreens", "LoadingScreen_1", 1, "game_loading_strappado.jpg");
}

I've checked the whole file, there is no errors, I am 100 % sure!

Can anyone help me? If you need I will send the script file. Rolleyes

Script link:

http://www.mediafire.com/?7rwxojmhnw8389r



RE: Script Error - Your Computer - 02-17-2012

(02-17-2012, 06:39 PM)GoranGaming Wrote: I've checked the whole file

We need to check it all as well.


RE: Script Error - GoranGaming - 02-17-2012

(02-17-2012, 06:42 PM)Your Computer Wrote:
(02-17-2012, 06:39 PM)GoranGaming Wrote: I've checked the whole file

We need to check it all as well.
There you go, the script Smile


RE: Script Error - Your Computer - 02-17-2012

You have a single quote at the end of AddUseItemCallback in OnStart.


RE: Script Error - GoranGaming - 02-17-2012

(02-17-2012, 06:54 PM)Your Computer Wrote: You have a single quote at the end of AddUseItemCallback in OnStart.
Thank you so much!!! I love you (No gay) Big Grin