SRL Archive - RS3 Outdated / Broken Scripts

Ultimate Miner [SRL]


Press Play

2010-06-26 09:31:42




[SRL]
 [SMART]

Ultimate Miner
by -daazndagger-

Status: In need of dire Revamp!
Version: 1.01



A neat litle powermining script that I made in 2007-08. Now I have edited, organised and updated to really test and improve my scripting skills. I hope to further develop it into a 'universal' miner, that can mine and bank almost anywhere.

Make sure you post your progress reports and give feedback so that I can fix bugs and make this the best mining script ever! Use it wisely; have fun!

News:
[28/06/10] 'Requirements' section added.
[01/08/10] Version 1.01 Released!
[01/08/10] New Top Progress Report!


Requirements:
  • You will need the latest version of SCAR (Currently 3.23) and SRL Open-Dev.
  • For details on setting up SCAR and SRL Open-Dev follow Coh3n's Guide. it is the best tutorial I know!
  • Sign up to Script Manager to see the script's and your overall statistics. For more information read YoHoJo's Guide. (Note: this is optional and not needed to run the script.)

Features:
  • uses SMART (Scar Minimizing Autoing Resource Thing)
  • can powermine any ore
  • anti-randoms (SRL's functions)
  • anti-ban (Acts like a human)
  • random drop patterns
  • drops unwanted gems
  • quick and fast?
  • takes breaks dependant on time running
  • changes world if players keep stealing your rocks
  • uses a version checker
  • has Stats, hosted at http://scriptmanager.freehostia.com/


Setup/Instructions:
  1. Setup the varibles as required; currently from lines 48-144. (see code below) Note: You might need to change the rock colours, but you shouldn't have to.

  2. const
    SMARTMembers = false; // Members?
    GemDroppingp = true; // Do you want to drop your gems that you get from mining?
    WriteDebug = false; // Shows EVERYTHING that is happening in debug log
    LoadsToDoAll = 00; // Total loads to do per character

    Players[0].Name :=''; // Character's username
    Players[0].Pass :=''; // Characters password
    Players[0].Nick :=''; // 3-4 lower case letters of your character's name
    Players[0].Integers[0] := 10; // Amount of loads to do before switching
    Players[0].Integers[1] := 5000; // Time(ms) to wait before attemting to mine another rock
    Players[0].Strings[0] :='iron' // Ore you want to mine
    Players[0].Active := True; // Are you using this player?
  3. Place your character near the rocks you want to mine. (see 'Tested Spots' below for the best places)
  4. Your should have a pickaxe! It doesn't matter where you put it.
  5. Press PLAY!

To-do list:
  • Version checker
  • Stats
  • Simba compatability (I think it can currently run with Simba, but it may not be stable)
  • Updates via SVN
  • Varrock East - Mine and Bank (iron)
  • Dwarven Mine - Mine and Bank (coal, gold, addy)
  • Rimmington - Mine and Bank? (iron, gold)
  • Mining Guild - Mine and Bank? (coal, mith)

Tested Spots:
  • Copper:
    • South Lumbridge
    • Dwarven Mine
  • Tin:
    • South Lumbridge
  • Iron:
    • Al Kharid (all spots tested)
    • Rimmington (all spots tested)
    • Dwarven Mine
(See attached thumbnail for full map of tested spots.)

Tips:
  • your mining is not limited to the 'Tested Spots'. Feel completely free to mine elsewhere. It should work anywhere anyway.
  • avoid mining an ore that has a similar colour to your pickaxe or character's clothes. (eg. avoid mining tin when using a steel pickaxe)
  • don't minimize/restore SMART all the time because it can cause errors.
  • Check the 'News' section of this post and keep up to date.
  • Subscribe to this thread!

Version History:

Version 3.6 and below (07-08):
- uses SMART
- uses TPAs for the rock-finding procedure
- anti-randoms
- anti-ban (human-like features)
- gem dropper

Version 3.7 (2010):
- fixed it up because it was outdated

Reverted to Version 1.00:
- uses ATAPs for the rock-finding procedure
- fixed every procedure :P
- made progress report better
- changed name to 'Ultimate Miner'
- released to the forums
Version 1.01:
- added Stats and Version Checker

Top Progress Reports:
[PHP]
//by -daazndagger-
[====================================]
[ Ultimate Miner 1.01 ]
[ by Daazndagger ]
[====================================]
[ Run Time : 32 Hr 30 Min 23 Sec ]
[ Total Mined : 4046 ]
[ Total Loads : 147 ]
[ Total XP : 88847.5 ]
[ Breaks Taken : 40 ]
[====================================]
[ Ultimate Miner 1.01 ]
[====================================]

[===========================================================================================================]
[ Nick | Active | Worked | Loads | Ores | Ores/Hour | Levels | Reason | XP | XP/Hour ]
[===========================================================================================================]
[ *** | False | 08:13:30 | 39 | 1031 | 149 | 0 | Failed to change world | 36085 | 5244 ]
[ *** | False | 08:32:47 | 34 | 952 | 111 | 7 | No Rock | 16660 | 1949 ] // Was in a random
[ *** | False | 06:58:23 | 31 | 864 | 142 | 4 | No Rock | 15120 | 2495 ] // Was in a random
[ *** | False | 08:33:01 | 40 | 1115 | 156 | 7 | Finished Loads | 19512.5 | 2736 ]
[ *** | False | 00:25:26 | 3 | 84 | 226 | 0 | No Rock | 1470 | 3970 ] // No idea?
[===========================================================================================================]
[/PHP]

Previous Views:

Old Thread:
BasicPowerMinerV2.5.scar (12.3 KB, 19 views)
BasicPowerMinerV3.05.scar (18.3 KB, 26 views)
BasicPowerMinerV3.2.scar (18.9 KB, 137 views)


kufo

2010-06-26 10:31:41

don't minimize/restore SMART all the time because it can cause errors.


I think that pretty much applies to any script as far as i know. My runs seem so much better if i just let it load and don't bother it for 8 hours.

Sabzi

2010-06-26 11:40:07

From: kufo
I think that pretty much applies to any script as far as i know. My runs seem so much better if i just let it load and don't bother it for 8 hours.


That's because most script uses color. And when you minimize/maximize smart it will have white/black(not sure but you get the point) screen for a moment just enough to muck up something. Also causes lag, I think. Maybe reflection suffers from minimizing too but I'm not sure about that.

masterBB

2010-06-26 16:37:22

CONFIRMED: reflection suffers from it too.

OT: Will try it tomorrow.

i luffs yeww

2010-06-26 20:12:52

D: Invalid attachment (thumbnail).

Press Play

2010-06-26 21:16:39

From: i luffs yeww
D: Invalid attachment (thumbnail).


Sorry about that. I fixed it, please try again :)

