Flight
2011-03-26 09:08:50

My second official script. I realize this might not be as popular as the other scripts because it's for members, but it is very fast and very efficient and I hope you atleast give it try. :)
I recommend you wear an amulet of glory AND ring of wealth for very fast gem mining, this increases your profit ALOT.

Features:
- Mines and banks Iron/Coal ore at the Ardougne mine
- Mines full load, runs to bank, rests to 100, back to mine
- Solid breaking system (Credit to _Echo for his wonderful BreakHandler)
- Single-player (I'm not a fan of multi, this can be easily added)
- On-screen printing
- SRL Stats (Yay!)
- Solid script (Test ran for hours and hours)
Anti-Ban/Fail-Safes: (My personal anti-bans)
- HumanMouse (Random human mouse movement)
- ACR (Active camera rotation)
- Very efficient object tracking
- 50/50 chance of mining nearest or second nearest rock
- 'Click check' if we clicked 'Mine' or 'Walk here'
- Location checking
Fill in lines starting at 17, and just below fill in the DeclarePlayers vars. Start with your player at the mine, pickaxe either equipped or in your inventory, press run, practice playing your guitar(like me!).
Note: There is a known bug I'm aware of, "Field not found:….". I've tried everything I could and search on the forums to no avail. If someone knows what this is all about, please give me some help me out. I'll probably have some updates for it later, but if you have some suggestions feel free to post 'em here. :)
Update log:
V 1.1
- Serious tile bug fixed
- Cleaned up script, better variable defining (thanks for suggestions!)
- Tiles re-done (Much faster/safer)
- Gem counting! (Also saved to SRL Stats)
- Area-detecting failsafes (Before there were 3 places to places to go wrong: Mine,Bank, and the walking path in-between, this fixes the Mine and Bank, all that can go wrong, at this point, is the walking)
(V1.2 ran at level 75 Mining with a rune pickaxe mining Coal ores)
=-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 17 Hours, 7 Minutes and 1 Seconds
Ores mined: 2962 (148100 Exp)
Total gems: 90
Loads: 109
Breaks: 17
Camera rotations: 1370
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 6 Hours, 6 Minutes and 4 Seconds
Ores mined: 1094 (54700 Exp)
Loads: 40
Breaks: 5
Camera rotations: 590
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 12 Hours, 18 Minutes and 16 Seconds
Ores mined: 2377 (118850 Exp)
Loads: 88
Breaks: 12
Camera rotations: 909
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 10 Hours, 27 Minutes and 11 Seconds
Ores mined: 3198 (159900 Exp)
Total gems: 104
Loads: 117
Breaks: 12
Camera rotations: 846
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 9 Hours, 50 Minutes and 3 Seconds
Ores mined: 2344 (117200 Exp)
Total gems: 62
Loads: 86
Breaks: 10
Camera rotations: 670
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-= Ardougne Miner by Flight =-=-=-=-=
Time Running: 18 Hours, 3 Minutes and 27 Seconds
Ores mined: 4209 (210450 Exp)
Total gems: 129
Loads: 155
Breaks: 18
Camera rotations: 1231
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
So based on your position (using reflection tiles), you check the availability of coal in rocks in a specific order, since there arent that many places you can stand in the mine or at least you could specify boxes which would check specific orders… (dunno if that made any sense)