SRL Archive - RS3 Outdated / Broken Scripts

[RS3] [SRL6] iPowerIron [Powermines iron, anytime, anywhere!]


KeepBotting

2013-12-07 10:49:16

iScripts and KeepBotting Presents:

iPowerIron

STABLE
—————–
| = Version: 1.2 = |
—————–
Status: Unknown
Last Updated: 10 Dec 2013


Description
Your basic iron powerminer.

Features
  • Powermines iron, anytime, anywhere!
  • Utilizes action bar dropping!
  • Supports pickaxes in the inventory (slot 1)!
  • 100% color!
  • Compatible with RS3 and uses SRL-6!
  • Numerous failsafes to prevent script failure!


How to Use
1) Fill out your player info.


///////////////////////////////////Start setting up the script here. Refer to the comments if you don't know what you're doing.
///////////////////////////////////
///// Start Setup ///////
///////////////////////////////////
///////////////////////////////////Start setting up the script here. Refer to the comments if you don't know what you're doing.

const
(* player info *)
playerNames = ['']; //Put your player's name/nickname here.
playerFile = 'default'; //Put your playerfile's name here. Default is 'default'.
desiredWorld = 0; //Put your desired game world here. Leave 0 to choose random world.

(* globals *)
//lol nope

(* options *)
//lol nope

///////////////////////////////////Don't modify the script ANY FURTHER unless you know what you're doing. You could break stuff!
///////////////////////////////////
///// Stop Setup ///////
///////////////////////////////////
///////////////////////////////////Don't modify the script ANY FURTHER unless you know what you're doing. You could break stuff!

2) Place your character near some iron rocks.
3) Zoom in/out until only the rocks you want to mine are on-screen.
4) Bind iron ore to slot 1 on your action bar (for dropping).
5) Make sure you're in action mode.
6) Wield your pickaxe or place it in slot 1 of your inventory.
7) Start the script!

Requirements
1) 15 mining, to mine iron.
2) A pickaxe.

Additional Info
-> Nope.

Current Bugs
-> Script gets hung up on dropping if a pickaxe is in the inventory. Working on a fix.

Future Updates
-> Custom TPA colorfinding (as soon as I figure out how to use it).
-> Support for multiple ores.
-> Painted progress report (on SMART)

Proggies

********************************************
* iPowerIron v1.0 *
********************************************
We have mined 2014 iron.
We have gained 70490 xp.
We have been working for 4 Hours, 14 Minutes and 34 Seconds
********************************************

********************************************
* iPowerIron v1.1 *
********************************************
We have mined 4014 iron.
We have gained 140490 xp.
We have been working for 5 Hours, 59 Minutes and 25 Seconds
********************************************

********************************************
* iPowerIron v1.1 *
********************************************
We have mined 942 iron.
We have gained 32970 xp.
We have been working for 2 Hours, 12 Minutes and 38 Seconds
********************************************

********************************************
* iPowerIron v1.2 *
********************************************
We have mined 2263 iron.
We have gained 79205 xp.
We have been working for 3 Hours, 12 Minutes and 35 Seconds
********************************************

********************************************
* iPowerIron v1.2 *
********************************************
We have mined 2070 iron.
We have gained 72450 xp.
We have been working for 3 Hours, 38 Seconds
********************************************

Update Log

v1.2
- Removed support for pickaxes in all inventory slots (was causing problems)
- Fixed bug where script would never continue mining if a pickaxe was in the inventory
- Edited custom dropping routine a bit
- Made progress report more readable, it now prints every time the script drops ore

v1.1
- Overhauled dropping, created a custom routine.
- Support for pickaxes in all inventory slots.

v1.0
- Initial release

Ian

2013-12-07 11:22:19

Congrats on the release:)

KeepBotting

2013-12-07 11:24:00

