Results 1 to 4 of 4

Thread: Invalid # of Parameters when there are no parameters!!!!

  1. #1
    Join Date
    Jan 2008
    Location
    U.S.A
    Posts
    313
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Invalid # of Parameters when there are no parameters!!!!

    I've Been Trying to get my Script to work and It keeps giving me this error and i have no idea how to fix it heres is part of script error occurs
    SCAR Code:
    procedure SetupScript;
    begin
      SetupSRL;
      ClearDebug;
      SmartSetupEx(Smart_World, false, true);
      SetTargetDC(SmartGetDC);
      while not SmartReady do Wait(2000);
      SRLId := YourSRLId;
      SRLPassword:= YourSRLPassword;
      ScriptID:= '000';
      DeclarePlayers;
      if(not(LoggedIn))then
      LoginPlayer;
      if SRLID = '' then
      begin
        Writeln('Ahaha I Put In Leecher Failsafes muahahaha')
        Writeln('Get Srl Stats or Perish in Doom!!!!!')
        OpenWebPage('http://www.stats.srl-forums.com/index.php')
        TerminateScript;
      end;
      begin
      SetUpScript;
      repeat
        repeat
       ReadyPlayers;
       WalkingToWillows;
       SlashingWillows;
       FindRandoms;
       AntiBan;
       repeat
       if InvFull then
       BankWillows;
       if (NumberofLoads=Loads) then
        begin
           NextPlayer(True);
           LoadsNum2 := 0;
           MakeCompass('S')
           Writeln('Players Switched successfully')
        end;
      until (false)
    end;
    end;
    end;

    Right Where it Says Banks Willows it give me an error it says Invalid Number of Parameters only problem there are no Parameters please help!!!
    Will test most scripts, offering members account to certain scripters! PM Me.
    Also need helping making a powerminer, Pst/Aim me!

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You have 3 repeats and only 1 until... try fixing that and see what happens.

  3. #3
    Join Date
    Jan 2008
    Location
    U.S.A
    Posts
    313
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nope got rid of 2 of the repeats didn't work if I have to put Until I don't know where to put it
    Will test most scripts, offering members account to certain scripters! PM Me.
    Also need helping making a powerminer, Pst/Aim me!

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    post the bankwillows procedure.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Why do i keep getting invalid parameters for?
    By Scaper in forum OSR Help
    Replies: 1
    Last Post: 07-15-2008, 10:56 PM
  2. Invalid parameters
    By Runaway in forum OSR Help
    Replies: 1
    Last Post: 01-19-2008, 03:23 AM
  3. Invalid parameters help.
    By Hey321 in forum OSR Help
    Replies: 16
    Last Post: 11-13-2006, 02:29 AM

Posting Permissions

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