Results 1 to 3 of 3

Thread: runespawn func here

  1. #1
    Join Date
    Dec 2011
    Posts
    723
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default runespawn func here

    Simba Code:
    procedure clickHound(UpText : String; color,Tol : Integer; hMod,sMod : Extended);
    var
      HoundTPA : TPointArray;
      HoundATPA : T2DPointArray;
      TP : TPoint;
      I : Integer;
    begin
      SetColorToleranceSpeed(2);
      SetColorspeed2Modifiers(hMod,sMod);

      FindColorsTolerance(HoundTPA,color,MSX1,MSY1,MSX2,MSY2,Tol);

      writeln('pixels: ' + tostr(length(houndTPA)));
      HoundATPA := SplitTPA(HoundTPA,50);
      writeln('groups: ' + tostr(length(houndATPA)));
      for I := 0 to High(HoundATPA) do
      begin
        {$IFDEF SMART}
          SMART_DebugTPA(true,HoundATPA[I]);
        {$ENDIF}
        TP := MiddleTPA(HoundATPA[I]);
        mmouse(TP.x,TP.y,15,15);

        if not WaitUptext(UpText,1000+random(250)) then
          continue;

        ClickMouse2(True);
        break;
      end;
    end;

    very primitive, don't feel like writing a bot for it and i am doing other stuff. just give it up-text and colors and tols and it will find whatever you are looking for

    could call it a better findobj o.O

    my loops for clicking an esshound:
    Simba Code:
    repeat
        wait(RandomRange(3000,5000));
        clickHound('esshound',15837595,5,0.17,4.30);
      until IsKeyDown(VK_CONTROL);
    My scripts: LunarPlanker
    ---
    My Utilities: Cross Platform, Open Source, SPS Path Generator

    Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.

  2. #2
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    797
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    It is looking quite nice mate have not even tested the game but when im home I will instantly look over it. CanĀ“t await it hehe

    I will try to answer all Runescape related questions!

  3. #3
    Join Date
    Dec 2011
    Posts
    723
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    all it really is is a find obj that works ;]

    Function could be renamed to generic clicker lol

    been running for like 2 hours flawless in runespan o.O
    My scripts: LunarPlanker
    ---
    My Utilities: Cross Platform, Open Source, SPS Path Generator

    Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.

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
  •