Results 1 to 7 of 7

Thread: wtf is wrong with smart params?

  1. #1
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default wtf is wrong with smart params?

    I was running Kyle's Esswraith Extractor for more than 2 weeks and its working perfectly. yesterday, it gave me an error when I tried to run it:

    Code:
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(286:134): Invalid number of parameters at line 285
    Compiling failed
    .

    I tried to run it today again and I still have the same error. Then I checked the script thread and saw that other ppl are getting the same error.

    Later, I tried to run other scripts and still gives the error so I assume it is a SmartParams error.

    Also I have already deleted the '-1' in line 285 in SmartParams.simba

    My line 285 is this:

    Code:
    Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', '');

    So when I try to run any script, this line gets highlighted and in the debug box appears this:

    Code:
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(286:134): Invalid number of parameters at line 285
    Compiling failed
    .


    A lot of ppl are getting this error. I hope someone can take a look to this and help us continue scripting.

    Thanks and may be with you.
    Making Money Guide 15-20m hour (no requirements):

    http://www.youtube.com/watch?v=oHg5SJYRHA0


  2. #2
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    If you are using smart 8.0 replace it with this

    Simba Code:
    Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');

  3. #3
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    http://villavu.com/forum/showthread.php?t=89825

    I get flammed for asking questions but I am sure you will get a drift with what Ash said, its fixed my probelms.

    Replace the current one with the one with Ash I think its located around line 278

  4. #4
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    worked thanks ash!
    Making Money Guide 15-20m hour (no requirements):

    http://www.youtube.com/watch?v=oHg5SJYRHA0


  5. #5
    Join Date
    Sep 2012
    Location
    Legolan, Ireland
    Posts
    542
    Mentioned
    0 Post(s)
    Quoted
    50 Post(s)

    Default

    How do you change from SMART 7-8? I have it but it just says 7.2 on my screen
    Have you felt the whale lately?
    .__________.
    Whale so hard.

  6. #6
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    The only problem you people should be having is if you are using a different SMART then is released with SRL, thus it is not SRL/SMARTs fault, but your own. If you don't know how to fix simple compiling errors, then don't use things that aren't in the PUBLIC repo, or you're going to have problems.

  7. #7
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by ___ View Post
    How do you change from SMART 7-8? I have it but it just says 7.2 on my screen
    I think you may have attempted to change to 8, but in essence you are still using v 7.2

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
  •