PDA

View Full Version : [Mining] SRL Power Miner



NCDS
08-24-2015, 04:12 PM
SRL Power Miner

After a ~3 year hiatus from SRL, I needed something to get re-familiarized with the library, and so came the SRL Power Miner.
Originally, this was intended to be made solely from SRL functions; similar to what marpis; did years ago for SRL5. However, most functions ended up being custom.


FEATURES:

Automatically Updates from GitHub
Mines Iron or Coal (anywhere?)
Multiplayer
Breaks (if only 1 player)
Supports Perfect JuJu Mining Potion
Handles strange rock



Requirements:

Download ProSocks.dll (https://github.com/Brandon-T/ProSocks/releases/download/v0.3/ProSocks.dll) to your ../Simba/Plugins/ folder. Credit to Brandon;
Have pickaxe on toolbelt.
HAVE NOTHING IN YOUR INVENTORY, UNLESS YOU DON'T MIND DROPPING IT!



Side note:
I've tested coal and iron in mining guild, resource dungeon, Falador west, and Gnome stronghold.
If you try a location and it doesn't seem to work, feel free to let me know and I'll fix it. It should work anywhere though.

If Copper or Tin are in demand, I can add those.

This is somewhat of a premature release as I've got other projects that I'm working on now, but it works well.


$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: ERR;
Active: True;
Time worked: 8 hr 39 min 44 sec;
Ore: Iron;
Ore mined: 6287;
~ p/h: 726;
Experience gained: 220045;
~ p/h: 25402;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

onilika
08-24-2015, 04:48 PM
I haven't tested the script out, but I first have one question..Does the dropping method consists on mouse method, or the send key method? Because sometimes it happens some kind of problem that disables the way of writing/use of keyboard keys. Sometimes to solve the problem, the Smart windows has to be resized several times in order to fix the issue. I don't know if you people are aware of this but anytime I use Ashaman Power Miner, I always find that problem.. And I don't think it's anything related to the script itself.

NCDS
08-24-2015, 04:51 PM
I haven't tested the script out, but I first have one question..Does the dropping method consists on mouse method, or the send key method? Because sometimes it happens some kind of problem that disables the way of writing/use of keyboard keys. Sometimes to solve the problem, the Smart windows has to be resized several times in order to fix the issue. I don't know if you people are aware of this but anytime I use Ashaman Power Miner, I always find that problem.. And I don't think it's anything related to the script itself.
Both :)

It tries to drop using quickKeys, and if the inventory is not empty, it will drop with mouse. That's why it is important to not have anything in your inventory that you don't want dropped.

fady
08-24-2015, 05:07 PM
I haven't tested the script out, but I first have one question..Does the dropping method consists on mouse method, or the send key method? Because sometimes it happens some kind of problem that disables the way of writing/use of keyboard keys. Sometimes to solve the problem, the Smart windows has to be resized several times in order to fix the issue. I don't know if you people are aware of this but anytime I use Ashaman Power Miner, I always find that problem.. And I don't think it's anything related to the script itself.

I know this is not the thread to be discussing an issue like this but, I'm pretty sure it has something to do with the way SMART deals with ALT+TAB. I made a thread about the problem here (https://villavu.com/forum/showthread.php?t=112164).

I was half asleep when I made the thread and my English made no sense for the most part, but Brandon was very patient and was able to figure this out for me! Ever since implementing Brandon's fix, I haven't faced a problem with keyboard inputs through SMART!

Sorry this is off-topic for the thread but I just thought I'd put this here.

onilika
08-24-2015, 05:18 PM
Both :)

It tries to drop using quickKeys, and if the inventory is not empty, it will drop with mouse. That's why it is important to not have anything in your inventory that you don't want dropped.

Thank you for your response NCDS! I'll try it as soon as I get lvl80 wc with fady's script!


I know this is not the thread to be discussing an issue like this but, I'm pretty sure it has something to do with the way SMART deals with ALT+TAB. I made a thread about the problem here (https://villavu.com/forum/showthread.php?t=112164).

I was half asleep when I made the thread and my English made no sense for the most part, but Brandon was very patient and was able to figure this out for me! Ever since implementing Brandon's fix, I haven't faced a problem with keyboard inputs through SMART!

Sorry this is off-topic for the thread but I just thought I'd put this here.

Thank you Fady for your response! I'll go and check that thread of yours you posted and manage to fix the problem.
Rep+.

