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
Need help finding error in script
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#1
Need help finding error in script

I've been taking a break from working on my custom story for about a week and now when I'm working again I get a crash when I try to start it. I'm gonna paste the entire contents of the script file, I'm guessing the problem is just some tiny stupid thing that someone will find easily, but I've been searching through it multiple times and can't find it. It's probably just a missed ")" or ";" something. Please don't read what the scripts do all that carefully as it might spoil some if you're planning on playing my custom story when it's released.

Edit: Script removed from here.

Any help is appreciated.

Edit: Here's the error, which is probably the most f*cked error I've ever seen.
[Image: gp8HLl.jpg]

Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 02-09-2012, 10:53 AM by Shadowfied.)
02-09-2012, 10:31 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Need help finding error in script

You have a / on line 370

02-09-2012, 10:36 AM
Find
oscar1007 Offline
Member

Posts: 64
Threads: 24
Joined: Oct 2011
Reputation: 0
#3
RE: Need help finding error in script

(02-09-2012, 10:31 AM)Shadowfied Wrote: I've been taking a break from working on my custom story for about a week and now when I'm working again I get a crash when I try to start it. I'm gonna paste the entire contents of the script file, I'm guessing the problem is just some tiny stupid thing that someone will find easily, but I've been searching through it multiple times and can't find it. It's probably just a missed ")" or ";" something. Please don't read what the scripts do all that carefully as it might spoil some if you're planning on playing my custom story when it's released.


Any help is appreciated.
This probably aint causing the crash but shouldn't you have an item in here?

RemoveItem(asItem); ?

Money can't buy you happiness. But I rather cry in my ferrari.

PROJECT:
http://www.moddb.com/mods/oscar1007
(This post was last modified: 02-09-2012, 03:24 PM by oscar1007.)
02-09-2012, 10:37 AM
Find
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#4
RE: Need help finding error in script

(02-09-2012, 10:36 AM)flamez3 Wrote: You have a / on line 370
Line 370? Can you show me more specifically? There's only 194 lines and I've searched for / but it's only in the debug comment and for the sound.

(02-09-2012, 10:37 AM)oscar1007 Wrote:
(02-09-2012, 10:31 AM)Shadowfied Wrote: I've been taking a break from working on my custom story for about a week and now when I'm working again I get a crash when I try to start it. I'm gonna paste the entire contents of the script file, I'm guessing the problem is just some tiny stupid thing that someone will find easily, but I've been searching through it multiple times and can't find it. It's probably just a missed ")" or ";" something. Please don't read what the scripts do all that carefully as it might spoil some if you're planning on playing my custom story when it's released.



Any help is appreciated.
This probably aint causing the crash but shouldn't you have an item in here?

RemoveItem(asItem); ?
RemoveItem(asItem); removes the item which was just used. No need to specify it.


Current - Castle Darkuan
Other - F*cked Map
(This post was last modified: 02-09-2012, 10:54 AM by Shadowfied.)
02-09-2012, 10:39 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Need help finding error in script

SetSwingDoorLocked takes three arguments.

Tutorials: From Noob to Pro
02-09-2012, 10:46 AM
Website Find
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#6
RE: Need help finding error in script

(02-09-2012, 10:46 AM)Your Computer Wrote: SetSwingDoorLocked takes three arguments.
Thanks! Fixed now.

Current - Castle Darkuan
Other - F*cked Map
02-09-2012, 10:52 AM
Find




Users browsing this thread: 2 Guest(s)