Results 1 to 7 of 7

Thread: smartparams

  1. #1
    Join Date
    Jan 2011
    Posts
    350
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default smartparams

    i keep getting for the past 3 days
    Simba Code:
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(279:145): Invalid number of parameters at line 278

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Scroll down until you see a line with a "-1" at the end of it. (should be one of the longer lines). Delete the ",-1" and save smartparams. then try running the script again.

  3. #3
    Join Date
    Jan 2011
    Posts
    350
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    thanks works great now.

  4. #4
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Np. Also, you may need to do this again if SRL updates. I just turn off auto-updating unless I start having problems.

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Np. Also, you may need to do this again if SRL updates. I just turn off auto-updating unless I start having problems.
    I think the update fixes it?
    My SMARTParams has a IFDEF for it, changing to -1 if needed.

  6. #6
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    I think the update fixes it?
    My SMARTParams has a IFDEF for it, changing to -1 if needed.
    Mine updated too but I still got the same error about parameters, so even though using SMART v8.0, I still had to remove the -1 before it ran.
    Solar from RiD.

  7. #7
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by Solar View Post
    Mine updated too but I still got the same error about parameters, so even though using SMART v8.0, I still had to remove the -1 before it ran.
    Only works if you have {$Define Smart8}. Most scripts just have {$Define Smart} to maintain compatibility with past and future Smart versions. Probably have to wait for the official release of Smart 8 before the -1 gets removed for all versions.

    I've personally stopped using autoupdater as i changed too many stuffs in the include for testing you can just retrieve the changes directly from github, as usually only a few files are changed every update but all your files get rewritten.

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
  •