Results 1 to 4 of 4

Thread: smartparams.simba invalid number of parameters at line 228

  1. #1
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default smartparams.simba invalid number of parameters at line 228

    re installed simba
    added srl osr to includes
    downloaded smart8.1 to plugins(8.0 was giving me smart cannot spawn client)
    everything updated and all

    tryed to do basic smart test
    Code:
    program new;
    {$DEFINE SMART8}
    {$i SRL-osr/SRL.simba}
    
    begin
      SetupSRL();
    end.
    and getting error

    C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
    Compiling failed.

    please help

  2. #2
    Join Date
    Dec 2011
    Posts
    273
    Mentioned
    0 Post(s)
    Quoted
    39 Post(s)

    Default

    Quote Originally Posted by betterwork View Post
    re installed simba
    added srl osr to includes
    downloaded smart8.1 to plugins(8.0 was giving me smart cannot spawn client)
    everything updated and all

    tryed to do basic smart test
    Code:
    program new;
    {$DEFINE SMART8}
    {$i SRL-osr/SRL.simba}
    
    begin
      SetupSRL();
    end.
    and getting error

    C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
    Compiling failed.

    please help
    I can't stay long but I can try to help... Problem is: I don't have this exact INCLUDE and Plugin, as I don't bot OSR anymore as I have no membership.

    Please go to the File it says LINE *228* and post what Line 228 says...

    A Line is listed the left of a piece of code.. And put SIMBA TAGS Around it ["SIMBA] [/SIMBA"]

    If it is a line code, also post the function that corresponds to that code aswell please.
    "What can't hurt you, try it. What can kill you, do it!"

    Scripts Completed: 3
    Amount Released : 2

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

    Default

    Get smart 8.2 from http://villavu.com/forum/showthread.php?t=104778

    Go to your SmartParams file (which opens up automatically when you get the error)
    Change the line below {$IFDEF SMART8} to
    Simba Code:
    Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 1366, 655, 's', '', '', '');

  4. #4
    Join Date
    Feb 2013
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I also had the problem, and when I do this it gives me this error:
    [Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(241:81): Unknown identifier 'Params' at line 240
    Compiling failed.

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
  •