Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Error
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#1
Exclamation  Script Error

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

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
(This post was last modified: 02-17-2012, 06:47 PM by GoranGaming.)
02-17-2012, 06:39 PM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Script Error

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

We need to check it all as well.

Tutorials: From Noob to Pro
02-17-2012, 06:42 PM
Website Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#3
RE: Script Error

(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

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
02-17-2012, 06:47 PM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Script Error

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

Tutorials: From Noob to Pro
02-17-2012, 06:54 PM
Website Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#5
RE: Script Error

(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

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
02-17-2012, 06:57 PM
Website Find




Users browsing this thread: 1 Guest(s)