Results 1 to 9 of 9

Thread: FillBucket [Crafting]

  1. #1
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default FillBucket [Crafting]

    this function will click the bucket in the inv and then find the fountain and click it


    SCAR Code:
    Function FillBucket(Invspot : integer): boolean;
    var
      water: tpoint;
    begin
      if not gametab(tab_inv) then exit;
      mouseitem(invspot, true);
      if findcolorspiraltolerance(water.x, water.y, 14851710, msx1, msy1, msx2, msy2, 5) then
      begin
        mouse(water.x, water.y, 4, 4, true);
        result := true;
        exit;
      end else
        writeln('Failed to find water fountain');
        result := false;
    end;

    tell me what u think
    Last edited by Naike; 10-25-2009 at 09:46 PM.

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Kinda not needed...

    Its too much a needed function for a script that SHOULD be written by the scripter.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    1) It should auto-detect the bucket anyways, so there are no parameters
    2) Too 'specific' if you know what I mean, we don't want SRL turning into

    SCAR Code:
    Procram AutoMiner;
    Begin
      MineRock(Iron);
      WalkToVarrock;
      Bank;
      WalkToMine;
    end.

    Although, that would be kinda neat?

  4. #4
    Join Date
    May 2009
    Location
    Denmark! YEAH I'M A VIKING!
    Posts
    344
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It would be kind of awesome if SCAR SRL had some "official" scripts in whom everybody worked on makeing it perfect and undetectable?
    I ... Am ... CARTMANN!

  5. #5
    Join Date
    Dec 2007
    Location
    Los Angeles, California
    Posts
    606
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Cartmann View Post
    It would be kind of awesome if SCAR SRL had some "official" scripts in whom everybody worked on makeing it perfect and undetectable?
    Yeah but eventually there will be arguments and the script will either be abandoned or split.

    EDIT:

    Cool was my 500th post

  6. #6
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    1) It should auto-detect the bucket anyways, so there are no parameters
    2) Too 'specific' if you know what I mean, we don't want SRL turning into

    SCAR Code:
    Procram AutoMiner;
    Begin
      MineRock(Iron);
      WalkToVarrock;
      Bank;
      WalkToMine;
    end.

    Although, that would be kinda neat?
    SCAR Code:
    Program AutoMiner;
    Begin
      LoginUser('username, password');
      repeat
        begin
          MineRock('Iron');
          WalkToVarrockWestBank;
          Bank;
          WalkToMine;
        end;
      until(loads=10);
    end.

    pfff
    Last edited by Bionicle; 10-27-2009 at 11:49 PM.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  7. #7
    Join Date
    Jan 2012
    Posts
    74
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    quick question can you use this method changed up a bit to fix banking function in Water Manipulator script?

  8. #8
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Dude please read the thread date before posting, this was last posted in in 2009!

  9. #9
    Join Date
    Mar 2012
    Location
    Alberta
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wikkedninja View Post
    quick question can you use this method changed up a bit to fix banking function in Water Manipulator script?
    Grave dig much?

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
  •