From: BMWxi
Congrats on the release:)
Thanks ^.^ really simple I know, but this is my first practical foray into srl-6 (and a powerminer doesn't need to be complicated).

Ashaman88

2013-12-07 13:19:21

Great to see some more scripts man !

HardKnockLife

2013-12-07 21:14:28

Good script but it doesn't realize that it dropped all ore in inventory and just keeps trying to drop.

KeepBotting

2013-12-07 21:21:33

From: HardKnockLife
Good script but it doesn't realize that it dropped all ore in inventory and just keeps trying to drop.

Make absolutely sure you're in 'action mode'. I'd go so far as to pause the script after it logs you in, go into 'chat mode', then back out into 'action mode'.

Unless you're talking about the issue where it just tries to drop like 5 times after all the ore is gone. That's normal.

HardKnockLife

2013-12-07 22:10:14

From: KeepBotting
Make absolutely sure you're in 'action mode'. I'd go so far as to pause the script after it logs you in, go into 'chat mode', then back out into 'action mode'.

Unless you're talking about the issue where it just tries to drop like 5 times after all the ore is gone. That's normal.
\
Just tried that and it didn't work. It will drop all the ores and keep pressing 1 and never start mining again.

KeepBotting

2013-12-07 22:14:26

From: HardKnockLife
\
Just tried that and it didn't work. It will drop all the ores and keep pressing 1 and never start mining again.


It shouldn't do that. Do you have your graphics setup correctly? Fixed mode, OpenGL, 'old school' interface style?

HardKnockLife

2013-12-07 22:21:09

From: KeepBotting
It shouldn't do that. Do you have your graphics setup correctly? Fixed mode, OpenGL, 'old school' interface style?

All settings are good mate.

KeepBotting

2013-12-07 22:23:55

From: HardKnockLife
All settings are good mate.
Mind posting a screenshot of the game window while it's doing that (trying to drop forever)?

HardKnockLife

2013-12-07 22:29:35

[ATTACH=CONFIG]22502[/ATTACH]

HardKnockLife

2013-12-07 22:38:35

From: HardKnockLife
[ATTACH=CONFIG]22502[/ATTACH]

Wrong image… [ATTACH=CONFIG]22503[/ATTACH]

KeepBotting

2013-12-07 23:05:50

From: HardKnockLife
Wrong image… [ATTACH=CONFIG]22503[/ATTACH]
That does seem very odd, the only thing I can think of is try keeping your inventory the only tab open. What's the debug?

e: try running a srl update

HardKnockLife

2013-12-07 23:19:17

From: KeepBotting
That does seem very odd, the only thing I can think of is try keeping your inventory the only tab open. What's the debug?

e: try running a srl update

– TRSMainscreen.findObject()
—- Colors found: 37
—- Possible objects found: 4
—- 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: ""
—- 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: ""
—- isMouseOverText(): False

HardKnockLife

2013-12-08 15:32:07

Finally got this working. Amazing Script simple and efficient.

KeepBotting

2013-12-08 16:51:39

From: HardKnockLife
Finally got this working. Amazing Script simple and efficient.
I actually tried reproducing your problem at that location and it happened to me as well. What was your fix (for future reference)?

HardKnockLife

2013-12-08 17:16:10

From: KeepBotting
I actually tried reproducing your problem at that location and it happened to me as well. What was your fix (for future reference)?

I edited your drop procedure to
procedure dropThatOre;
begin
repeat
typeSend('1', false);
wait(randomRange(100, 300));
until tabBackpack.count() = 0 or chatbox.findAnyText(['ave any lef']);
end;

And it works.

The Spark

2013-12-08 20:54:33

Can you add support for a variety of ores instead of just Iron? :)

KeepBotting

2013-12-08 23:39:45

From: HardKnockLife
I edited your drop procedure to
procedure dropThatOre;
begin
repeat
typeSend('1', false);
wait(randomRange(100, 300));
until tabBackpack.count() = 0 or chatbox.findAnyText(['ave any lef']);
end;

And it works.

Well yeah that works but eventually your inventory will fill with gems/spin tickets/strange rocks and it'll get stuck just the same…I'll find a fix and push it in the next update.

From: sparkyownage
Can you add support for a variety of ores instead of just Iron? :)


I suppose so, that'll take time but it's on my list :D

KeepBotting

2013-12-09 21:46:26

(9 Dec)
Update pushed, enjoy!

What's new in v1.1?
  • Overhauled and failsafed dropping. Created a custom routine. Works 100% now.
  • Added support for pickaxes in all inventory slots.

(10 Dec)
Another update, hooray!

What's new in v1.2?
  • Removed support for pickaxes in all inventory slots (was causing problems)
  • Fixed bug where script would never continue mining if a pickaxe was in the inventory
  • Edited custom dropping routine a bit
  • Made progress report more readable, it now prints every time the script drops ore.

greg3127

2014-04-06 19:30:10

could someone help me it types password but dont log, i loged in my self by clicking play and so on, but when in game next to the rocks outside east varrock next to digsite, it does notthing, and in the command of the simba keeps saying this; – TRSMainscreen.findObject(): False
– TRSMainscreen.findObject()
—- No colors found

greg3127

2014-04-06 19:33:43

fixed it kept messing with it until i got it, never mind did not fix it, it only mines than drops and stops. i dont know what to do

KeepBotting

2014-04-07 07:36:10

From: greg3127
fixed it kept messing with it until i got it, never mind did not fix it, it only mines than drops and stops. i dont know what to do


I'll take a look at it later today and see if something broke.

Szpun

2014-04-13 13:53:49

Hello, the script don't work for me, I don't know what am I doing wrong (Maybe because I am new to this program?), I typed my name in PlayerNames field and I filled PlayerFile field with default. After starting script I need to login by myself I binded iron to the first slot and placed adamant pickaxe in first inventory slot, zoomed into iron field and it's still not working. Any tips?

BanditBob

2014-12-15 11:43:04

Dead script?

KeepBotting

2014-12-15 16:23:20

From: BanditBob
Dead script?


Yep. Dunno why it's not in outdated/broken yet

masterBB

2014-12-15 16:41:41

From: KeepBotting
Yep. Dunno why it's not in outdated/broken yet


Because it was not reported until just now?

KeepBotting

2014-12-15 22:06:13

From: masterBB
Because it was not reported until just now?


Oh ofc, wasn't specifically directing that at anyone :p just said it to say it, more like "I wonder why I haven't got someone to put this in outdated/broken yet"

Sorry for the confusion, and thanks for the move