Page 2 of 2

Re: Mining script that doesnt require fire beetle

Posted: January 4th, 2018, 11:47 pm
by The Silvertiger
fluffhead321 wrote:what do I set ingot source too? Is that my char. inventory?
Your restock box or drop box where iron ingots for tinkering are.

Re: Mining script that doesnt require fire beetle

Posted: January 7th, 2018, 2:09 am
by one of millions
is there a possibility for some one to add something like:

@setalias "prospector`s Tool"
if in journal "you put some dull copper" use prospector`s Tool

if in journal "you put some copper" use prospector`s Tool

if in journal "here is no metal to mine" clear journal

but correctly and so that it works in to the script?

Re: Mining script that doesnt require fire beetle

Posted: January 13th, 2018, 2:34 pm
by The Silvertiger
one of millions wrote:is there a possibility for some one to add something like:

@setalias "prospector`s Tool"
if in journal "you put some dull copper" use prospector`s Tool

if in journal "you put some copper" use prospector`s Tool

if in journal "here is no metal to mine" clear journal

but correctly and so that it works in to the script?
Do you want it for every metal or just D.C.?

Re: Mining script that doesnt require fire beetle

Posted: January 13th, 2018, 5:33 pm
by one of millions
i prefer only for dull cooper and cooper. or for verite too if possible.

Re: Mining script that doesnt require fire beetle

Posted: January 14th, 2018, 2:46 am
by The Silvertiger
K, I will add it to my list.

Re: Mining script that doesnt require fire beetle

Posted: February 1st, 2018, 5:51 pm
by SrCreosota
Guys, the macro not found nice... when it recall to my house, dont drop minerals on "ingotssource" why?

Re: Mining script that doesnt require fire beetle

Posted: February 1st, 2018, 6:35 pm
by hrs024
Organizer agent 'Ore' needs to be configured from your backpack to dropoff container and have the 4 ore graphics and 6 mining gems

Re: Mining script that doesnt require fire beetle

Posted: February 17th, 2018, 2:08 am
by hrs024
bump

Re: Mining script that doesnt require fire beetle

Posted: February 17th, 2018, 11:36 am
by kakel_anders
Bump for what? :)

Re: Mining script that doesnt require fire beetle

Posted: February 17th, 2018, 5:05 pm
by hrs024
bump so somebody can find the thread

Re: Mining script that doesnt require fire beetle

Posted: February 17th, 2018, 5:11 pm
by kakel_anders
Ahh cool,

Well here is my edit, not a big edit but i added a few more books.
I noticed that if the script gets interrupted and you have a shit lrc suit you end up running out of mana pretty darn quick once you restart it.
(And its sometimes faster than respawn)

Code: Select all

//1. need 2 full runebooks marked 1 tile south of the mineable locations
//2. macro assumes you have tinkering and spot at dropoff location to restock ingots
//3. Organizer agent 'Ore' needs to be configured from your backpack to dropoff container and have the 4 ore graphics and 6 mining gems
//4. pauses after recalls are set to 2000 for 0Faster Casting. Change to 1750 for 1FC and 1500 for 2FC
if not @findobject 'IngotsSource'
  promptalias 'IngotsSource'
endif
if not @findobject 'OreBookOne'
  promptalias 'OreBookOne'
endif
if not @findobject 'OreBookTwo'
  promptalias 'OreBookTwo'
endif
if not @findobject 'OreBookThree'
  promptalias 'OreBookThree'
endif
if not @findobject 'OreBookFour'
  promptalias 'OreBookFour'
endif
if not @findobject 'HomeOre'
  promptalias 'HomeOre'
endif
if not listexists 'OreBook'
  createlist 'OreBook'
  pushlist 'OreBook' 'OreBookOne'
  pushlist 'OreBook' 'OreBookTwo'
  pushlist 'OreBook' 'OreBookThree'
  pushlist 'OreBook' 'OreBookFour'
endif
if not listexists 'Runes'
  createlist 'Runes'
  pushlist 'Runes' 5
  pushlist 'Runes' 11
  pushlist 'Runes' 17
  pushlist 'Runes' 23
  pushlist 'Runes' 29
  pushlist 'Runes' 35
  pushlist 'Runes' 41
  pushlist 'Runes' 47
  pushlist 'Runes' 53
  pushlist 'Runes' 59
  pushlist 'Runes' 65
  pushlist 'Runes' 71
  pushlist 'Runes' 77
  pushlist 'Runes' 83
  pushlist 'Runes' 89
  pushlist 'Runes' 95
endif
For 0 to 'OreBook'
For 0 to 'Runes'
pause 500
clearjournal
pause 500
useobject OreBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
//tells you which rune you are on, see runelist above
sysmsg 'Rune' 33
sysmsg Runes[] 33
pause 2000
while not @injournal 'no metal here' and not @injournal "can't mine that"
  //use pickaxe to northern tile until specified weight is reached
  pause 300
  usetype 0xe86
  waitfortarget 1000
  targettileoffset 0 -1 0
  // once weight is reached go home, if getting overweight, lower it
  if weight > 420
    useobject 'HomeOre'
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 5
    pause 2000
    // organizer to put up ore
    organizer 'Ore'
    while organizing
    endwhile
    // get ingots if low
    if counttype 0x1bf2 0 'backpack' < 20
      useobject 'IngotsSource'
      pause 1000
      movetype 0x1bf2 'IngotsSource' 'backpack' (0 0 0) 0 40
      pause 1000
    endif
    // kits
    while @counttype 0x1eb8 0 'backpack' < 2
      usetype! 0x1eb8
      waitforgump 0x38920abd 15000
      replygump 0x38920abd 8
      waitforgump 0x38920abd 15000
      replygump 0x38920abd 23
    endwhile
    //pickaxes
    while @counttype 0xe86 0 'backpack' < 3
      usetype! 0x1eb8
      waitforgump 0x38920abd 15000
      replygump 0x38920abd 8
      waitforgump 0x38920abd 15000
      replygump 0x38920abd 114
    endwhile
    //recall back to where you were
    useobject OreBook[]
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 Runes[]
    pause 2000
  endif
endwhile
endfor
//recall home so ingot container is found
pause 1000
useobject 'HomeOre'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 2000
endfor

Re: Mining script that doesnt require fire beetle

Posted: February 17th, 2018, 6:26 pm
by hrs024
il try it out, than you =]

Re: Mining script that doesnt require fire beetle

Posted: February 19th, 2018, 11:38 am
by Mizernik
Some help pls i want to add " if can't mine there "
to jump to the next rune. Just not sure how to do it. I think supose to be somwhere there but not sure what comand to add

while not @injournal 'no metal here' and not @injournal "can't mine that"

Re: Mining script that doesnt require fire beetle

Posted: February 20th, 2018, 10:45 am
by kakel_anders
Just make sure to mark runes where you can actually mine.

For example i set up mine to mine targettileoffset 0 -1 0

What you need to do when marking runes is to use this little macro before marking.
That way you know it's a valid spot.

Code: Select all

usetype 0xe86
  waitfortarget 1000
  targettileoffset 0 -1 0
Same code as in the big script, and if it works the script most certainly will to.

Re: Mining script that doesnt require fire beetle

Posted: July 13th, 2018, 7:30 pm
by ersun
any help add for this script for world save ? and if location blocked go other runes?