Results 1 to 11 of 11

Thread: Warning! You passed a wrong xs to a finder function:what should we do?

  1. #1
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Warning! You passed a wrong xs to a finder function:what should we do?

    Warning! You passed a wrong xs to a finder function: -16. That is below 0, thus out of bounds. Setting the value to 0 for now.

  2. #2
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    That is an error where the script is trying to click of the screen and it can't

    -Boom

  3. #3
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    That is an error where the script is trying to click of the screen and it can't

    -Boom
    How do i do the script to open "Runescape" ?
    Otherwise,how do i repair this error?Thanks.

  4. #4
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Are you running a script in SMART?
    Which script?
    When does it throw the error?

    -Boom

  5. #5
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well,i dont know if im running it in SMART,how could i know?
    A script made by me ,a simple script which chop down Yews
    When i click run it start to show that message like 20 times.
    Thanks
    Gastón.

  6. #6
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Perhaps post the script?
    Infractions, reputation, reflection, the dark side of scripting, they are.

  7. #7
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    program New;
    {.include srl/srl.scar}

    Procedure DeclarePlayers;
    begin;
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name :='';
      Players[0].Pass :='';
      Players[0].Nick :='';
      Players[0].Active:=True;
    end;
    Procedure ChopTree;
    Var x,y: Integer;
    Begin;
    If FindObj(x,y,'hop',1785912, 35)Then
    Mouse(x,y,0,0, False);
    ChooseOption('Hop')
    Repeat
    Wait(1200+random(250));
    Until not IsUpText('yew')or InvFull
      End;
    Procedure AntiBan;
    Begin;
    If(Not LoggedIn)then
    Exit;
    Case Random(8)of
    0:
    Begin;
    HoverSkill('Woodcutting',false)
    Wait(2453+random(432));
    End;
    1: Wait(100);
    2 : PickUpMouse;
    End
    Begin;
    MakeCompass('N');
    Wait(100+random(133));
    MakeCompass('S');
    Wait(50+random(133));
    MakeCompass('N')
      End;
    End;

    begin;
      SetUpSRL;
      ActivateClient;
      DeclarePlayers;
      ChopTree;
    end.

  8. #8
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    You're not using smart, put {$i srl/srl/misc/smart.scar} above your srl include to use smart.

    I suppose you haven't selected the runescape client correctly.

    I highly suggest reading some beginner tutorials on how to make scripts. Don't only read them, but also type into simba what they're telling you to write(don't copy paste).
    Infractions, reputation, reflection, the dark side of scripting, they are.

  9. #9
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Killerdou View Post
    You're not using smart, put {$i srl/srl/misc/smart.scar} above your srl include to use smart.

    I suppose you haven't selected the runescape client correctly.

    I highly suggest reading some beginner tutorials on how to make scripts. Don't only read them, but also type into simba what they're telling you to write(don't copy paste).
    Thanks,where can i get the tutorial on how to make the script to open Runescape and work with it.?
    Edit:Now it works fine,it opnes Runescape window but when it starts working it just stop.
    Last edited by Gaston7eze; 12-22-2011 at 12:02 PM.

  10. #10
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Infractions, reputation, reflection, the dark side of scripting, they are.

  11. #11
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Killerdou View Post
    Thanks friend.
    But if i put "Repeat" ,it should repeat the procedure all the time,or not ?
    Last edited by Gaston7eze; 12-22-2011 at 12:07 PM.

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
  •