Results 1 to 5 of 5

Thread: Plant random finder and handler

  1. #1
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Plant random finder and handler

    I made this plant random finder and handler for my application scripts.

    SCAR Code:
    dtmFruit := DTMFromString('78DA637CC2C0C0B09301054CCDDECFC00AA41' +
              '981F83F1030DE03327630A00146241248BFC63407590D13887E0A' +
              '24D61330E73990384040CD7D20B18F32F78000004453112A');
    SCAR Code:
    Function FindPlant: Boolean;
    Begin
      if (not (LoggedIn)) then
        Exit;
      if FindObjCustom(Plantx, Planty, ['lant', 'ick ', 'ange'], [8999], 0) then
      begin
        Plants := Plants + 1;
        Result := True;
      end;
    end;
     
    {My plant random solver}
    Procedure HandlePlant;
    Var
      Planti: Integer;
    Begin
      repeat
        If Not LoggedIn then
          Break;
        Wait(500 + random(100));
        FindObjCustom(Plantx, Planty, ['lant', 'ick ', 'ange'], [8999], 0);
        Wait(300 + Random(100));
        Mouse(Plantx, Planty, 0, 0, False);
        Wait(200 + Random(100));
        ChooseOption('ick');
        FFlag(0);
        Wait(500 + random(100));
        Planti := Planti + 1;
        if (not(CountItemDtm(dtmFruit) >= 1)) then
          Wait(900 + Random(200));
      Until (CountItemDtm(dtmFruit) >= 1) or (Planti >= 5) or (FindFight);
      if (FindFight) then
      begin
        RunTo('N', True);
        Wait(15000 + random(5000));
        RunBack;
      end;
    end;

  2. #2
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks nice but, does it hovers over the other stuff? 8999 with tol 5...
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  3. #3
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The place where i'm using the script it never hovered over anything else except when there was a plantrandom. But it could pose a problem, thanks for pointing it out to me

  4. #4
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You shouldnt post this here it dosent matter if it works or not but if i made it id put in Members section... dont give leechers member anti-randoms but i dont know how to use it if i did id use it

  5. #5
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This part is not gone do anything on it's own, so a leecher can use it in a script if he wants to or not, and there are memberscripts availeble to the general public also.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating a pick head finder, and gas finder
    By Tom_Gower in forum OSR Help
    Replies: 7
    Last Post: 11-07-2008, 07:06 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
  •