Need help finding error in script - 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: Need help finding error in script (/thread-13194.html) |
Need help finding error in script - Shadowfied - 02-09-2012 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. RE: Need help finding error in script - flamez3 - 02-09-2012 You have a / on line 370 RE: Need help finding error in script - oscar1007 - 02-09-2012 (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.This probably aint causing the crash but shouldn't you have an item in here? RemoveItem(asItem); ? RE: Need help finding error in script - Shadowfied - 02-09-2012 (02-09-2012, 10:36 AM)flamez3 Wrote: You have a / on line 370Line 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:RemoveItem(asItem); removes the item which was just used. No need to specify it.(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.This probably aint causing the crash but shouldn't you have an item in here? RE: Need help finding error in script - Your Computer - 02-09-2012 SetSwingDoorLocked takes three arguments. RE: Need help finding error in script - Shadowfied - 02-09-2012 (02-09-2012, 10:46 AM)Your Computer Wrote: SetSwingDoorLocked takes three arguments.Thanks! Fixed now. |