Buumi

2010-06-27 08:47:45

Worked really well!
[=========================================================================================]
[ Nick | Active | Worked | Loads | Ores | Ores/Hour | Levels | Reason | XP | XP/Hour ]
[=========================================================================================]
[ **** | True | 02:51:28 | 43 | 1201 | 420 | 0 | | 42035 | 14709 ]
[=========================================================================================]

Becks

2010-06-27 09:47:56

Looks good. I'll give it a run.

Press Play

2010-06-27 17:52:06

From: Buumi
Worked really well!


Good run! Thanks for testing :) I'm glad it's working for the general public so far.

nasadaws

2010-06-27 18:16:59

I keep getting:


Failed when compiling
Line 780: [Error] (22479:1): Unknown identifier 'ExitToLobby' in script C:\DOCUME~1\*****\LOCALS~1\Temp\Ultimate Power Miner V1.00.scar


What's the cause of this?

i luffs yeww

2010-06-27 20:26:20

^ You don't have correct SRL, I don't think.

Press Play

2010-06-28 04:39:03

@nasadaws

The most likely thing that has happened is that you do not have Open Dev SRL. I will put in a new section in the First Post about setting up SCAR and SRL for the script.

EDIT: Added. Please see the 'Requirments' section in the First Post. Thankyou :)

masterBB

2010-06-29 11:08:11

Tried it for 4 hours, but although it runs great and bugless, the speed is much lower than the alternatives….

i luffs yeww

2010-06-29 15:58:52

^ At what parts? It's always good to give the most information that you can. ;) Is it slow for finding the rocks? Dropping? Waiting for the next rock? Etc. etc.

masterBB

2010-06-29 17:56:59

The waiting isn't perfect. Sometimes it waits to short, already clicking on the next one while the first one isn't finished yet.

And when someone drops ore close to the rocks, it will hover over them and than waits a amount of time…

When you mining with multiple people at a few rocks, than it will loose, while we were bot using bots with about the same mining level.

It doesn't always chose the closest rock, clicking on a rock a few tiles a way.

^this was all on a few tin rocks… Though I don't want to just complain, there were many good parts in this script. I like the way it detects if the rock is gained. It never logged out without reason. It wasn't bad, but my private is just faster and so are the ones from rs bot. While color doesn't have to be slower.

i luffs yeww

2010-06-29 21:46:38

If it is already mining and clicks on a new rock, that can easily be fixed by adding in a simple inventory check.


function CheckInv: Boolean;
var
OldInv: Integer;
begin
i := 0;
OldInv := InvCount;
while InvCount = OldInv do
begin
Inc(i);
Wait(600 + Random(200));
if(WaitTime < (i * 600))then
MineNewRock;
end;
end;

That can be fixed with a simple UpText check (if(IsUpText('ore')then MineNewRock; ).

That has nothing to do with the script?

Hmm.. Then that's a problem with how he either finds the rock or he's not choosing correct colors.

Well of course! :) A private script will usually always be faster, as it's tailored to your needs, rather than something like a public script which is made to work for everyone with varying levels and connections. (And RSBot is much better at detecting if a rock is gone, the closest rock, etc., as it looks at the client, rather than the colors, if that makes sense.)

Hopefully that helps, dagger.

(Congratulations on membership, by the way. ;))

masterBB

2010-06-30 05:39:28

From: i luffs yeww
If it is already mining and clicks on a new rock, that can easily be fixed by adding in a simple inventory check.

