SRL Essence Miner v4.20
10-year anniversary edition
Administrator's Warning: |
This script is not flawless but does most of the job! The main bugs are in the aubury location detection |
Hiya!
It's that time of the year again. As I'm a member of SRL for more than 10 years now (October 31st 2006 I made my first account here) and Wizzup? released his essence miner almost 10 years ago, it is time for the anniversary edition of the essence miner!
Every year around December/January I spent some hours updating it. The last major update was around 2012-ish, however, that update was so big that 90% of the code still runs in 2017 (with just a few minor changes to allow it to compile, new coordinates, stuff like that).
So without further ado, I proudly present the script!
SRL Essence Miner 4.20.simba
Features
- Mines around 700 rune (and most likely also pure) essence per hour
- Handles closed doors near Aubury, have fun legits
- Very nice location detection system (for inside the mine). I'm quite proud of it as it is easily the most reliable part of the script Not that good location detection anymore, but because of redundancy it still works!
- Multiplayer support
- New: SRL-6 support! Using a small wrapper library (included!) it fully supports SRL-6 and RS3. Because of the redundancy, it should be easy to adapt this script to OSR.
- Run and rest support. Will rest after banking if the run energy is low
- Redundancy: Everything that can fail in the script, is implemented at least twice. Example: two bankfinders, three portal finders, three aubury finders and three door openers. All of those work completely different which can be very useful for when one of them fail.
- Also because of above, it uses a lot of different techniques to accomplish stuff. If you are a moderate scripter (like, just got in SRL Members) you might wish to check it out to learn some new techniques! Some things are done really ugly but I'm working on making this a nice overview/showcase script.
- New: It's probably one of the oldest scripts around that still sort-of runs in original form!
As you can see nothing too special, but it does the job!
What I changed from Wizzup?'s original miner:
A LOT! Every release there is less and less of the original code remaining
As I'm quite familiar with his scripting style, it wasn't really hard to do at all. I had an updated version already a bit over a year ago, but that was before the randomisation of the ess mine so it is useless now.
I put in quite a bit of effort to fix it, you won't be disappointed I hope!
Changelog
4.20
- 10-year anniversary edition! This script just refuses to die
- Fixed a few compilation bugs for SRL 1300+
- Small bug in portal finding fixed (small offset added)
- Fixed a bug in doorfinding which caused it to never actually open the door
- Changed tolerance in Aubury color finding
- Few other random bug fixes I can't remember, mostly minor
4.10:
- Fixed portal finder 2 crashing script
- Fixed magic coords (messed up a minus-sign)
- Added some stats
- More stability and bug fixes and other cool stuff.
4.01:
- Updated again to compile with Simba 1100 and SRL-6
- Small changes to Aubury mine handling
- There seem to be a few more portal finders from the competition. Can't recall which ones I used though..
4.00: (Unreleased)
- Updated sript to work with SRL-6.
- Updated script to work with RS3
- Disabled lots of stuff that didn't work
- Changed some TPA segmentation stuff in the ess finder
- Very wacky Aubury finding added
- New symbol finder cause SRL's have bad performance
- New detection if we are in store, using polygons!
- Reimplemented part of the door finding
- Fixed an old bug which has been there for 7 years in the mainloop
Older versions:
Code:
3.11
[LIST][*] Added a new portal finder by J J, it is easy and should be more accurate. Thanks! Modified it slightly to accomodate both the script and Lape.[*] Added a new doorfinder, 'DoorClosedGenius'. It uses quite a clever way to distinguish the door from the floor at Aubury's store. I'd say, check it out! :)[*] Improved the caching of the BlackOffset. Now it doesn't need black but it also works with the tree visible[*] Added some wrappers for the wrappers to wrap around the code 8 error. Uses 100% undocumented features.[*] Added SRL Stats support! Please fill in your username/password[*] Fixed the bug that it would not continue mining if it got a random[*] Fixed a very rare bug in the location detection where it would mess up [/LIST}
3.10
- LAPE compatibility! Simba 992+ SRL 1513+ required. Seems to 'lag' a bit more in Lape though..
- Six hour fix enabled! I don't think the script gets 6 hour runs but if it does, it can handle it
- Fixed blackoffset, so the DDTM should work again (more accuracy @ mapwalk)
- The BlackOffset(R) is now properly cached. (increases speed)
- Re-enabled the old portal finder as backup as it's not bad at all! (increases durability)
- Replaced the bank opening function with something slightly more accurate nope: all of SRL's bankfinding is crap...
- Added a wait so it waits until the character is fully standing, (improves bankfinding, less detectable)
- Added tons of SMART debugging stuff, though I really don't know how to use it.. (makes it easier to fix bugs)
- Better Aubury to bank walking - read: trashed Wizzup's old function (more accuracy, no blue moon inn, increases durability)
- Added 'Freeze' for Aubury store finding, works better with the rotating DTM ;) (better aubury store finding)
- Also added 'Freeze' for the black offset. (idem)
- Extremely ugly/effective portal hack: logout/login for when it's desperate for finding the portal. (increase durability)
- Added essence/hour counter. (looks nice at proggies)
- Fixed doorfinding! New DTM and new Minimap shizzles, tweaked Uptext checking so it actually works most of the time (increases durability)
- Moved script comments around to accomodate users of archaic 80-character terminals (decreases Wizzup complaints)
- More accurate counting of mined ess when pickaxe not equipped
- If the script couldn't find ess, instead of exitting and walking back to the bank, now it will exit and try to get back to mine for a retry (increases speed, less detectable)
- Added some more random finding here and there
- For extra bonus points: added running+resting.
3.01
- Tweaked Aubury finding, should work better (faster)
- Also fixed a bug in Aubury finding so it looks for Talk, not (W)alk
- Spiral sort in all object finders now, Wizzup? forgot those >.<
- New magic store detection, accuracy increased a lot! Take a look at lines 114-130 and 179+ if you want to see how it works, quite proud of it :)
- Commented a LOT throughout the entire script so it's now way easier to understand
- Fixed one small edge case with inside mine handling, should be perfect now
- New doorfinder, uses mainscreen DTM (thanks Demise!). Uses old one as fallback
- Should open doors semi-correctly now when walking Aubury->Bank, tweaked the code behind that a bit
- Added a few range checks so it doesn't click a few pixels outside of minimap when walking bank->Aubury
- Added a bit of waiting, but still likes to mess up by clicking bankers instead of booths
- Doesn't close bank booth all the time now, just 1 in 3 times
- Added a bit of debug lines, too. Can't turn those off yet
- Few other minor tweaks here and there
3.00
- Initial release, see above for things I did
- Removed (deprecated) stats system
- Tweaked Aubury and bank finding
- Brand new ess finder
- Great system for walking inside the mine
- Removed newautocolor support
- New Flag function, uses pixelshift for better accuracy
- New portal finder, thanks euphemism!
- Trashed abyss solver
- The script is now polite and congratulates you when levelling up ;)
Reason I stuck my name on it: rewrote quite a big part and I went through every function to check and fix it. With permission
Sample report:
Progress Report by Markus:
----------------------------
Wizzup? and Markus Essence Miner, Version 3.10
Worked for 4 Hours, 14 Minutes and 26 Seconds
Mined 3042 Essence at a rate of 717 essence an hour.
----------------------------
0 : izzup = T; Bank; B: 3042 Essence; M : -1
----------------------------
|====================================|
| ~ SRL ~ |
| Randoms Report |
|????????????????????????????????????|
| |
| Mordaut Solved ~ 1 |
| |
|????????????????????????????????????|
|====================================|
Special thanks
- J J for his über portal finder
- euphemism for his awesome portal finders
- Demisescythe for restoring my faith in DTMs
- Wizzup?, for the motivation and awesome starting script
- mixster for helping my tired mind out with trig maths
- WT-Fakawi for his high-quality feedback
Todo:
- Bugfixes
- SRL stats?
- Better Aubury finder (HoG features are promising..)
- Fixing mine to bank
- Adding OSR support (the script was written in 2007...)
- Add workarounds for when SPS messed up badly
Feedback and bugfixes are always welcome!
Enjoy, Markus