SRL Archive - RS3 Outdated / Broken Scripts

Duff's Guild Miner ~ Revived


PatDuffy

2012-02-07 19:37:16

Duff's Guild Miner REVIVED!!!!
Current version: 1.1 Released
Status: Not Working


[LEFT]What Does It Do?
  • Mines coal in the mining guild :p

How To Use It[/LEFT]
  1. Download the attached script
  2. Have pickaxe either equipped or in inventory
  3. Be located at Fally East Bank
  4. Fill out the information asked for in the script, hit the big green arrow
  5. Show me your Proggies!

Features
  • 100% Color
  • SRL Stats
  • SPS and DTM Walking
  • Detects when a rock is mined fairly quickly

This script was my SRL Member application script when I applied and was accepted. It is for this reason I have decided to revive this script from it's slightly outdated form. In the days before the bot-nuke, when the Mining guild was being raped and pillaged it used to be able to detect the bot-swarm and avoid it at all costs. It used to be super-stable and I hope it will continue to be in the future.

Pre-'BotNuke'
[==================================================================]
[ Guild Miner by PatDuffy ]
[==================================================================]
[ Total Time Run: 50 Hours, 31 Minutes and 19 Seconds ]
[==================================================================]
[ Total Number of Coal Mined: 3654 ]
[ Total Number of Gems Mined: 15 ]
[ Total Number of Loads: 135 ]
[ Total Number of Experience Gained: 182700 ]
[ BanHammer Evaded : 645 Times ]
[==================================================================]
[ Player: 0 : **** ]
[ Loads: 96 ]
[ Coal Mined: 2606 ]
[ Gems Mined: 10 ]
[ BanHammer Evaded: 473 Times ]
[ Player Active: True ]
[==================================================================]
[ Player: 1 : **** ]
[ Loads: 39 ]
[ Coal Mined: 1048 ]
[ Gems Mined: 5 ]
[ BanHammer Evaded: 172 Times ]
[ Player Active: True ]
[==================================================================]

Today…
[==================================================================]
[ Guild Miner by PatDuffy ]
[==================================================================]
[ Total Time Run: 43 Minutes and 31 Seconds ]
[==================================================================]
[ Total Number of Coal Mined: 167 ]
[ Total Number of Gems Mined: 1 ]
[ Total Number of Loads: 6 ]
[ Total Number of Experience Gained: 8350 ]
[ BanHammer Evaded : 2 Times ]
[==================================================================]
[ Player: 0 : eng ]
[ Loads: 6 ]
[ Coal Mined: 167 ]
[ Gems Mined: 1 ]
[ BanHammer Evaded: 2 Times ]
[ Player Active: True ]
[==================================================================]

It doesn't make the most money ever, but hey it's free coal and exp!

E: Derp forgot to upload the script with this thread

Donate to help support future development for this and other p2p scripts. Membership doesn't buy itself!

doublex8

2012-02-08 00:12:54

SWEET! So glad this is back. I'm running it now. If you have p2p I wouldn't mind loaning you my drag pickaxe sometime so you could add drag pic support? I'll post the proggy when I wake up tomorrow.

Usa

2012-02-08 00:59:30

Awesome work Duff a much needed script in the community.

Rawrasaurus

2012-02-08 01:55:01

I'm starting with dragon pickaxe equipped in fally east bank, empty inventory, correct graphics settings.

It sits there and does nothing, other than clicking the equipped items tab once. Log says 'Could not find pick'.

What do :)

EDIT: I tried it with a rune pickaxe and it worked fine. Can you fix having dragon pick equipped? Thanks!

EDIT 2: When banking, it just stands at the bottom of the ladder and does nothing, here's the log

Mined Some Coal
Mined Some Coal
Player has full inv, time to bank
walked to ladder
Player did not climb up ladder
Player is out of mine
Failed to walk to bank

I Bot Phats

2012-02-08 02:27:14

Turning it on now, will post proggy once I have one :)