It's already done with a inventory check, but there is a max time in there. If someones mines your rock, than it would keep waiting.

That can be fixed with a simple UpText check (if(IsUpText('ore')then MineNewRock; ).
That would fix it indeed, but there is already an uptext check in the script, also it moves to te ores, sees that its not an rock, and than moves the mouse to some odd location, waiting there for a few seconds….

Well of course! :) A private script will usually always be faster, as it's tailored to your needs, rather than something like a public script which is made to work for everyone with varying levels and connections. (And RSBot is much better at detecting if a rock is gone, the closest rock, etc., as it looks at the client, rather than the colors, if that makes sense.)
I do not agree, color can be at least as fast. But I don't think we should discuss that here


Thanks for your detailed reply.

Press Play

2010-06-30 05:49:59

Thankyou to the both of you for the wonderful feedback!

@masterBB
The waiting problems are due to the fact that it does not have rock tracking. The script clicks a new rock when either:
  1. A new ore is found in the inventory; or
  2. A specified time has been reached
    Players[0].Integers[1] := 5000;      // Time(ms) to wait before attemting to mine another rock
If it is not waiting long enough, you can make this integer higher. (But then you are faced with other problems like clicking a 'rock with no ore' and waiting too long.) Also, my script does not detect whether a rock is being by another person or not, sorry.

My script should be clicking the nearest rock because I use:
SortATPAFrom(Rock_ATPA, Point(MSCX, MSCY));
And then it goes through the TPAs from closest to furthest. But still, this function has yet to be improved.

@iluffsyeww

Thanks for that little piece of code. My script has similar implementations as mentioned above. Great feedback :) By the way, RSbot uses reflection so it will almost always be faster. YAYYY, I'm an SRL Member hahahh.

Thanks guys :)


EDIT: PS: masterBB, I'm stealing your way of quoting and answering; it's great!

i luffs yeww

2010-06-30 16:10:58

:p I said RSBot was faster, masterBB contradicted.

And I'm sure you had some of the ways I mentioned, I just didn't have the time to look through the script. :)

Cstrike

2010-06-30 17:47:44

Fuck I wish I saved the prog, but I got over 100k experience with this.

It's a great robot. Thank you.

Press Play

2010-06-30 18:05:03

From: cstrike
Fuck I wish I saved the prog, but I got over 100k experience with this.

It's a great robot. Thank you.


Wow nice! I'm very glad that no one has seen any bugs yet. Good work, I hope you'll have time to test it gain for me ;)

Cstrike

2010-06-30 20:24:08

From: -daazndagger-
Wow nice! I'm very glad that no one has seen any bugs yet. Good work, I hope you'll have time to test it gain for me ;)


I'll be doing it until 85 mining ;), short yet somewhat far ways away… my goal is to get a mega prog for you

It's only been fucked over by a mime so far, but thats once out of many hours.

drmic

2010-07-01 07:53:51

Anyone know where i can get a Catherby Lobbie Fighing/Banker Script

thanks

Press Play

2010-07-01 08:12:19

From: drmic
Anyone know where i can get a Catherby Lobbie Fighing/Banker Script

thanks

Sorry, but this is not the correct thread to post in. Please read the SRL Rules if you are unsure on anything. Please do not post in the wrong thread again. Thankyou :)

rs2 cheating roks!

2010-07-13 12:57:59

Heres a proggy :
[PHP]Failed to find World 74!
BAD : Failed to change worlds
Status:

Status: [===================================]
Status: [ Ultimate Miner 1.00 ]
Status: [ by Daazndagger ]
Status: [===================================]
Status: [ Run Time : 6 Hr 10 Min 53 Sec ]
Status: [ Total Mined : 2235 ]
Status: [ Total Loads : 81 ]
Status: [ Total XP : 78225 ]
Status: [ Breaks Taken : 1 ]
Status: [===================================]
Status: [ Ultimate Miner 1.00 ]
Status: [===================================]
[=========================================================================================================]
[ Nick | Active | Worked | Loads | Ores | Ores/Hour | Levels | Reason | XP | XP/Hour ]
[=========================================================================================================]
[ *** | False | 06:08:59 | 81 | 2235 | 363 | 0 | Failed to change world | 78225 | 12720 ]
[=========================================================================================================][/PHP]

Works really well! If your thinking of adding a banking function when do you think you'll release it?

Press Play

2010-07-13 20:23:29

From: rs2 cheating roks!

Works really well! If your thinking of adding a banking function when do you think you'll release it?


Thanks for the test! World changing is a SRL function, so that's good to know that all my scripting is still working and up-to date.

I am currently working on adding 'Stats' and making it work smoothly in Simba. So, a banking function should be available in about a month or two? I really depends on how much time I have on my hands. I am also working on two other scripts as well. By the way, did you use SCAR or Simba? It looks like you used Simba (from the way your proggy turned out).

Thanks again :)

rs2 cheating roks!

2010-07-14 13:48:28

I used Simba and just let me know if you need a tester :)

Press Play

2010-08-01 06:23:55

Version 1.01 has been released!


New Features:


For more information look at the first post.