superuser
2007-06-11 08:31:49
BustingHard's
PowerMiner
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:
{**
* 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:
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,
[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:
[FONT="Courier New"]
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
-------------------------------------------------------------------------------
[/FONT]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