Edit: When I got back to the bank to bank the ores it clicked on the password protection sign in the bank and got stuck. I had to exit the sign so it could continue. working well in the mine and everything else though

Edit 2: Had the same problem as rawrasaurus, it missclicked when it tried to click the stairs. Then stood there.

Mined Some Coal
Mined Some Coal
Player has full inv, time to bank
walked to ladder
Player did not climb up ladder
Player is out of mine
Failed to walk to bank

PatDuffy

2012-02-08 07:03:23

Those are interesting errors….I'll make some custom banking functions to prevent that from happening.

Ill also add an area detection function to fix the other problem.

shadowmarkus

2012-02-08 07:08:17

Glad to see this! Just a few days ago I were looking for a guild miner!

Looks like a solid script!

EDIT: Tested it out, and it managed to get stuck trying to find the ladder. Seems like it needs some more failsafes.

Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder

While it eagerly look for the ladder, even though the ladder is not visible.

doublex8

2012-02-08 09:24:10

I had the same walking problem as Rawrasaurus with getting stuck by the ladder in the mine while walking to the bank.

hader dem2

2012-02-08 15:08:47

can u add inferno adze it could be nice

PatDuffy

2012-02-08 15:30:54

if someone could get a working DTM of a dragon pickaxe & Adze I would gladly add them, I sadly do not have an account with either item.

Mat

2012-02-08 15:34:56

<3 Duffy = Jizz :P

quicksilver

2012-02-08 21:18:33

From: shadowmarkus
Glad to see this! Just a few days ago I were looking for a guild miner!

Looks like a solid script!

EDIT: Tested it out, and it managed to get stuck trying to find the ladder. Seems like it needs some more failsafes.

Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder
Player did not climb down ladder

While it eagerly look for the ladder, even though the ladder is not visible.


Cannot start the script in the mine. have to start it in falador east bank

solid123

2012-02-08 23:48:35

i can start mine in the mine and bank doesnt matter :S but always seems to crash on way to bank or in the bank after 1 or 2 loads

PatDuffy

2012-02-09 08:15:36

From: solid123
i can start mine in the mine and bank doesnt matter :S but always seems to crash on way to bank or in the bank after 1 or 2 loads


How does it crash? Is it the walking, or ladder detection?

facefullz

2012-02-09 16:20:00

I get the same thing… after 1 or 2 load he crash with the bank walk….

The same crash appear with MSI Guild Mining script :/.

PatDuffy

2012-02-09 16:34:44

I'll take a look at what I can fix, I have a few hours on downtime.

lolcat

2012-02-09 20:12:06

Needs to be Faster!!!

PatDuffy

2012-02-09 20:20:28

From: lolcat
Needs to be Faster!!!


Which part? I always thought it's detection was fairly quick….

Chivava

2012-02-10 03:12:21

Question, why does it claims it is a non member when it has been compiled, even tho i've changed it from false to true?

Welcome Fruity

2012-02-10 07:57:55

Only mined 3.6k coal in 50 hours?

PatDuffy

2012-02-10 08:07:29

From: Welcome Fruity
Only mined 3.6k coal in 50 hours?


That report was from before the bot-nuke, if you ever saw the Mining Guild in those days that's a good number.

jakeyboy29

2012-02-10 11:43:17

the guild is getting full again now! :(

jakeyboy29

2012-02-10 12:25:16

bumping so you can see this.

I suggest using a TPA for finding the rock, at the minute it hovers off the map as its black, it gets stuck there trying to mine rocks with no ore in :)

shadowmarkus

2012-02-10 13:19:07

From: quicksilver
Cannot start the script in the mine. have to start it in falador east bank


I know that………..:duh:

rice

2012-02-10 14:18:13

nice script thnx

PatDuffy

2012-02-10 19:35:46

From: jakeyboy29
bumping so you can see this.

I suggest using a TPA for finding the rock, at the minute it hovers off the map as its black, it gets stuck there trying to mine rocks with no ore in :)


Lol, I do use TPA's :p