5256552
08-25-2015, 12:18 AM
There is an issue mining with juju potions. The script fails to understand that an ore was mined when the ore is taken to the bank by the juju spirit, and waits the waittime.

Nice script though, welcome back =)

NCDS
08-25-2015, 12:23 AM
Nice script, welcome back =)

There seems to be an issue mining with juju potions. The script fails to understand that an ore was mined when the ore is taken by the juju spirit, and waits the waittime.

I don't have any idea what that is, lol. I've been away from RS for quite some time, was never that big into it really.

I'm sure I could add support if it's truly necessary, but the reason I released this somewhat premature is because I'd like to get going on some other, perhaps more useful scripts.

5256552
08-25-2015, 12:34 AM
I don't have any idea what that is, lol. I've been away from RS for quite some time, was never that big into it really.

I'm sure I could add support if it's truly necessary, but the reason I released this somewhat premature is because I'd like to get going on some other, perhaps more useful scripts.

This seems to be the best free powerminer available atm, so I'd appreciate if you added support for it. =)

You could check chat for any juju output(it shows it when an ore is banked), or if possible, check for the spirit around the player. My 2 cents.


Perject juju mining potion
While the potion is in effect, each ore mined gives a 10% chance of finding an enhanced stone spirit, which does the same thing as the regular juju mining potion (automatically banking ore), and also will smelt ore that the player mines.

Also, it fails to destroy strange rocks, it right clicks on them and then forgets about them.

NCDS
08-25-2015, 12:45 AM
This seems to be the best free powerminer available atm, so I'd appreciate if you added support for it. =)

You could check chat for any juju output(it shows it when an ore is banked), or if possible, check for the spirit around the player. My 2 cents.

Yeah I'll look into that.



Also, it fails to destroy strange rocks, it right clicks on them and then forgets about them.
That would be an issue with SRL. Though, it has been working for me? I haven't had anything in my inventory at least. Something else to look into I suppose. ;)

Thanks for the input.

srlMW
08-25-2015, 12:51 AM
Yeah I'll look into that.


That would be an issue with SRL. Though, it has been working for me? I haven't had anything in my inventory at least. Something else to look into I suppose. ;)

Thanks for the input.

In my powerminer(releasing after comp) I had to implement a custom dropping for the strange rocks using DTMs.

NCDS
08-25-2015, 02:42 AM
In my powerminer(releasing after comp) I had to implement a custom dropping for the strange rocks using DTMs.

I've pushed a 'fix' for the strange rock. I'll look into the potions tomorrow. Appreciate the input guys. :)

5256552
08-25-2015, 02:58 AM
Will test tomorrow. =)

NCDS
08-25-2015, 12:54 PM
[master 3079c3a] Added support for Perfect JuJu Mining Potion as per request
2 files changed, 3 insertions(+), 3 deletions(-)

Success


Seems to be working well, enjoy!

5256552
08-25-2015, 08:44 PM
Seems to be working well, enjoy!

Doesn't seem to work for me, though. Appears as if it doesn't detect the chat.

NCDS
08-25-2015, 11:26 PM
Doesn't seem to work for me, though. Appears as if it doesn't detect the chat.

What is the text for you when it clicks destroy? I've seen it have a chat box pop up, and other that don't.
I just tested again and it clicked 'destroy' perfectly fine.

Make sure you're using the updated script as well. It should download automatically to simba/scripts/ I believe.

Edit: arent you only ever supposed to get 2 per skill? I didnt think you got strange rocks that often. I only had a couple in my bank from years ago to test with. All of them were dropped as should be.

5256552
08-25-2015, 11:43 PM
What is the text for you when it clicks destroy? I've seen it have a chat box pop up, and other that don't.
I just tested again and it clicked 'destroy' perfectly fine.

Make sure you're using the updated script as well. It should download automatically to simba/scripts/ I believe.

Sorry for being unclear, I meant the JuJu detection. It doesn't detect the 'spirit delivers' array.

And also, strange rocks do have a chat popup for me, it requires me to press yes. I don't know maybe that can be disabled then somehow. Haven't seen any strange rocks though, but I probably haven't ran it long enough.

e: That's most likely the case then, should try banking them...

NCDS
08-25-2015, 11:49 PM
Sorry for being unclear, I meant the JuJu detection. It doesn't detect the 'spirit delivers' array.

And also, strange rocks do have a chat popup for me, it requires me to press yes. I don't know maybe that can be disabled then somehow. Haven't seen any strange rocks though, but I probably haven't ran it long enough.

Oh I see. So whats it do, hang when you use the potion? Im on my phone now so its hard for me to check, but I tested earlier with the Perfect juju mining potion and it moved along just fine. I dont see how it would fail unless the SRL text finding failed, but it worked for me. Ill try and checkicheck it out more when I get home tonight.

5256552
08-25-2015, 11:58 PM
Oh I see. So whats it do, hang when you use the potion? Im on my phone now so its hard for me to check, but I tested earlier with the Perfect juju mining potion or whatever its called and it moved along just fine. I forget what text I used in the search. Does it differ between the two juju potions? I couldnt buy any regulars in GE.

I was using the perfect aswell. It doesn't hang, but it doesn't seem to check for the chat output. It gets stuck in the if until the timer runs out.

Both words should be there on both potions.

NCDS
08-26-2015, 12:14 AM
I was using the perfect aswell. It doesn't hang, but it doesn't seem to check for the chat output. It gets stuck in the if until the timer runs out.

Both words should be there on both potions.
Hmmm, maybe the chat wasn't on the last line? Thats all it searches right now. Tonight ill expand that search and do some testing with it. I pushed a rather 'hackish fix" this morning before work to try and get that working for you.

If you want, just run it without the potions for now and ill work on that when I get home.

Incurable
08-26-2015, 02:30 AM
I gave it a go at Varrock East Mine and it failed to consistently find iron ore at various zoom levels (tried several times). The mouse just moves to each point it finds. Copper works fine, not sure about coal. Also, you should consider adding smartShowConsole := false;, that little black box always annoys the crap out of me. :p

Debug for iron, maximum zoom in:


[script] Checking version...
masterVersion: 1.8;
localVersion: 1.8;
Local version matches master, no updates available.
SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (26-08-15 at 12.20.24 PM).txt
-- initScript()
---- TPlayerArray.setup()
------ Attempting to load player(s) "[email]" from army "default"
------ Raf_GetPlayers()
-------- Army exists, reading the players...
------ Raf_GetPlayers: Result = True
------ Loaded player: email
---- TPlayerArray.setup(): Success
---- setupSRL()
------ Setting up SRL...
------ attempting to spawn smart, attempt #: 1
------ initSmart():
-------- Attempting to pair to a previously spawned client
-------- smartPairToExistingClient():
---------- Found 1 free client(s), attempting to pair to one...
------------ smartSetAsTarget(): Succesfully set SMART[5476] as Simba's target
---------- Succesfully paired to a existing client, SMART[5476]
-------- smartPairToExistingClient(): result = true
-------- Succesfully initialized via pairing to a previously spawned client
------ initSmart()
------ Waiting up to 5 minutes for RS to load...
-------- TRSActionBar.__find(): result = True (height = 77)
-------- Dynamic interfaces have been set.
------ Client is ready.
------ Setup SRL in 0 Seconds
---- setupSRL(): True
---- TPlayer.login()
------ Already logged in
---- TPlayer.login(): True
Angle degrees: 0
---- initPlayer()
------ getWaitTime()
---------- TRSGameTab.__initTabs(): Setup gametab properties
-------- TRSGameTabs.openTab(1)
---------- Tab is already visible, bringing to front
-------- TRSGameTabs.openTab(1): = True
-------- tabStats.getSkillLevel(2): result = 53
------ getWaitTime() = 6000
------ TRSGameTabs.openTab(2)
-------- Tab is already visible, bringing to front
------ TRSGameTabs.openTab(2): = True
---- initPlayer() = True
-- initPlayer(): True
-- mainLoop()
---- getInvCount()
---- getInvCount(): 1;
---- findColorSpiral()
------ TRSMainscreen.findObject()
-------- Colors found: 3
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 1
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 113
-------- Possible objects found: 6
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Iron ore rocks"
---------- Found "ron ore rock" in mouse-over string: "Mine Iron ore rocks"
-------- isMouseOverText(): True
-------- Successfully mouse'd object
------ TRSMainscreen.findObject(): True
---- findColorSpiral(): True
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 1;
---- getInvCount()
---- getInvCount(): 2;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: Bot2;
Active: True;
Time worked: 9 sec;
Ore: Iron;
Ore mined: 1;
~ p/h: 397;
Experience gained: 35;
~ p/h: 13878;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
-- mainLoop(): True
-- mainLoop()
---- getInvCount()
---- getInvCount(): 2;
---- findColorSpiral()
------ TRSMainscreen.findObject()
-------- Colors found: 2
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 2
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 118
-------- Possible objects found: 6
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
---------- Current mouse-over text: "Mine Rocks"
-------- isMouseOverText(): False
-------- isMouseOverText()
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
---------- Current mouse-over text: ""
-------- isMouseOverText(): False
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
-------- isMouseOverText(): False
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
-------- isMouseOverText(): False
-------- isMouseOverText()
---------- Current mouse-over text: ""
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
---------- Current mouse-over text: "Mine Copper ore rocks"
-------- isMouseOverText(): False
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
---------- Current mouse-over text: "Mine Tin ore rocks"
-------- isMouseOverText(): False
------ TRSMainscreen.findObject(): False
---- findColorSpiral(): False
---- findColorSpiral()
------ TRSMainscreen.findObject()
-------- Colors found: 2
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 2
-------- Possible objects found: 0
------ TRSMainscreen.findObject(): False
------ TRSMainscreen.findObject()
-------- Colors found: 119
-------- Possible objects found: 6
-------- isMouseOverText()
---------- Current mouse-over text: "Mine Iron ore rocks"
---------- Found "ron ore rock" in mouse-over string: "Mine Iron ore rocks"
-------- isMouseOverText(): True
-------- Successfully mouse'd object
------ TRSMainscreen.findObject(): True
---- findColorSpiral(): True
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
---- getInvCount(): 2;
---- getInvCount()
------ Succesfully freed SMART[5476]
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: Bot2;
Active: True;
Time worked: 18 sec;
Ore: Iron;
Ore mined: 1;
~ p/h: 194;
Experience gained: 35;
~ p/h: 6787;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
------ Freeing gametabs bitmaps...
Successfully executed.

