Page 1 of 3 123 LastLast
Results 1 to 25 of 51

Thread: sdf Granite Miner

  1. #1
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default sdf Granite Miner (Up to 60k/hr)

    Hi everyone. This is my first public release.

    It uses M1D1 method, so I haven't added support for urns or familiars.

    Requirements:
    - Enchanted Water Tiara (wiki this, you'll need a few quests that need to be done) ALTERNATIVELY you can buy a Tomb of Frost.
    - Desert Robes (Varrock Armour is optional, but gives an exp boost)
    - 45+ Mining (40k-60k exp/hour depending on your mining level and pickaxe type)
    - A world with <20 ping (script may be buggy on laggier worlds).

    Instructions:
    1. Configure the script in lines 6-10. (i.e. Setup your Actionbar like below). Make sure that the item in the Urn Slot is a FULL urn (see actionbar below) or it will fail to teleport.


    To make sure urns are teleported properly, set your game messages to 'filtered' and make sure you are using decorated urns. The only other requirement is to have urns in your inventory; I recommend having 22 urns if you are using varrock armour (on the rare chance you strike double-ores three times in a row and the script is too slow to drop all) or 25 if you are not using varrock armour. You may have to carry less for the script to work properly as my recommendations assume perfect functionality.

    2. Make sure your graphics settings are set up to the recommended settings for simba.

    3. Resize the chatbox to be as small as possible.

    4. Make sure you are zoomed all the way in (NOT out).

    5. Start the script with your player standing north of the three northern granite rocks at the desert quarry.

    Your final setup should look something like this:


    If there are any bugs, please let me know. Play around with the colour settings if it's not detecting the rocks properly. Sometimes the depleted and unmined granites looks very similar, so you might want to reload the client if you can't find a good colour setting.

    Known Bugs:
    - None

    Proggies:








    Changelogs:
    V1.11 - Made on-screen progress look more integrated.
    V1.1 - Added decorated urn support. (Please read instructions!!!)
    V1.01 - Minor changes to AB trigger% and drop-hovering. Added runFor parameter.
    V1.0 - Initial release
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  3. #3
    Join Date
    Oct 2013
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    I set it all up but it just seems to sit in the same spot and not click any ore :/

    Edit: Sorry, I realized that it wasn't working because I had custom cursors disabled, i enabled it and it worked like a charm. Will let it run and post a proggy later, thanks
    Last edited by Praizey; 12-28-2013 at 01:34 PM.

  4. #4
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Praizey View Post
    I set it all up but it just seems to sit in the same spot and not click any ore :/

    Edit: Sorry, I realized that it wasn't working because I had custom cursors disabled, i enabled it and it worked like a charm. Will let it run and post a proggy later, thanks
    Glad to see some feedback (wasn't sure if it even worked for anyone else). Not sure how custom cursors would affect it?...Unless you mean mouse over text.


    I'll probably upload my updated version within the next two weeks; I found some reliability bugs with urn teleporting and XP accuracy (now that ashaman's released a makeshift XP counter.)

  5. #5
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    What was your setup for 60k/hr?
    I mean like mining lvl and pickaxe, familiar?
    You have permission to steal anything I've ever made...

  6. #6
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    No familiar, just urns and 80+ mining.

  7. #7
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Should put up a disclaimer about the load of quests that are required to get that enchanted water tiara...
    You have permission to steal anything I've ever made...

  8. #8
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    Should put up a disclaimer about the load of quests that are required to get that enchanted water tiara...
    Done. I forgot to mention that you can use a tomb of frost if you haven't done the quests. A few days of sinkholes should get you it easily.

  9. #9
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    Done. I forgot to mention that you can use a tomb of frost if you haven't done the quests. A few days of sinkholes should get you it easily.
    I have TOF, it doesn't do the same thing as the enchanted tiara. TOF only decreases the damage. I ran for about 2.5 hours before I had to go with full desert robs and tome of frost. You need the enchanted tiara to run this script properly.
    And a few days of sinkholes isn't going to do it for you, I got it F2P in like a month of straight dung, members should take 3 days of decent dunging.
    Great script though.
    You have permission to steal anything I've ever made...

  10. #10
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    I have TOF, it doesn't do the same thing as the enchanted tiara. TOF only decreases the damage. I ran for about 2.5 hours before I had to go with full desert robs and tome of frost. You need the enchanted tiara to run this script properly.
    And a few days of sinkholes isn't going to do it for you, I got it F2P in like a month of straight dung, members should take 3 days of decent dunging.
    Great script though.
    TOF decreases the damage so that it's less than your natural health regen rate; you shouldn't need to use desert robes with ToF...that's odd. Also, I understand what you mean about the tokens but I guess I kinda wrote this script in mind of people who were members and atleast had half decent base stats (70+ dung, I guess).

  11. #11
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    TOF decreases the damage so that it's less than your natural health regen rate; you shouldn't need to use desert robes with ToF...that's odd. Also, I understand what you mean about the tokens but I guess I kinda wrote this script in mind of people who were members and atleast had half decent base stats (70+ dung, I guess).
    Yeah I guess that is true.
    I find that the waitcount usually goes to it's maximum, then quickly finds a rock. It usually happens after I mine one rock, then waits past the rocks regeneration and depletion, then finds another rock.
    You have permission to steal anything I've ever made...

  12. #12
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    Yeah I guess that is true.
    I find that the waitcount usually goes to it's maximum, then quickly finds a rock. It usually happens after I mine one rock, then waits past the rocks regeneration and depletion, then finds another rock.
    Sounds like faulty colour detection (it waits until the colour of the unmined rock directly south of the player is not found). I don't think this script uses CTS2, but if you give that a go then it should fix it.

    The waitcount was added as a miniture failsafe (in case of idle/misclick etc.) you can play around with the timing if you're still having problems.

  13. #13
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    Sounds like faulty colour detection (it waits until the colour of the unmined rock directly south of the player is not found). I don't think this script uses CTS2, but if you give that a go then it should fix it.

    The waitcount was added as a miniture failsafe (in case of idle/misclick etc.) you can play around with the timing if you're still having problems.
    What about making it just cut 2 granites in an L-pattern rather than walking around 3? Once you finish mining the first granite, the other will be ready.
    You have permission to steal anything I've ever made...

  14. #14
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    What about making it just cut 2 granites in an L-pattern rather than walking around 3? Once you finish mining the first granite, the other will be ready.
    What do you mean by L-pattern? If what you're getting at is to have it only move around in two positions with one of the positions mining two rocks which are orthogonal to one another, then that's only possible at the western spot. The current detection method is too simplistic and it'll want to mine the three rocks PLUS the one that's orthogonal towards the north (unless that's what you want).

    If you can fit all four rocks into a zoom level, you can just change the search bounds for the rocks - but the detection for when the rock has been depleted will be need to be worked on (gotta add detection for when mining the northern (L-bit) rock). I'll think about it, but I don't think it'll improve exp rates that much.


  15. #15
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    What do you mean by L-pattern? If what you're getting at is to have it only move around in two positions with one of the positions mining two rocks which are orthogonal to one another, then that's only possible at the western spot. The current detection method is too simplistic and it'll want to mine the three rocks PLUS the one that's orthogonal towards the north (unless that's what you want).

    If you can fit all four rocks into a zoom level, you can just change the search bounds for the rocks - but the detection for when the rock has been depleted will be need to be worked on (gotta add detection for when mining the northern (L-bit) rock). I'll think about it, but I don't think it'll improve exp rates that much.

    You could play with pixelshift to see if finished mining. I know that regular movement when standing/idling is under 4000 pixelshift.
    You have permission to steal anything I've ever made...

  16. #16
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    You could play with pixelshift to see if finished mining. I know that regular movement when standing/idling is under 4000 pixelshift.
    I did a version before release with pixelshift but found it to be less responsive (atleast for the three northern rocks). Though I guess it would be better to have it implemented for the L-shape idea.

  17. #17
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    I did a version before release with pixelshift but found it to be less responsive (atleast for the three northern rocks). Though I guess it would be better to have it implemented for the L-shape idea.
    Pixelshift for the character of the rock?
    You have permission to steal anything I've ever made...

  18. #18
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    Pixelshift for the character of the rock?
    Character, of course.

  19. #19
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    Character, of course.
    I wrote myself a new FindGranite+MineGranite function and it works nicely and accurately (no offense intended, I really like the script), here it is:

    Simba Code:
    program new;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    function FindGranite: Boolean;
    var
      i, s, h: Integer;
      TPA: TPointArray;
      ATPA: T2DPointArray;
      t: TTimeMarker;
      p: Tpoint;
    begin
      //FindColorsTolerance(TPA, 6192020, IntToBox(mainscreen.playerpoint.x - 140, mainscreen.playerpoint.y, mainscreen.playerpoint.x + 110, mainscreen.y2), 5, ColorSetting(2, 0.12, 0.31));
      FindColorsTolerance(TPA, 7449049,inttobox(65,267,520,333), 5, ColorSetting(2, 0.3, 0.3));
      if (Length(TPA) < 1) then
      begin
        Writeln('nope');
        Exit;
      end;

      ATPA := TPA.ToATPA(20, 20);
      SortATPAFromMidPoint(ATPA, Point(randomRange(mainscreen.playerpoint.x - 100, mainscreen.playerpoint.x + 100), mainscreen.playerpoint.y));

      h := High(ATPA);

      for i := 0 to h do
        begin
          if (Length(ATPA[i]) < 50) then
            Continue;

          Mouse(ATPA[i][random(High(ATPA[i]))], MOUSE_MOVE, MOUSE_HUMAN);
          if IsMouseOverText(['ine', 'ranite', 'ocks', 'Mine'], 500) then
            begin
              fastclick(mouse_left);
                  wait(500);
                    if tabBackpack.waitForShift(6000+Random(250)) then
                      WriteLn('Uber, we gained: Granite');
              Exit();
            end;
        end;
    end;

    procedure DropGranite;
    var
    dropTPA: TPointArray;

    begin
      wait(650+Random(311));
        repeat
          if findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(5),40) then
            begin
              mouseBox(actionBar.getSlotBox(5),MOUSE_RIGHT,MOUSE_HUMAN);
              wait(randomrange(50,150));
              chooseOption.select(['Drop Gr'], 500);
              wait(400+Random(50));
            end;

          if findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(6),40) then
            begin
              mouseBox(actionBar.getSlotBox(6),MOUSE_RIGHT,MOUSE_HUMAN);
              wait(randomrange(50,150));
              chooseOption.select(['Drop Gr'], 500);
              wait(400+Random(50));
            end;

          if findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(7),40) then
            begin
              mouseBox(actionBar.getSlotBox(7),MOUSE_RIGHT,MOUSE_HUMAN);
              wait(randomrange(50,150));
              chooseOption.select(['Drop Gr'], 500);
              wait(400+Random(50));
            end;
        until not findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(5),40) or findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(6),40) or findColorsTolerance(dropTPA,4875654,actionBar.getSlotBox(7),40);
    end;

    begin
      setupSRL();
        FindGranite;
        DropGranite;
    end;

    Just does a quick mine and drop once for a test. It's most of your code.
    You have permission to steal anything I've ever made...

  20. #20
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Wu-Tang Clan View Post
    I wrote myself a new FindGranite+MineGranite function and it works nicely and accurately (no offense intended, I really like the script), here it is:

    *snip*

    Just does a quick mine and drop once for a test. It's most of your code.
    None taken . Feel free to modify it as much as you want; how much XP gain are you getting? I haven't tested it with Ashaman's chatBox.getXP function yetm so I'm curious for numbers.

  21. #21
    Join Date
    Mar 2013
    Location
    Shaolin
    Posts
    863
    Mentioned
    24 Post(s)
    Quoted
    519 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    None taken . Feel free to modify it as much as you want; how much XP gain are you getting? I haven't tested it with Ashaman's chatBox.getXP function yetm so I'm curious for numbers.
    I've been running it since I posted it with a repeat until false and it hasn't messed up yet... I didn't add any counters or special xp counters but I'd say about 35K/hr - similar to yours if not the exact same.
    You have permission to steal anything I've ever made...

  22. #22
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    From what I read I see you've abandoned this but I'll just say this script is excellent and has given me many levels during the DXP weekend. Good job man, hope to see more from you later! Modified it a little bit to suit my needs but on the whole still totally functional with good failsafes etc.

    Getting a delicious 110k+/hr at the moment.
    Last edited by Clarity; 02-24-2014 at 03:24 AM.

  23. #23
    Join Date
    Mar 2013
    Location
    Freedomville.
    Posts
    155
    Mentioned
    2 Post(s)
    Quoted
    107 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    From what I read I see you've abandoned this but I'll just say this script is excellent and has given me many levels during the DXP weekend. Good job man, hope to see more from you later! Modified it a little bit to suit my needs but on the whole still totally functional with good failsafes etc.

    Getting a delicious 110k+/hr at the moment.
    I do have an updated version with porter options (collected ~150m worth of granite) but don't think I'll be releasing any private scripts for a while. Not until I've maxed at least (which is close).

  24. #24
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by sdf View Post
    I do have an updated version with porter options (collected ~150m worth of granite) but don't think I'll be releasing any private scripts for a while. Not until I've maxed at least (which is close).
    Heh, that's exactly what I added to the script for myself Why drop when I can earn a free 200m on the way to 99.

    Edit: Like 1.5m/hr profit with porters.
    Last edited by Clarity; 02-24-2014 at 02:30 PM.

  25. #25
    Join Date
    Feb 2014
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Can you pm it to me please Clarity? I really want a script that will make me money

Page 1 of 3 123 LastLast

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
  •