i pkwa9lawy i

2012-02-10 23:04:46

will use once i get my minner to 60 hope to see more reports :D

Ashblade

2012-02-11 10:19:18

Yeah, i have the same problem with the script only clicking rock with no ore int it.

PatDuffy

2012-02-11 11:58:54

From: Ashblade
Yeah, i have the same problem with the script only clicking rock with no ore int it.


That's odd….I'll check my colors again. I have never had that problem before.

maxxfilth

2012-02-12 14:44:03

Only does one load then has trouble banking

Bixby Sayz

2012-02-12 17:52:28

Didn't have much luck with this either. It moused over empty rocks, my character, a pipe of some sort on the north wall, and the skill popup for experience repeatedly. On rare occasions it actually found a rock with ore in it.

PatDuffy

2012-02-12 17:54:33

From: Bixby Sayz
Didn't have much luck with this either. It moused over empty rocks, my character, a pipe of some sort on the north wall, and the skill popup for experience repeatedly. On rare occasions it actually found a rock with ore in it.


Wow…colors must have changed since I released, I'll "actually" take a look at it tomorrow, I promise :p

kingsleyeng

2012-02-13 00:19:53

thank you very user friendly script only wish the resource one was too new too this so i dont know what i need to do too use that 1 lol

hopefully it works well

nuncatsji

2012-02-17 05:16:12

Also gets stuck at the ladder after 2 runs, a pitty!

PatDuffy

2012-02-17 14:41:11

Working on an update for this the past few days.

Currently I have;
~Updated coal ore colors, no more misclicking
~Updated walking & Failsafing
~Updated failsafing on ladder-climbing(this solves the issues with ladders, was a really stupid mistake I made)

Bdisnowman

2012-02-17 14:42:59

Do you have bank pin support on this?

PatDuffy

2012-02-17 18:03:58

From: Bdisnowman
Do you have bank pin support on this?


I'm not sure, but I can easily throw it into the newer version

exctasy

2012-02-17 18:20:51

The bot doesnt go looking for more ores, it just waits till it spawns near by

PatDuffy

2012-02-17 18:25:29

From: exctasy
The bot doesnt go looking for more ores, it just waits till it spawns near by


I am afraid that this is not a bot….you must have come to the wrong place.

Bixby Sayz

2012-02-17 18:38:01

From: PatDuffy
I am afraid that this is not a bot….you must have come to the wrong place.
Lets not reopen that particular can of worms.

tiggerred

2012-02-17 19:27:22

hope this bad boy works

PatDuffy

2012-02-17 19:43:57

From: tiggerred
hope this bad boy works


It's fairly crappy in it's current version. The update coming soon will fix a number of issues, but it's not stable enough yet for a full release.

Eckoempblast

2012-02-20 01:00:14

How can i download this??

teKnoh

2012-02-20 02:26:41

From: Eckoempblast
How can i download this??


Just look at the bottom of the main post, It's an attached file. Bot Safe!

Pdiamond

2012-02-23 15:24:43

Any ETA on the release of the new version Duff? I can't wait to try it out.

PatDuffy

2012-02-23 17:16:04

From: Pdiamond
Any ETA on the release of the new version Duff? I can't wait to try it out.


Um, not really. I'm really busy again IRL until Monday. I'm also working on fixing MSI's guildminer, so if I can get that running then I'm just going to have that updated and close this.

Pdiamond

2012-02-23 20:15:33

From: PatDuffy
Um, not really. I'm really busy again IRL until Monday. I'm also working on fixing MSI's guildminer, so if I can get that running then I'm just going to have that updated and close this.


Ah, alright. Thanks either way. I love your work.

richymul

2012-02-26 16:46:34

umm i just get this
Pick found Equipped
Error: Exception: Access violation at line 89
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

function IsFKeyDown(FKey : integer) : boolean;

PatDuffy

2012-02-26 17:06:08

Actually read the last few posts.

I am extremely busy right now and am working on fixes.

Apezwijn

2012-02-28 05:11:58

It's not flawless, dislikes:

- It sometimes gets stuck at the bank cos it clicks the notice board on the wall and a dialogue opens.
- It get's 'stuck' at the most northern part of the mining guild (where the door is with the dwarf). It keeps clicking the lantern.
- It's very slow, maby change waiting times and it's algorithm.
- When it fails to mine a rock while there are other rocks available it keeps trying to mine that rock.

PatDuffy

2012-02-28 10:14:55

From: Apezwijn
It's not flawless, dislikes:

- It sometimes gets stuck at the bank cos it clicks the notice board on the wall and a dialogue opens.
- It get's 'stuck' at the most northern part of the mining guild (where the door is with the dwarf). It keeps clicking the lantern.
- It's very slow, maby change waiting times and it's algorithm.
- When it fails to mine a rock while there are other rocks available it keeps trying to mine that rock.


All being fixed when I have time. I finally have a few days of free time that I can use to work on it.

That is, after I go to the auto-store and buy a new tire and change out a flat I got last night.

benzinlol

2012-03-05 06:27:28

Just started, will come back in a couple of hrs and give a review of the bot:)

BotOnce

2012-03-05 11:51:45

Why does it keep clicking the run icon every time it goes to another rock? It doesnt even set it to run it just keeps clicking it and thats not good because who other than a bot would do that? please fix this. Also its very slow. VERY slow.

PatDuffy

2012-03-05 17:06:46

From: BotOnce
Why does it keep clicking the run icon every time it goes to another rock? It doesnt even set it to run it just keeps clicking it and thats not good because who other than a bot would do that? please fix this. Also its very slow. VERY slow.


Ok relax. I did some testing and editing last night, and I didn't have either of those problems.

I will look into it though.

InH

2012-03-05 18:13:56

Tested this last night, didn't mine for me I started at bank and it didn't walk, and then I started it at mine and It mined but didn't bank.

benzinlol

2012-03-06 06:49:09

didn't get this to work, did start it at the bank. then it just stopped and ''Failed walking to ladder'' or something like that :S

band0ler0

2012-03-06 08:03:17

Great script duff thanks. Is there a way to do mith/addy/runeite instead of coal? Would it be a simple color switch in the script?

PatDuffy

2012-03-10 22:01:39

Well I finally had time to test it…and I cannot replicate ANY of the errors anyone has had except the one with misclicking while banking….

If you guys can, be more specific with your errors.

E: I made some changes anyway that I'm testing now.
~New walking
~New colors for ore
~Added a function/procedure combo to relocate the player if it gets too close to the corner of the guild with the door

PatDuffy

2012-03-11 14:57:34

Updated to V1.1 finally :p

Tell me how it works, it's been running perfectly fine for me.

E: 2 hour run so far on the released V1.1, the speed is fine for me, but the guild is extremely crowded so low ores/hour.

RocketSingh

2012-03-13 08:17:50

Sorry guys for the stupid question (I m new to bots), how do you increase the mine time? For this particular script thx in advance =)

PatDuffy

2012-03-13 08:19:01

From: RocketSingh
Sorry guys for the stupid question (I m new to bots), how do you increase the mine time?


the mine time? what do you mean, as in the time it runs, or the time it takes for each ore?

RocketSingh

2012-03-13 08:21:38

Sorry the time it runs =)

RocketSingh

2012-03-13 08:26:53

I m only using 1 player btw

PatDuffy

2012-03-13 18:09:29

Well is it ending with an error message? Is the player stuck?

RocketSingh

2012-03-13 22:41:06

well it just logs out after an hour. I want it to log out after like 10 hours or something

PatDuffy

2012-03-14 09:36:32

From: RocketSingh
well it just logs out after an hour. I want it to log out after like 10 hours or something


It will log off if it gets stuck automatically. Is there any message in the debug box?

RocketSingh

2012-03-14 10:07:49

