Page 1 of 8 123 ... LastLast
Results 1 to 25 of 199

Thread: SRL Essence Miner v4!

  1. #1
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default SRL Essence Miner v4!

    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
    Attached Files Attached Files
    Last edited by Markus; 01-10-2017 at 08:58 AM. Reason: Updated
    I made a new script, check it out!.

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I'd tap that.

  3. #3
    Join Date
    Nov 2011
    Posts
    1,268
    Mentioned
    17 Post(s)
    Quoted
    217 Post(s)

    Default

    60k profit per hour? wow =) very nice.

    You mispelled around by the way Mister.

  4. #4
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Yay
    Mat



    ^^

  5. #5
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    If I was a girl I would give it to you.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  6. #6
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by DemiseScythe View Post
    60k profit per hour? wow =) very nice.

    You mispelled around by the way Mister.
    Already noticed that ma'am, thanks for pointing out though
    If you're bored and want to do me a favour: DTM I can use to walk inside Aubury's magic store, that fixes a few glitches Could use it for door handling then, too.
    I made a new script, check it out!.

  7. #7
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Now we just need a rune mysteries runner

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  8. #8
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Great release
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  9. #9
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    I posted this thread: http://villavu.com/forum/showthread.php?t=73745 one minute before this was posted, if only I knew you were working on this lol, I wouldn't have bothered

  10. #10
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    This is great. I look forwarding to playing with this.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  11. #11
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Lovelaayyyy!

  12. #12
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Dayme <3 FindPortal <3 i was actually thinking of writing a findportal using pixelshift -.- i feel undermined.

  13. #13
    Join Date
    Dec 2011
    Location
    Alturas, Ca
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Trying it out now will let you know when finished and give you a bug report if any

  14. #14
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    luckily i abused RSBuddy's RuneMysteries runner on 25 accounts

    :P

    Now all i have to do is set them up at varrock.. when i have time of course!

    Good job Markus!

    (Btw I'm not a gold farmer! They will probably sit in those accounts for a couple of months!)

  15. #15
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Sweet. Now if only my second account was a Member because I need truckloads of Pure Essence. :S Way to go Markus! Looks fantastic.

    Quote Originally Posted by PatDuffy View Post
    Now we just need a rune mysteries runner
    Hmm...

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  16. #16
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    It's not out of the question for a quest runner anymore either...with all of the different somewhat stable walking methods that can all be used as failsafes.

    It would take some time to compile all of the paths needed for the script.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  17. #17
    Join Date
    Jan 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Started this and all it did was type my username and password in all chat.

  18. #18
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by Dairiun View Post
    Started this and all it did was type my username and password in all chat.
    Umm that's weird. Make sure you are running runescape on safe mode (Press/spam 's' while loading runescape)
    Also use the lowest possible graphical details.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  19. #19
    Join Date
    Jan 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    bank pin option?

    also, makes me sad it cant find banker...
    Last edited by Markus; 02-02-2012 at 01:55 PM.

  20. #20
    Join Date
    Jan 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    Umm that's weird. Make sure you are running runescape on safe mode (Press/spam 's' while loading runescape)
    Also use the lowest possible graphical details.
    Maybe it wasn't on safe mode anymore... Not sure what happened but it seems to work now. It works but it gets stuck really often.
    Last edited by Dairiun; 02-02-2012 at 12:19 AM.

  21. #21
    Join Date
    Jun 2007
    Posts
    108
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Seems to work fine, but if the door to Aubury is closed, the script will just trying teleporting to him repeatedly.

  22. #22
    Join Date
    Jul 2007
    Location
    Melbourne, Victoria, Australia.
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    Um, I have 2 clients of simba running for this script, but for some reason it runs to the blue moon inn and just sits there? IS there a specific way to set up the bot? Thanks

  23. #23
    Join Date
    Feb 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] (293:7): Unknown identifier 'SMART_ClearCanvas' at line 292

    i have this error when i run this script
    please help me out with this bro

  24. #24
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Updated to v3.01, check first post for changelog (quite a bit).
    I made a new script, check it out!.

  25. #25
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Going in the right direction. A couple of comments after the second round

    • Aubury Finding: Much improved in 3.01. But clicking on Aubury while standing outside the shop with door closed results in if ( pos('You can't reach that.',GetBlackChatMessage) <> 0 ) then OpenDoor; Implement that.
    • Aubury Symbol finding: Why dont you just do a simple FindSymbol? The current algorhythm has a tendency towards the dungeon symbol. Hmmm.
    • Wild clicks away from the aubury symbol should not be allowed. Stay close to the Symbol.
    • Exiting the mine while the inventory isn't even halve full.
    • Standing in front of Portal, and not finding it, yet it glows with color.



    The main problem with most points is: not properly callibrating to the Aubury door. Below a couple of suggestions for callibration.






    Two solid DDTMs utilising unique colors on the MM can be picked from the bank location:
    1. The brown branch color of the trees (Red DDTM) or
    2. the brown Ladder Color (Green DDTM). And after the first step outside the bank, appears the third possibility:
    3. a large darkish blob (Blue DDTM)



    I would go for the red path. Simple and effective. In fact whole HLR is build around a DDTM just like that

    Want me to add solid callibration to the script?
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

Page 1 of 8 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •