Page 1 of 2 12 LastLast
Results 1 to 25 of 38

Thread: BustingHard's Powerminer

  1. #1
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    BustingHard's [SRL] Powerminer

    BustingHard's
    PowerMiner

    Cheers,

    This is my very first SRL/Scar script. It's yet another powerminer. However, it's very functionable. There's included all the latest SRL anti-randoms and decent anti-ban system.

    A neat feature that needs to be mention, is the random free world picker. So, every time the script switches user, it also switches to a different world.

    Anyway, to add a player, this script uses pretty easy and straightforward user-friendly function:

    SCAR Code:
    {**
     * addPlayer();
     *
     * Adds a new player.
     *
     * @param string newName Players username.
     * @param string newPass Players password.
     * @param string newNick A part from player's username, for antirandoms.
     * @param mixed newOres Array of rocks to mine.
     * @param int newLoadsPerTurn Loads to mine after changing user.
     *}

    procedure addPlayer(newName, newPass, newNick: string; newOres: array of integer; newLoadsPerTurn: integer);

    So in order to set, let's say three player, you would add these:

    SCAR Code:
    procedure initialize;
    begin
        // Mines 2 loads, first iron and alternatively tin
        addPlayer('player_rick', 'player_rick1', 'ick', [ROCK_IRON, ROCK_TIN], 2);

        // Mines 3 loads, first coal and alternatively gold
        addPlayer('player_peter', 'player_peter1', 'eter', [ROCK_COAL, ROCK_GOLD, ROCK_MITHRIL], 3);

        // Mines 2 loads, first iron and alternatively coal
        addPlayer('player_john', 'player_john1', 'ohn1', [ROCK_IRON, ROCK_COAL], 2);
    end;

    Yes. The second last parameter defines the rocks to mine and it's also in order of priority.
    The very last parameter defines how many loads to mine before changing the player.

    For example,

    SCAR Code:
    [ROCK_COAL, ROCK_IRON]

    means that the script tries first to find some coal and if there's not one available, it will go for iron. It doesn't matter how many ores you prefer, just just put them in order of priority.

    The neatest feature of this script must be pretty detailed statistics. Take a look at this example:

    Code:
    
    Progress report
    -------------------------------------------------------------------------------
    Mined 301 rocks and gained 11105 experience
    Worked 1h 5m 14s
    
    -------------------------------------------------------------------------------
    player1, currently at Rimmington: 47312exp
    -------------------------------------------------------------------------------
    
    Rocks mined      : 62, 15,6s/rock
        Irons        : 62, 5,19s/rock (2170exp, 86 rocks to go)
    Rocks lost       : 7
    Time per load    : 7m 19s
    Experience gained: 2170exp
                       37% done to next level
                       2994exp to go
    Mining level     : 42 (0h 22m to next)
    Rnds. encountered: 1
    Worked           : 0h 16m 11s
    
    -------------------------------------------------------------------------------
    player2, currently at Rimmington: 773162exp
    -------------------------------------------------------------------------------
    
    Rocks mined      : 165, 7,59s/rock
        Irons        : 160, 0,26s/rock (5600exp, 1180 rocks to go)
        Golds        : 5, 6,6s/rock (325exp, 636 rocks to go)
    Rocks lost       : 2
    Time per load    : 3m 33s
    Experience gained: 5925exp
                       12% done to next level
                       41283exp to go
    Mining level     : 70 (2h 25m to next)
    Rnds. encountered: 2
    Worked           : 0h 20m 53s
    
    -------------------------------------------------------------------------------
    player3, currently at Rimmington: 199120exp
    -------------------------------------------------------------------------------
    
    Rocks mined      : 74, 15,5s/rock
        Irons        : 60, 1,53s/rock (2100exp, 119 rocks to go)
        Golds        : 14, 18,9s/rock (910exp, 64 rocks to go)
    Rocks lost       : 8
    Time per load    : 7m 14s
    Experience gained: 3010exp
                       42% done to next level
                       4134exp to go
    Mining level     : 56 (0h 26m to next)
    Rnds. encountered: 1
    Worked           : 0h 19m 7s
    
    -------------------------------------------------------------------------------
    
    Finally, the last but not least things to remember in order to run this properly: Set your screen's color-depth to 32bits and run RuneScape in low-quality mode!! Otherwise this won't work at all.

    Well, this is not bug-free. So, any bugs you notice or additional features you would like to have, please let me know about it.

    To install the package just extract the it under scripts/ folder.
    Yeah, and, don't be rude at me As I said, this is my very first script.

    That's pretty much it. Have fun!


    Version history:
    ---------------
    0.1.25 - More statistics: Time per load, Location. Even more fail safes. Implemented autocolor feature; completely autocolored. Beta-step for finding out player location in RuneScape.
    0.1.21 - Implemented loads to mine for player before changing to next. Fixed possible issue with logging in. Another tune-up and fix for gas checker.
    0.1.20 - DropAllItems() working now. Better antiban; variation in mouse speed on different situations. More statistics (activity).
    0.1.18 - Pickaxe doesn't have to be equipped anymore. More fail safes.
    0.1.16 - Additional fail safes.
    0.1.15 - Added more statistics. Better anti-ban. Implemented few new things that get to work in next release.
    0.1.13 Several optimizations and adjustments - more stabil.
    0.1.10 Fixed find pick head routines. The one from SRL 3.7 didn't work properly so I had to fix it.
    0.1.00 Initial release

  2. #2
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bustinghard View Post
    Cheers,

    This is my very first SRL/Scar script. It's yet another powerminer. However, it's quite functionable and works nicely. All the latest SRL antirandoms and decent antiban-system.

    One neat feature that needs to be mention, is random free world picker. So, every time the script switches user, it also switches to a different world.

    Anyway, to add a player, this script uses pretty easy and user-friendly function:

    SCAR Code:
    {**
     * addPlayer();
     *
     * Adds a new player.
     *
     * @param string newName Players username.
     * @param string newPass Players password.
     * @param string newNick A part from player's username, for antirandoms.
     * @param mixed newOres Array of rocks to mine.
     *}

    procedure addPlayer(newName, newPass, newNick: string; newOres: array of integer);

    So in order to set, let's say three player, you should add these:

    SCAR Code:
    procedure initialize;
    begin
        addPlayer('player_rick', 'player_rick1', 'ick', [ROCK_IRON, ROCK_TIN]);
        addPlayer('player_peter', 'player_peter1', 'eter', [ROCK_COAL, ROCK_GOLD, ROCK_MITHRIL]);
        addPlayer('player_john', 'player_john1', 'ohn1', [ROCK_IRON, ROCK_COAL]);
    end;

    Yes. The last parameter defines the rocks to goal. And it's also in priority-order.

    For example,

    SCAR Code:
    [ROCK_COAL, ROCK_IRON]

    means that the script tries first to find some coal and if there's not one available, it will go for iron. It doesn't matter how many ores you prefer, just just put them in priority order array.

    The neatest feature of this script must be pretty detailed statistics. Take a look at this example:

    SCAR Code:
    Progress report
    -------------------------------------------------------------------------------
    Mined 15 rocks and gained 262,5 experience

    -------------------------------------------------------------------------------
    xxxxxxxx: 2414,5exp
    -------------------------------------------------------------------------------

    Rocks mined      : 15, 18,6s/rock
        Tins         : 15, 7,8s/rock (262,5exp, 19 rocks to go)
    Rocks lost       : 4
    Experience gained: 262,5exp
                       1% done to next level
                       327,5exp to go
    Mining level     : 15 (0h 5m to next)
    Worked           : 0h 4m 40s

    -------------------------------------------------------------------------------

    Well, this is not bug-free. So, any bugs you notice or additional features, please let me know about it.

    So, to install it just extract the package under scripts/ folder.
    Yeah, and, don't be rude at me As I said, this is my very first script.

    That's pretty much it. Have fun!


    I must say its amazing i like the neat report!

    very nice its new neat and useful!

  3. #3
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Report looks neat
    But can I ask you, WTF happended to your script? I can't see it
    edit: Found it, I don't like all those includes so I will take a look later.
    I made a new script, check it out!.

  4. #4
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by markus View Post
    Report looks neat
    But can I ask you, WTF happended to your script? I can't see it
    edit: Found it, I don't like all those includes so I will take a look later.
    Sorry, back there again

  5. #5
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Oh, and please send some reports

  6. #6
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Anybody got any statistics yet?

  7. #7
    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I get this error?

    Include file C:\Program Files\SCAR 2.03\includes\../scripts/bhpowerminer/lib.pas does not exist.

  8. #8
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by Ayoub View Post
    I get this error?

    Include file C:\Program Files\SCAR 2.03\includes\../scripts/bhpowerminer/lib.pas does not exist.
    You have to extract that .rar package to your scar's script folder. In addition, those files should be in scripts/bhpowerminer folder.

    If that doesn't work, I suggest you to download SCAR divi 3.06 + SRL 3.7.

  9. #9
    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bustinghard View Post
    You have to extract that .rar package to your scar's script folder. In addition, those files should be in scripts/bhpowerminer folder.

    If that doesn't work, I suggest you to download SCAR divi 3.06 + SRL 3.7.
    Ok, I fixed that, now I get this:

    Failed when compiling
    Line 47: [Error] (15766:1): Unknown identifier 'inc' in script C:\Program Files\SCAR 2.03\includes\../scripts/bhpowerminer/general.pas

  10. #10
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by Ayoub View Post
    Ok, I fixed that, now I get this:

    Failed when compiling
    Line 47: [Error] (15766:1): Unknown identifier 'inc' in script C:\Program Files\SCAR 2.03\includes\../scripts/bhpowerminer/general.pas
    Yep, only solution to that is to update to SCAR Divi 3.06. Sorry.

  11. #11
    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bustinghard View Post
    Yep, only solution to that is to update to SCAR Divi 3.06. Sorry.
    The script doesnt really work, it just stands there..

  12. #12
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by Ayoub View Post
    The script doesnt really work, it just stands there..
    Well, it does work. Defined RS windows?
    On top of that you have to start the script near rocks. For example, Rimmington mine is perfect. Try it out.

  13. #13
    Join Date
    Jun 2007
    Location
    Kentucky, United States of America
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How do I extract the files once I download the script? Because when I try to simply open the file it says Windows cannot find the specified path and I don't have permission to view this.

    I tried to save it to my computer and extract it from there, but all that seems to come up on SCAR is 8,000 lines of symbols.

    I have SCAR Divi and the latest SRL.

  14. #14
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by crossback7 View Post
    How do I extract the files once I download the script? Because when I try to simply open the file it says Windows cannot find the specified path and I don't have permission to view this.

    I tried to save it to my computer and extract it from there, but all that seems to come up on SCAR is 8,000 lines of symbols.

    I have SCAR Divi and the latest SRL.
    Sigh..

    Google winrar my friend.....

  15. #15
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    So, any additional features you would like?

  16. #16
    Join Date
    Dec 2006
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    make it so the pick axe dosnt have to be equiped. i lost a rune and addy pick because my pick wasnt equipt(i cant spell it for some reason =s)

  17. #17
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by wavewalker View Post
    make it so the pick axe dosnt have to be equiped. i lost a rune and addy pick because my pick wasnt equipt(i cant spell it for some reason =s)
    Hey,

    Sure, I'll put it in next release. Sorry 'bout that And it's equipped.

  18. #18
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by wavewalker View Post
    make it so the pick axe dosnt have to be equiped. i lost a rune and addy pick because my pick wasnt equipt(i cant spell it for some reason =s)
    Done.

  19. #19
    Join Date
    Jan 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OR NOT !

    Lost 2 rune pics !


    U shod add another variable at the player declaration ( true or false , boolean ) and condition the dropping of the item in the first inv slot !

    OR BETTER , check the color of every dropped item and drop only the ore ! (HINT allof them have broun spots , the earth)

    It lags a little too ! ( still work pc is amd 1800 256 ram )
    NICE SCRIPT !
    Hope u`ll fix this problems ,
    If u do i`ll testit home
    PEOPLE PLEASE AUTO PROPERLY

  20. #20
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by dudutzu View Post
    OR NOT !

    Lost 2 rune pics !


    U shod add another variable at the player declaration ( true or false , boolean ) and condition the dropping of the item in the first inv slot !

    OR BETTER , check the color of every dropped item and drop only the ore ! (HINT allof them have broun spots , the earth)

    It lags a little too ! ( still work pc is amd 1800 256 ram )
    NICE SCRIPT !
    Hope u`ll fix this problems ,
    If u do i`ll testit home
    Sorry, my bad. Now it's working as it should. Tested with 5 accounts and never dropped a single pick.

  21. #21
    Join Date
    Jun 2007
    Location
    Kentucky, United States of America
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry. Quite new at this. I always get an error because it can't find the compass angle.

    I have it set at 32 bit color, so I'm not sure why it doesn't work. I know it must be something I'm doing wrong, since it does it for almost every script I use. My internet's pretty shoddy, so I'm just trying to get this right for when I switch ISP providers.

    Any idea what it could be? And thanks for all of your help so far.

  22. #22
    Join Date
    Jan 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how do you set it to do more than 1 load per person

  23. #23
    Join Date
    Jan 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try starting logged out or logged in, it works logged in for me.

  24. #24
    Join Date
    Jun 2007
    Location
    I live where you live...
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bravo!!! Lol this program looks like it will run well. I tried it and it switched worlds randomly, nice addition, but when it logged in, it didn't get past the "Click to Play" Menu. So I stopped it and ran it again when it was logged in (I'm in Rimmington Mines), the mouse went from my inventory, where it detected the pickaxe colors, to my stats bar where it moved to my mining, then it just stops there. Can you give me some feedback into why it does this? I'm running 3.06 with SRL 3.70. Help please.

    Report:
    SRL Compiled in 32msec.
    Pick head colors... 3749945 4868426 4342082 4343114 5394778
    *Then I stop it here because it doesn't do anything from henceforth but it says the script is still running.*
    Then it says "Successfully Executed" As always when you stop a program. Lol.

    Thank You,

    Bombo

  25. #25
    Join Date
    Jan 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    bombo, sounds like its not detecting the ore colors. Change the ore colors and it should work.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ess powerminer
    By Kasi in forum OSR Help
    Replies: 1
    Last Post: 02-14-2008, 07:42 PM
  2. help on my powerminer
    By Kyle in forum OSR Help
    Replies: 2
    Last Post: 12-23-2007, 01:59 PM
  3. My First PowerMiner
    By w0g in forum First Scripts
    Replies: 14
    Last Post: 10-16-2007, 12:54 AM
  4. ???powerminer???
    By shadowblade in forum OSR Help
    Replies: 10
    Last Post: 12-01-2006, 09:22 AM
  5. Powerminer
    By CamHart in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 11-30-2006, 03:14 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
  •