cant remember man… Have to w8 to check. Now it started going off after 2 hours. Wat do u mean by stuck? as in he cant mine or cant move ???

PatDuffy

2012-03-14 11:11:03

From: RocketSingh
cant remember man… Have to w8 to check. Now it started going off after 2 hours. Wat do u mean by stuck? as in he cant mine or cant move ???


Stuck as in the script stops working….

iiNveRsioN

2012-03-14 22:51:53

It doesn't work so well at all..

I start at the bank.. it runs into the mine just fine, and then it'll start mining the first ore it sees. It'll mine 3-5 ores and then it'll just sit at one rock and continuously click it whether there is ore in it or not.



Average pixel shift: 77
Average pixel shift: 62
Average pixel shift: 78
Average pixel shift: 81
Average pixel shift: 80
Average pixel shift: 60
Average pixel shift: 82
Average pixel shift: 117
Average pixel shift: 74
Average pixel shift: 44
Average pixel shift: 69
Average pixel shift: 81
Average pixel shift: 562
Average pixel shift: 93
Mined Some Coal
Average pixel shift: 188
Average pixel shift: 92
Average pixel shift: 79
Average pixel shift: 63
Average pixel shift: 41
Average pixel shift: 80
Average pixel shift: 54
Average pixel shift: 42
Average pixel shift: 60
Average pixel shift: 75
Average pixel shift: 414
Average pixel shift: 802
Average pixel shift: 649
Average pixel shift: 640
Average pixel shift: 608
Average pixel shift: 310
Average pixel shift: 83
Average pixel shift: 83
Average pixel shift: 60
Average pixel shift: 284
Average pixel shift: 313
Average pixel shift: 94
Average pixel shift: 44
Average pixel shift: 66

^ there is some of the debug for this.

Joe

2012-03-15 09:57:20

Me likey… oh this is sweet.

PatDuffy

2012-03-15 10:17:24

Inversion, that should not be happening… It's correctly detecting that there is no movement, hence the pixel shifts being spammed….but I don't know why it wouldn't then continue mining. Were there lots of other people in the mine? Were there ores in view?

RocketSingh

2012-03-15 10:51:46

Many ppl. I seem to notice that it only logs out when my inventory is full

Aesty

2012-03-17 07:04:08

Looking really good! Will test + post proggy

The Killer

2012-03-19 13:27:56

gannna try, theres no coal bag support? :( o well looks promising :P

hoopla

2012-03-19 23:04:17

I noticed that the colorspiral confuses coal for the top entrance to whatever is now in the dwarven mines (excuse me, I cannot keep up with all the bullshit added to RS). A simple fix would be to extend how far it clicks back into the mine…it falls a little short and goes a little haywire. Also, I noticed that if it cannot find an ore, it defaults to the run button and turns it on and off…That seems suspect when you analyze keystrokeage!!!

otakun

2012-03-29 10:43:50

So far mine simply sits at the bank hovering over the notice board. I was able to coax it into hovering over a banker at one point, but other than that I've only been able to get it to even walk once. He started to run around the bank, I think towards the mine, I stopped it before I could tell for sure, this one not working may have been somewhat more on my than the script, I may have gotten in running simply to stop it before it could function properly.

Anyway, thanks for your time and work on the scripts mate.

brandel

2012-05-08 09:59:14

Only me who get a compling error?

xXAlfaMaleXx

2012-05-08 17:46:14

no i also got a compiling error its on line 259

tezlin

2012-05-10 22:53:03

I got a compiling error as well. Anyone know how to fix this? :)

lap101

2012-05-11 08:24:11

Same


[Hint] D:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] D:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (260:13): Unknown identifier 'DWARVEN_MINE' at line 259
Compiling failed.

PatDuffy

2012-05-11 08:34:27

That's because this isn't updated more SPS2.0, and won't be for the next 2-3 weeks.

I am extremely busy IRL, and will not have time to fix any of my scripts until after May 30.

So for the last time since your all morons it seems, IT'S NOT UPDATED.