Results 1 to 6 of 6

Thread: Always the same error for me :(

  1. #1
    Join Date
    May 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Always the same error for me :(

    Every time i try t orun a SCAR script of any kind i get this error

    Code:
    Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script C:\Documents and Settings\James\Desktop\[SRL4] QuickPowerMiner3.2 pro.scar
    obv the name of the script is interchangeable but any help would be much appreciated by this poor lost lil Scar noob :P

  2. #2
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    maybe in the script it has function function (says function twice) instead of just once. In scripts you make functions and then name them without spaces, so it would be

    Code:
    function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray;
    or what ever the functions name is and not

    Code:
    function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray;
    i never got that error before but by looking at the error name, seeing the word function twice makes me think that's what's wrong

    EDIT: if that's not the problem then you need to post the script and I'll look to see if I can find the problem.

  3. #3
    Join Date
    May 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well im not using my own scripts atm - reformatted my comp and trying to get others to work

    no matter what i use - any script, its the same error - i checked script and theres no repeated function function like that


  4. #4
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    You need to download SRL again .

    USE THE SEARCH BUTTON!

  5. #5
    Join Date
    May 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh thank you soooo much,

    sorry

    will do that first in future

  6. #6
    Join Date
    May 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    problem!

    I redownloaded SRL and still same error

    EDIT: fixed with computer restart

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •