Results 1 to 16 of 16

Thread: Problem with Script - Smart Params

  1. #1
    Join Date
    Feb 2013
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default Problem with Script - Smart Params

    In attempting to run SeanStar's cavefighter script I am getting the error:

    [Error] D:\Users\Jake\My Documents\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
    Compiling failed.

    line 228 being:
    Result := IDs[I];

    I just set up SRL-OSR there as i've been running Danny's include for all other scripts - perhaps I set up wrong but it looks fine to me

    If someone could help me with this thatd be great

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    i dont think it ahs to do anything with line 228 this is just another weird Simba error EURURGHHGHGHHHH so many error needing my helping

  3. #3
    Join Date
    Feb 2013
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    haha, fair enough. Any ideas then nah?

  4. #4
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    don't know maybe a clean reinstall willl fix it or type the error into google search that's the best help
    google search is always better than the forum search tool

  5. #5
    Join Date
    Feb 2013
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    I'm having no luck. I re-downloaded/installed SRL-OSR and couldnt find any help elsewhere.

    Anyone else got any clues?

  6. #6
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have this error for myself, i tried everything I even reinstalled.

  7. #7
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I got this error too, and I don't know what to do either. if you figure it out, please let me know!

  8. #8
    Join Date
    Feb 2013
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Anyone had any luck? I've given up im too stuck....

  9. #9
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    everything worked just fine for me yesterday, and all the suddenly i get this error today, some one help pls.

  10. #10
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If the script has {$DEFINE SMART} in it, try putting an 8 behind the SMART part.

  11. #11
    Join Date
    Aug 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    That isn't it.
    Never mind, actualy it solved the error:
    '[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228'
    But it just gave me a new one:
    '[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(241:157): Invalid number of parameters at line 240'
    Last edited by tipfout; 03-29-2013 at 02:30 PM.

  12. #12
    Join Date
    Dec 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I am also getting the Invalid number of parameters at line 228. I am trying to use the FightCaveTrainer script.

  13. #13
    Join Date
    Aug 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I just deleted my whole Simba folder and re-installed everything and I got rid of the errors.

  14. #14
    Join Date
    Mar 2013
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by ANinja View Post
    I am also getting the Invalid number of parameters at line 228. I am trying to use the FightCaveTrainer script.
    same here, trying to run the same script and i get the line 228 error

    edit:

    I tried running it and i get the line 228 error, then if I run the smartparams script that auto opens up in a tab on the error I get this:

    [Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
    Compiling failed.
    [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:7): Unknown identifier 'Smart_World' at line 34
    Compiling failed.

    and it highlights "Smart_World" on line 34
    Last edited by vigilante123; 03-29-2013 at 08:52 PM.

  15. #15
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

  16. #16
    Join Date
    Mar 2013
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by RJJ95 View Post
    That worked. I just re-installed SMARTv8.0 and re-ran the fight cave script and it worked fine. I even left the {$DEFINE SMART} code on line 3 as is, and did NOT change it to {$DEFINE SMART8}

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
  •