NCDS
08-26-2015, 04:32 AM
I gave it a go at Varrock East Mine and it failed to consistently find iron ore at various zoom levels (tried several times). The mouse just moves to each point it finds. Copper works fine, not sure about coal.
I've just been using whatever zoom it's at when I log in; wasn't really sure of the "standard" these days. I didn't think it would work for copper at all honestly, lol. Very little testing done there. I thought I took it out of the options actually.

I would be lying if I said I tested this at VEM prior to this, but I am right now and you're right, pretty awful. I'm gathering some colors now so I should have it up and running there in no time.



Also, you should consider adding smartShowConsole := false;, that little black box always annoys the crap out of me. :p

I'll throw that in. :)

Incurable
08-26-2015, 04:44 AM
I've just been using whatever zoom it's at when I log in; wasn't really sure of the "standard" these days. I didn't think it would work for copper at all honestly, lol. Very little testing done there. I thought I took it out of the options actually.

I would be lying if I said I tested this at VEM prior to this, but I am right now and you're right, pretty awful. I'm gathering some colors now so I should have it up and running there in no time.

You did remove the box, but I just typed it in. Tin obviously didn't work because you haven't implemented it yet. :p

The standard is maximum height facing north, usually, but it's up to the scriptwriters discretion. Ashaman88's power miner (https://villavu.com/forum/showthread.php?t=107085) uses max zoom in so that it will only mine the rocks it sees on the screen. It's probably a really good idea for a power miner in RS3 tbh, and probably results in faster exp/hr. You can use mainScreen.setZoom (http://docs.villavu.com/srl-6/mainscreen.html#setzoom) to do this for the player if you like (I'm sure you'd have found that without me, but w/e).


I'll throw that in. :)

Yey!

NCDS
08-26-2015, 05:31 AM
The standard is maximum height facing north, usually, but it's up to the scriptwriters discretion. Ashaman88's power miner (https://villavu.com/forum/showthread.php?t=107085) uses max zoom in so that it will only mine the rocks it sees on the screen. It's probably a really good idea for a power miner in RS3 tbh, and probably results in faster exp/hr. You can use mainScreen.setZoom (http://docs.villavu.com/srl-6/mainscreen.html#setzoom) to do this for the player if you like (I'm sure you'd have found that without me, but w/e).



[master 38b88b5] Updated iron colors to work at VEM.
2 files changed, 47 insertions(+), 4 deletions(-)

Success

Just ran for about an hour at VEM slightly zoomed in, finds and mines the rocks there fine now at least.

I'm going to swap out SRL's object finding routines for a custom one in the morning, as it's not quite as smooth as I'd like, but I'm just too tired right now.

5256552
08-26-2015, 04:07 PM
Would've been more xp/h if I hadn't had a second bot open, cpu was at 100%...
Tops at 32-33k/h with 60 mining and rune pick.

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: Tuffguy;
Active: True;
Time worked: 10 hr 42 min 49 sec;
Ore: Iron;
Ore mined: 8286;
~ p/h: 773;
Experience gained: 290010;
~ p/h: 27069;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

NCDS
08-26-2015, 05:19 PM
Would've been more xp/h if I hadn't had a second bot open, cpu was at 100%...
Tops at 32-33k/h with 60 mining and rune pick.

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: Tuffguy;
Active: True;
Time worked: 10 hr 42 min 49 sec;
Ore: Iron;
Ore mined: 8286;
~ p/h: 773;
Experience gained: 290010;
~ p/h: 27069;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
I'm assuming your PC is pretty outdated? No reason why this would be a resource hog, other than the fact it uses smart (:clown:). My desktop is ~10 years old and it runs just fine (for a 10 yr. old PC).

Thanks for the proggy!

I'm implementing custom object finding now, just fine tuning it atm. Version 2.0 will be up tonight or tomorrow, at which time I will make sure the potions are working for you as well.

5256552
08-27-2015, 12:34 AM
I'm assuming your PC is pretty outdated? No reason why this would be a resource hog, other than the fact it uses smart (:clown:). My desktop is ~10 years old and it runs just fine (for a 10 yr. old PC).

Thanks for the proggy!

I'm implementing custom object finding now, just fine tuning it atm. Version 2.0 will be up tonight or tomorrow, at which time I will make sure the potions are working for you as well.

On an old PC at the moment, yes. If I run only this then it's awesome. =)
Would be nice if you got JuJu working. =P Will you also implement drinking juju?

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: Tuffguy;
Active: True;
Time worked: 27 min 3 sec;
Ore: Iron;
Ore mined: 435;
~ p/h: 964;
Experience gained: 15225;
~ p/h: 33753;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

e:
Found it has clicked the iron ore on the ground ~30 minutes in.
26668

NCDS
08-27-2015, 06:39 PM
On an old PC at the moment, yes. If I run only this then it's awesome. =)
Would be nice if you got JuJu working. =P Will you also implement drinking juju?

I probably won't implement drinking the potions right away as I have other things to work on, but I will get it to register when it's already using a potion for you.


e:
Found it has clicked the iron ore on the ground ~30 minutes in.
26668
I had that happen once early in development, but not since. I've just pushed version 2.0 which includes a different, more efficient object finding method. Hopefully that will prevent it from happening again. Unfortunately I haven't had much time to retest the JuJu potion chat search yet, but that's not very difficult to do quickly later tonight.

Incurable;

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: ;
Active: True;
Time worked: 25 min 12 sec;
Ore: Iron;
Ore mined: 319;
~ p/h: 759;
Experience gained: 11165;
~ p/h: 26574;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player: ERR;
Active: True;
Time worked: 20 min 47 sec;
Ore: Iron;
Ore mined: 214;
~ p/h: 618;
Experience gained: 7490;
~ p/h: 21620;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Both running at VEM very nicely. I had to pause the second guy for a minute, that's why the /hr stats are low.


I've also made it standard for this to be zoomed out all the way and highest angle. Seems to be working good from what I've tested, but let me know if you guys find any issues with it.

Incurable
08-27-2015, 11:53 PM
Looking good mate, will give it another go for you. :)

NCDS
08-28-2015, 02:14 PM
Last nights report from VEM..

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Player: ;
Active: True;
Time worked: 4 hr 28 min 10 sec;
Ore: Iron;
Ore mined: 3428;
~ p/h: 767;
Experience gained: 119980;
~ p/h: 26844;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player: ERR;
Active: True;
Time worked: 4 hr 14 min 57 sec;
Ore: Iron;
Ore mined: 2644;
~ p/h: 622;
Experience gained: 92540;
~ p/h: 21777;
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$


I don't think it's the best xp/hr (depends on how many people are there), but it certainly works now.

onilika
08-31-2015, 11:53 AM
I think there should be added some antiban, even when you clicking at the rock. I noticed that the character clicks always at the brown part, and for who plays legits, they click at the whole rock. Perhaps something to be seen and revised.
Of course I don't know how Jagex tracks us down, but this would be a start.

NCDS
08-31-2015, 12:49 PM
I think there should be added some antiban, even when you clicking at the rock. I noticed that the character clicks always at the brown part, and for who plays legits, they click at the whole rock. Perhaps something to be seen and revised.
Of course I don't know how Jagex tracks us down, but this would be a start.

As it is, the script searches for the rocks, separates and sorts the arrays, then clicks randomly within the bounds of the array, using mouseBox();

It's possible that the sort method is a little too strict atm, as I was testing for VEM last, which has a lot of similar colors so it needed to be strict. That being said, I can almost guarantee there is nothing to worry about here, but I can look into it if it makes you feel better. :)

Where were you running the script?

There is also a constant users can edit..

// User defined constants
untilAntiban = 5; //minimum minutes between anitban routines (plus random 50%)

for actual antiban, not clicking randomness.

onilika
08-31-2015, 11:06 PM
As it is, the script searches for the rocks, separates and sorts the arrays, then clicks randomly within the bounds of the array, using mouseBox();

It's possible that the sort method is a little too strict atm, as I was testing for VEM last, which has a lot of similar colors so it needed to be strict. That being said, I can almost guarantee there is nothing to worry about here, but I can look into it if it makes you feel better. :)

Where were you running the script?

There is also a constant users can edit..

// User defined constants
untilAntiban = 5; //minimum minutes between anitban routines (plus random 50%)

for actual antiban, not clicking randomness.

I have been using all day at falador, west to the western bank.
I wanted to try at the piscatoris place, but wasn't functioning properly.
Also, some places, like the one I was using, require a little more zoom so the script can find the rocks. But I edited that part of the code.
I would suggest adding granite support, but I don't even have an enchanted tiara haha
lvl68 - 80 will take days

Limbothefirst
09-05-2015, 07:14 AM
It logs in, selects world, then pans the camera before clicking on my skills, then it selects my inventory and the mouse stop between the inventory icon and the map. And it dose nothing. I'm at went falador mine trying to mine iron, and I've also tried coal in the mining guild.

NCDS
09-05-2015, 09:23 AM
It logs in, selects world, then pans the camera before clicking on my skills, then it selects my inventory and the mouse stop between the inventory icon and the map. And it dose nothing. I'm at went falador mine trying to mine iron, and I've also tried coal in the mining guild.

Please make sure you have everything setup properly as shown here (https://villavu.com/forum/showthread.php?t=47714).

OzDev
11-26-2015, 08:08 AM
For some reason it works well, but it only mines a single rock. I have it with three around my character, and it mines a single iron rock, waits for it, then mines it again, repeat.

cytonwiderrr
04-16-2016, 08:05 AM
For some reason it works well, but it only mines a single rock. I have it with three around my character, and it mines a single iron rock, waits for it, then mines it again, repeat.

Hmm exactly the same thing happens for me, unfortunately. I hope someone can help us update this.

IROC-Z
04-16-2016, 06:00 PM
Hmm exactly the same thing happens for me, unfortunately. I hope someone can help us update this.

If this isn't working for you I would recommend Ashamans powerminer. Last I knew it worked.

cytonwiderrr
04-17-2016, 09:46 AM
If this isn't working for you I would recommend Ashamans powerminer. Last I knew it worked.

Ashamans doesn't even start mining for me, I now manually downloaded the bonsai power miner, and it works perfect! Had to adjust the drop function tho, cuz it was dropping every 3 ores, other than that totally recommended! (I use phoenix lair teleport to get to the 3 iron ores, maybe those aren't compatible with ashamans powerminer / this one.)

IROC-Z
04-17-2016, 04:07 PM
Ashamans doesn't even start mining for me, I now manually downloaded the bonsai power miner, and it works perfect! Had to adjust the drop function tho, cuz it was dropping every 3 ores, other than that totally recommended! (I use phoenix lair teleport to get to the 3 iron ores, maybe those aren't compatible with ashamans powerminer / this one.)

Thanks for the update! I'm sure it will come in use for some else. Sorry I led you wrong ha. Guess it has been longer than I thought since I used his. Good luck!

Hazebby
06-08-2016, 11:11 AM
Doesn't work at al-kharid mine for some reason. I took it to west falador and seems to work great there. :)

ckbbe
09-05-2016, 07:22 AM
27804

ckbbe
09-06-2016, 07:38 AM
27804

27808

ckbbe
09-07-2016, 08:49 PM
Sadly again banned :/