Results 1 to 6 of 6

Thread: SMART help pl0x

  1. #1
    Join Date
    Mar 2009
    Location
    Illinois
    Posts
    292
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SMART help pl0x

    Ok so i'm new to SMART and I think i've encountered my first problem.

    SCAR Code:
    program New;
    {.include srl/srl/misc/smart.scar}
    {.Include srl/srl.scar}
    begin
    SMARTSetUp('world38', True, True, False);
     SetTargetDC(SMARTGetDC);
     SetUpSRL;
    end.
    And then I get this error:
    Failed when compiling
    Line 5: [Error] (16320:41): Invalid number of parameters in script

    While in Scar C:\Program Files\Scar 3.20\Includes\Srl\Srl\Misc\SMART
    It Clearly stats:
    SCAR Code:
    (worldnumber: integer; members, signed, superdetail: boolean)
    I'mm pretty sure that I got all of them right but if I'm missing something please tell me. I also got this off the S.M.A.R.T. Tutorials.

  2. #2
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    worldnumber: integer;
    so
    SCAR Code:
    SMARTSetupEx(38, True, True, False);

  3. #3
    Join Date
    Mar 2009
    Location
    Illinois
    Posts
    292
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program New;
    {.include srl/srl/misc/smart.scar}
    {.Include srl/srl.scar}
    begin
    SMARTSetUp(38, True, True, False);
     SetTargetDC(SMARTGetDC);
     SetUpSRL;
    end.

    Failed when compiling
    Line 5: [Error] (16320:34): Invalid number of parameters in script

    Thanks for trying, any other ideas?

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

    Default

    He gave you the correct code, but you failed to realize that it changed. I'd suggest copying and pasting the code and also making sure you actually read what is written before making a post complaining about how it doesn't work again.
    :-)

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SmartSetupEx not SmartSetup

  6. #6
    Join Date
    Mar 2009
    Location
    Illinois
    Posts
    292
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Method View Post
    He gave you the correct code, but you failed to realize that it changed. I'd suggest copying and pasting the code and also making sure you actually read what is written before making a post complaining about how it doesn't work again.
    Look at my un-edited post saying "thanks for trying" not "you stupid idiot!!!" I never complained....

    Thank you LordSaturn for helping me and just not realizing that you put the "ex" there, thanks 99_ for clearing it up.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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