Page 1 of 5 123 ... LastLast
Results 1 to 25 of 125

Thread: [R] Extreme PowerMiner [Granite Support]

  1. #1
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [R] Extreme PowerMiner [Granite Support]

    CURRENT SCRIPT STATUS: Broken (I think)

    IT IS IN BOTH YOUR AND MINE BEST INTEREST THAT YOU READ THE WHOLE FIRST POST. This script requires some simple extra setup, which is necessary to achieve the full potential of this script. If you do not set it up correctly, IT WILL NOT WORK. If you do not understand the setup, feel free to post for help, and I will help via a post or a messenger of some sort (Msn preferred).

    Note: If the setup is too complex for you, try out the powermining feature on my All-In-One Miner and Banker.

    People who have achieved 85+ mining with this script:

    Sabzi

    I present to you another script in the Extreme series… A Powerminer! Why such a supposedly simple script? Because powermining is arguably the fastest way to gain mining exp, and I have yet to see a completely flawless powerminer (until now?). Thus, I created this rather complex, 2,000+ line script, in an attempt to achieve flawlessness and perfect efficiency.

    As most of you know, a reflection powerminer is not easy to make. Mainly because every rock has a different ID. My solution? I created a .txt of all the F2P locations, along with some P2P locations, that gives you the Tiles and IDs of the rocks, which are simply copy and pasted into near the top of the script (If you’re confused, keep reading. There are clearer instructions further down). I originally was going to use color to find the rocks initially, then reflection would take over, but that idea was defeated after I realized that there is no MSToTile function (for you non-scripters – a function that gives me the Tile of the rock after I find it on the screen), and making one would be really hard, if not impossible. If that is ever made, I might add the color functionality. Another idea I had was to create a tool that grabs the Tile and ID of an object after the user does something like mouses over and clicks F2. Again, impossible without an MSToTile function. Though that tool would be useful for many, especially scripters, because then we wouldn’t have to rely on RSBot or Map Tools to get our Tiles and IDs – hence, if anyone knows how to make a good MSToTile function, please do!

    ~Features~

    - My first form. It’s not great, but does its job in providing new users with an easy way to set up. It is used with the SRL PlayerForm, which, if the option is enabled (on the form), will pop up immediately following the form. Big credits to Da 0wner for helping me out with a lot of my questions
    - A very up-to-date status report. If you choose to do so, even the Program Name will keep you up to date on how your current miner is doing.
    - The first reflection powerminer, meaning you can define EXACTLY which rocks you wish to mine, giving you much flexibility and, in the end, ultimate efficiency.
    - If you enable the option, this uses a drop method in which it drops ores when all rocks are not available. This is best used in conjunction with 2 or 3 rocks next to eachother, so you’re always doing something, never idling.
    - Reflection should never fail to mine (unless I made a scripting mistake somewhere ), so get ready for those super long proggies.
    - A system for changing worlds if you want to have members and free players run on the same script.
    - A myriad of all sorts of Antiban, from simply moving the mouse around to checking how much experience you need to your next mining level.
    - Checks for if a rock is available using reflection, and detects if it has been mined (by anyone, not just you), thus it does not waste time standing there mining an empty rock.
    - Antiban, Antirandoms, Multiplayer…All the regular stuff


    ~Setup~

    - Make sure you have Scar 3.20d or newer,along with the latest Reflection Developer revision, along with the latest SRL OpenDev revision.
    - DEFINE THE MINING SITE (See below the Form Setup Instructions for more vital information)
    - Get all your players to the mining spot you defined
    - Download the script
    - Click Run
    - Fill out the form (see below for more specific instructions)
    - Fill out the succeeding PlayerForm (unless you chose to void this option on the previous form)
    - Watch and be amazed

    ~Form Features~



    = DebugIt =

    I recommend you keep this checked. It basically just gives you some extra information in the debug box, doesn’t really bother you, so just keep it on

    = DisguiseIt =

    Checking this box means you the script will edit the Program Name (where you see SCAR Divi CDE) with its current status, whether that be ‘Mining’, ‘Dropping’, etc.

    = SinglePlayer =

    Check this if you’re going to use just one player (all it will affect is the proggy).

    = SwitchingPlayers =

    Checking this box means all your players will keep going until they mess up, whether that be a bug in the script or a failed random. Setting the amount of loads per player (on the playerform following this form) will dictate how many loads to do before heading onto the next player.

    = ColorAntiRandoms =

    If checked, if will use Color anti-randoms. If unchecked, it will use Reflection anti-randoms. Hard to tell which one is better :\

    = UsePlayerForm? =

    If checked, the SRL Player Form will pop up after you click Continue, allowing you to fill in information about your players. If it is not checked, you MUST have filled out the DeclarePlayers in the script itself.

    = SeperatePlayers =

    If checked, it will use the case (the 1,2,3,4, etc.) values for each player. If not, it will use the values under the else. If you don’t understand, keep reading

    = SwitchWhenAmtIs =

    Entering something other than zero in this field will make the script switch worlds when that amount of people are detected on a minimap. This is useful if you are mining in a rather remote area where nobody ever comes, and you want it to stay that way. Just set it to 2 and as soon as another person comes, it should log out and change worlds. I haven’t tested this personally.

    = RestAt =

    Rests when your energy falls below this number. Setting it to 0 will disable this feature.

    = Take Breaks =

    If checked, the two fields below will appear, allowing you to indicate when and for how long to take breaks.

    HowOften – Every how many ORES should it take a break
    HowLong – For how many MINUTES should it take a break (script adds random 2 more)

    = DoSound =

    If checked, the WhereSound field will appear. Filling out the WhereSound field with a file location (for example: C:\Windows\Media\whatever.wav) will play a sound when all players have gone inactive. NOTE: The file MUST be a .wav (If you need a free converter, you can find one easily at www.download.com)

    = Continue! =

    Self explanatory.

    = Save Settings =

    Saves the current settings you have set.

    = Load Settings =

    Loads the most recent settings you had saved (Settings are loaded on runtime too, so you don’t have to click this every time).

    = Cancel =

    Closes the form and terminates the script.


    … The Playerform is self explanatory. (Desert Powermining should be True if you’re mining in the desert with waterskins. Make sure you have waterskins.)

    ~Setting the Mining Site~

    THIS IS ARGUABLY THE MOST IMPORTANT PART OF SETUP

    Because every mining site has a unique array of IDs for its rocks, you must enter these into the script. To make it easier for you, I have compiled the following Tiles and IDs of mining sites for you in a .txt file in the downloads at the bottom of this post:

    F2P:
    • VEM (vem)
    • VWM (vwm)
    • Al-Kharid Mine (akm)
    • Dwarfen Mines (dm)
    • Rimmington (rm)
    • Barbarian Village (bv)
    • Lumbridge Tutor Mine (ltm)
    • Desert Mine (Desert)


    P2P:
    • Ardougne/Legends Guild (lg)

    IF YOUR FAVORITE LOCATION IS NOT LISTED, PLEASE POST AND I WILL PROBABLY ADD IT. Alternatively, you can get it yourself (and then post it, and I will put in the .txt file with credits to you ). I used the RSBot client to grab the Tiles and IDs. To find the locations quickly in the file, press Ctrl + F and type in the quick-find-code (in parentheses next to all of the locations above).

    In short, what you must do is copy the procedure that you find under the Location/Ore you want. For example:

    SCAR Code:
    Loc1 := Point(3282,3364);  
      Id1 := 11957;
      Loc2 := Point(3282,3365);  
      Id2 := 11959;            
      Loc3 := Point(3281,3363);  
      Id3 := 11957;            
      Loc4 := Point(3281,3362);  
      Id4 := 11958;        
      Loc5 := Point(0,0);
      Id5 := 0;

    And paste it in this spot inside the script. It is at approximately Line 30, and looks like this (follow the directions there to know where to put them):

    SCAR Code:
    Procedure ManualInput(whichPlayer : integer);  //THIS IS WHERE YOU SET THE TILES AND IDs MANUALLY
    begin
      case whichPlayer of
      0: begin
         end;                                                   //(The 0,1,2,3..etc represent the Player Number)
      1: begin
         end;
      2: begin                                                  //Paste the variables (Locs and Ids) here between the begin end;
         end;                                                   //As they correspond to the player number of the player you want them to
      3: begin                                                  //be assigned to. NOTE: This will only work if you enabled the
         end;                                                   //SeperatePlayers checkbox in the form. Otherwise, the variables below
      4: begin                                                  //will be used (so fill just that out if you left SeperatePlayers
         end;                                                   //unchecked)
      5: begin                                                  //If you need more spots to put variables in, simply copy/paste below the
         end;                                                   //5 one and just change the number.
     else
       begin
        Loc1 := Point(0,0);  //Location 1: Change 0,0 to the Tile of the first rock.
        Id1 := 0;            //ID 1: Change 0 to the ID of the rock at Location 1.
        Loc2 := Point(0,0);  //Location 2: Change 0,0 to the Tile of the first rock.
        Id2 := 0;            //ID 2: Change 0 to the ID of the rock at Location 2.
        Loc3 := Point(0,0);  //Location 3: Change 0,0 to the Tile of the first rock.   NOTE: If you want to define less than 5 rocks
        Id3 := 0;            //ID 3: Change 0 to the ID of the rock at Location 3.           Just leave the unused locations and IDs
        Loc4 := Point(0,0);  //Location 4: Change 0,0 to the Tile of the first rock.         As they were (0,0 and 0).
        Id4 := 0;            //ID 4: Change 0 to the ID of the rock at Location 4.
        Loc5 := Point(0,0);  //Location 5: Change 0,0 to the Tile of the first rock.
        Id5 := 0;            //ID 5: Change 0 to the ID of the rock at Location 5.
       end;
      end;
    end;

    Again, paste the variables you find in the file in the above code in the script. The huge upside to this extra setup is that you can define EXACTLY which rocks you want to be mining. I have created a help.txt file (also in all the downloads at the bottom of this post) that will explain in detail how to do this.

    ~Bugs~

    None that I know of

    ~Future Updates~

    (Listed from likely to be added next to least likely to be added)
    • Keep track of rocks and when they're mined. This way the script will turn/go to the one that will spawn next.



    ~Progress Reports~

    By Nebuli (Manually Stopped)

    Time Running: 9 Hours, 17 Minutes and 46 Seconds
    Ores mined: 4542
    Levels Gained: 2 Scroll down for SinglePlayer stuff
    Did MMouse antiban: 4466 times
    Did Extra Antiban: 598 times
    EXP Gained: 183505
    Current Level: 77
    EXP/hour: 19740
    Ores Mined/hour: 489
    ~~~~~Want 99?~~~~~
    EXP to 99: 11551576
    Hours to 99: Less than 586
    ~~~~~Want 85?~~~~~
    EXP to 85: 1775739
    Hours to 85: Less than 90


    ~Update Log~
    Current Version: 1.1

    V1.0 (7/12/09)
    - First Release

    V1.1 (7/21/09)
    - Addded Desert Mining spots (not tested)
    - Multiplayer various ore support (therefore new setup instructions)
    - Multiplayer proggy fix (not tested)
    - SwitchWhenAmtIs fix (not tested)
    - Drop Every X Ores (not tested)
    - Exp to 85 in proggy
    - Other stuff

    ~History~

    v1.0 - Extreme PowerMiner.scar (56.3 KB, 36 views)

    ~History~

    None
    Last edited by Sir R. M8gic1an; 10-05-2009 at 12:44 AM.

  2. #2
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Sweet. I'll definitely run this to get a couple of my guys' levels up.

  3. #3
    Join Date
    Nov 2007
    Location
    I live in Slovenia! :)
    Posts
    837
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow!!!! Allready relesed! Can't wait to test


    Edit:Read the whole post lol Great futures in it. I like the log out if a number of players is there and the droping style a lot
    Last edited by tico2; 07-13-2009 at 04:47 AM.
    ~T2

  4. #4
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I love proggys like this - detailed info about the main things you should know, all sorted and easily readable. Oh and the 99? thing is good too I will run it soon

  5. #5
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I completely agree, sapetto I'm thinking of changing the 99 to 85 though, since that's what most people want to know. Maybe I'll just do both

    Note that the super detailed proggy is only enabled if you do the SinglePlayer option. The one for multiplayer is still pretty detailed, just not as much

  6. #6
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Runescapian aka Tad View Post
    I'm thinking of changing the 99 to 85 though, since that's what most people want to know.
    +1

    I wanted to try this out but the long instruction scared me lol. But I like well set-up scripts. So maybe tomorrow if I survive my driving lesson. XD (and everybody else survives)

  7. #7
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sabzi View Post
    +1

    I wanted to try this out but the long instruction scared me lol. But I like well set-up scripts. So maybe tomorrow if I survive my driving lesson. XD (and everybody else survives)
    It's only long because I explained everything so that someone who doesn't know how to script at all would be able to do it easily (I hope) Don't forget to PM, Post, or add me on MSN for extra help.

  8. #8
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    looks really nice. I'm getting mine back started up, so this should be some fun competition
    “Ignorance, the root and the stem of every evil.”

  9. #9
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Haha I'm debating whether or not to get it moved to Free For All. I just don't know whether the leechers will be able to get it working

  10. #10
    Join Date
    Mar 2007
    Location
    Alberta, Canada
    Posts
    1,780
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Runescapian aka Tad View Post
    Haha I'm debating whether or not to get it moved to Free For All. I just don't know whether the leechers will be able to get it working
    Maybe re-write a little of the script, so maybe it doesn't work quite as well, but easier setup. Similar to what Narcle did with Narcle's autofight and Narcle's fast fight.

  11. #11
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh you're saying like put all the locations in the script, with an option of where to mine, but without the instructions on how to edit it to make it fully customizable, and release that in the Free For All section? Hmm, good idea. I might do it Thanks.

  12. #12
    Join Date
    Sep 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I used http://www.villavu.com/forum/showthread.php?t=45532 to update all my SCAR things. I'm not sure if it includes everything I need to run this script because the script always says my players go inactive before it even logs in. However, sometimes it does log in but then just goes to the logout ( X ) in the top right corner just like after the Jagex update. What am I doing wrong?

  13. #13
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Kaizetsu View Post
    I used http://www.villavu.com/forum/showthread.php?t=45532 to update all my SCAR things. I'm not sure if it includes everything I need to run this script because the script always says my players go inactive before it even logs in. However, sometimes it does log in but then just goes to the logout ( X ) in the top right corner just like after the Jagex update. What am I doing wrong?
    What version of SCAR are you using?

  14. #14
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You haven't credited me .

  15. #15
    Join Date
    Sep 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    What version of SCAR are you using?
    I'm using 3.20

    Edit :

    The error that I'm getting is

    NextPlayer
    SwitchToPlayer(PlayerNo: 0, Active: False);
    All Players are inactive, terminating script.
    Successfully executed

    But I have PlayerNo: 0 set to True in both the script and the popup. Why is it still saying inactive? I'm trying to mine at AKM and I have put the coords in too.
    Last edited by Kaizetsu; 07-13-2009 at 11:47 AM.

  16. #16
    Join Date
    Aug 2007
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Damn Runescapian. Thats all i can say.

    I love your scripts!

    I will try this out for you and post prog. I am going to use a different spot though, and I will give you the tiles and IDs with my proggy. Its a good p2p spot that isn't crowded often

    P.S. - Now that I have Java scripting somewhat down (2 working scripts so far for OptimusBot), I am going to give this Pascal stuff a shot Maybe someday I can become a SRL member too

  17. #17
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Kaizetsu View Post
    I'm using 3.20

    Edit :

    The error that I'm getting is

    NextPlayer
    SwitchToPlayer(PlayerNo: 0, Active: False);
    All Players are inactive, terminating script.
    Successfully executed

    But I have PlayerNo: 0 set to True in both the script and the popup. Why is it still saying inactive? I'm trying to mine at AKM and I have put the coords in too.

    Try using SCAR 3.21 and see if that makes any difference.

  18. #18
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kaizetsu View Post
    I'm using 3.20

    Edit :

    The error that I'm getting is

    NextPlayer
    SwitchToPlayer(PlayerNo: 0, Active: False);
    All Players are inactive, terminating script.
    Successfully executed

    But I have PlayerNo: 0 set to True in both the script and the popup. Why is it still saying inactive? I'm trying to mine at AKM and I have put the coords in too.
    Where at in AKM? Maybe I got the tiles and IDs wrong, I'll check later today. Is there any debug before it says NextPlayer?

    @Da 0wner - Woops There we go, on teh first post

  19. #19
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    After I have set it up the only thing I can say that it is easy to set-up. We got too long instruction and it seems as it is hard to set-up. But the script is is is is I can't find enough good words for it. Great, amaizing(spelling?), excelent, and every good thing you can imagine. I realy hope I will come back with a big proggy but if not then with a small.
    And it's working with everything is the latest at me and I love it!
    But I am pretty sure we aren't mining logs but rocks.(in the proggy it says logs to 99 :P, but I think I understand it )
    I got a big opponent though. A steel pickaxe miner. I am a lvl 80 miner ...
    Last edited by Sabzi; 07-13-2009 at 06:31 PM. Reason: spelling :S

  20. #20
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am running it right now and i noticed that when the Inv is full it begins to drop the ores but sometimes cant click on a ore and doesn't drop it.

    EDIT Updated Inventory.scar and everything is fine now
    Last edited by sapetto; 07-13-2009 at 07:51 PM.

  21. #21
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Me thought it is an Anti-ban. I often do that too while playing legit so I leave it

    Time Running: 1 Hours, 48 Minutes and 55 Seconds
    Ores mined: 914
    Levels Gained: 0 Scroll down for SinglePlayer stuff
    Did MMouse antiban: 673 times
    Did Extra Antiban: 74 times
    Breaked 1 times
    Breaked for 12 minutes
    EXP Gained: 35210
    Current Level: 80
    EXP/hour: 19395
    Ores Mined/hour: 503
    ~~~~~Want 99?~~~~~
    Logs to 99: About 163983
    EXP to 99: 10986921
    Hours to 99: Less than 567
    Still working fine. Almost 81 I think but not sure.

    EDIT: It is the latest. Leo crushed me -_-
    Last edited by Sabzi; 07-13-2009 at 08:18 PM.

  22. #22
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yay, good to hear it's running good Thanks for the proggies

    EDIT: By the way, I'll probably have V1.1 (with granite powermining) ready and released later tonight.

  23. #23
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    I noticed in your progress report you write "Logs to 99" instead of "Ores to 99" or something similar. I thought you might want to fix that.

    The script looks pretty good, though, good job!
    :-)

  24. #24
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah I took a bit of code from my Willow Cutter in the SRL Members section

    Thanks Method

    EDIT: Woops, just realized the 'Logs/Ores to 99' is incorrect, I used a single integer to get that value, and that was the amount of exp you get for cutting a willow log I'll remove it, and a future update will be proggies with information that varies depending on the type of ore you're mining.

  25. #25
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Khm. Nobody reads a nooby Jr. Member's post? I said that before.

Page 1 of 5 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
  •