Author Topic: Auto Miner Update, 2.0 full rewrite  (Read 257 times)

0 Members and 1 Guest are viewing this topic.

Offline altiricTopic starter

  • Jr. Member
  • **
  • Posts: 83
  • Activity:
    0.4%
  • Reputation Power: 2
  • altiric has no influence.
  • Referrals: 1
    • View Profile
Auto Miner Update, 2.0 full rewrite
« on: July 06, 2024, 10:41:20 AM »
One of my more popular projects has been my lumberjack script. The auto miner I made was a little limited but still had quite a few downloads. Decided to level it up and release v2, which is light years beyond the old version. This core of the script is now fully functional (a complete rewrite), and has a range of pretty cool features that can be used quite a few different ways. This is pretty much the last beta version before it's fully functional with all the extra features but is fully able to strip mine caves as is. Anyone kind enough to test it out and give some feedback will be the first to get the official release, then after some run time to make sure everything is working I'll repost it here.

Thanks to the people giving feedback, Updates won't be this frequent in here just yet but I wanted to make sure people had access to a fully functional copy. 2.0.1 fixes the issues reading runes into memory. Another issue trying to run the script without a fire beetle has been pointed out and is on the TODO list, for now a fire beetle is needed.

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Miner2.0.1.js
« Last Edit: July 19, 2024, 09:33:32 AM by altiric »

Offline Aurelius

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0.4%
  • Reputation Power: 1
  • Aurelius has no influence.
  • Referrals: 0
    • View Profile
Re: Auto Miner Update, 2.0 full rewrite
« Reply #1 on: July 18, 2024, 11:24:58 AM »
THANK YOU!!!

Post Merge: July 18, 2024, 01:14:43 PM
THANK YOU!!!

First bug I found - looks like it won't run unless you have >40 Magery & > 40 Chilvary. I think the intent is one or the other? So should:
if(Orion.SkillValue('Magery') < 400 || Orion.SkillValue('Chivalry') < 400){
status('Need magery or chivalry to travel');

become:
if(Orion.SkillValue('Magery') < 400 && Orion.SkillValue('Chivalry') < 400){
status('Need magery or chivalry to travel');

Post Merge: July 19, 2024, 05:34:59 AM
Haven't had much success yet - I have a rune marked next to my secure in Malas in the book with mining locations. I have no fire beetle. After mining a cave and inventory is full of ore, it just recalls back and forth between 2 caves that aren't near my secure, skipping blocked runes - but the blocked runes don't seem to be the closest ones to my secure either. Log:

09:30:13 Trammel x4758 y3776 Digs: 82 Type: Iron Ore[2]
09:30:15 Trammel x4758 y3776 Digs: 83 Type: Iron Ore[2]
09:30:16 No fire beetle set
09:30:16 No pack beetle set
09:30:16 Closest Rune: {"index":2,"name":"Bucc's Den Cave","position":"57o 49'S,  90o 33'E","x":1967,"y":1953}
09:30:16 Closest Rune: {"index":9,"name":"Delucia Cave","position":"83o 35'S,  54o 46'W","x":934,"y":51}
09:30:16 No fire beetle set
09:30:17 Delucia Cave 83o 35'S,  54o 46'W
09:30:22 No fire beetle set
09:30:22 No pack beetle set
09:30:22 Closest Rune: {"index":2,"name":"Bucc's Den Cave","position":"57o 49'S,  90o 33'E","x":1967,"y":1953}
09:30:22 Closest Rune: {"index":9,"name":"Delucia Cave","position":"83o 35'S,  54o 46'W","x":934,"y":51}
09:30:22 No fire beetle set
09:30:22 Delucia Cave 83o 35'S,  54o 46'W
09:30:38 Rune blocked, skipping...
09:30:43 No fire beetle set
09:30:43 No pack beetle set
09:30:43 Closest Rune: {"index":2,"name":"Bucc's Den Cave","position":"57o 49'S,  90o 33'E","x":1967,"y":1953}
09:30:43 Closest Rune: {"index":9,"name":"Delucia Cave","position":"83o 35'S,  54o 46'W","x":934,"y":51}
09:30:43 No fire beetle set
09:30:43 Delucia Cave 83o 35'S,  54o 46'W
09:30:48 No fire beetle set
09:30:48 No pack beetle set
09:30:48 Closest Rune: {"index":2,"name":"Bucc's Den Cave","position":"57o 49'S,  90o 33'E","x":1967,"y":1953}
09:30:48 Closest Rune: {"index":9,"name":"Delucia Cave","position":"83o 35'S,  54o 46'W","x":934,"y":51}
09:30:48 No fire beetle set
09:30:49 Delucia Cave 83o 35'S,  54o 46'W
09:31:04 Rune blocked, skipping...
09:31:09 No fire beetle set
09:31:09 No pack beetle set
09:31:09 Closest Rune: {"index":2,"name":"Bucc's Den Cave","position":"57o 49'S,  90o 33'E","x":1967,"y":1953}
09:31:09 Closest Rune: {"index":9,"name":"Delucia Cave","position":"83o 35'S,  54o 46'W","x":934,"y":51}
09:31:09 No fire beetle set
09:31:10 Delucia Cave 83o 35'S,  54o 46'W
09:31:15 No fire beetle set
09:31:15 No pack beetle set
« Last Edit: July 19, 2024, 05:34:59 AM by Aurelius »

Offline altiricTopic starter

  • Jr. Member
  • **
  • Posts: 83
  • Activity:
    0.4%
  • Reputation Power: 2
  • altiric has no influence.
  • Referrals: 1
    • View Profile
Re: Auto Miner Update, 2.0 full rewrite
« Reply #2 on: July 19, 2024, 07:32:57 AM »
The script sadly got posted with a partial update to how it reads the runes in the runebook that has prevented it from working. This has been fixed in the updates, and will be updated here for the next version i release. People who have been interested already have the new copy.

Tags: