Walking and Mining\Lumberjacking

General Macro Help Walking and Mining\Lumberjacking

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1738
    jogzgs
    Member
    • Topics - 12
    • Replies - 9
    • Total - 21
    • Novice
    • ★★

    Hi is anyone able to help out with a script to mine and lumberjack with walking

    prefer UOS but Razor is fine as well

    Any help is much appreciated

    thnx

    #1740
    krynn
    Member
    • Topics - 3
    • Replies - 38
    • Total - 41
    • Apprentice
    • ★★★

    Following for updates :D.

    #1752
    FeST
    Blocked
    • Topics - 8
    • Replies - 30
    • Total - 38
    • Novice
    • ★★

    Use Orion!

    #1753
    FeST
    Blocked
    • Topics - 8
    • Replies - 30
    • Total - 38
    • Novice
    • ★★

    MSK The Best!

    #1754
    FeST
    Blocked
    • Topics - 8
    • Replies - 30
    • Total - 38
    • Novice
    • ★★

    Bor.ka@mail.ru its Im…

    #1766
    jogzgs
    Member
    • Topics - 12
    • Replies - 9
    • Total - 21
    • Novice
    • ★★

    mining script for UOS
    needs work

    if not @findalias ‘Beetle3’
    promptalias ‘Beetle3’
    endif
    if counttype 0x19b9 ‘any’ ‘backpack’ < 188
    movetype 0x19b9 ‘backpack’ ‘Beetle3’
    endif
    if not listexists ‘miningerrormessages’
    createlist ‘miningerrormessages’
    pushlist ‘miningerrormessages’ ‘no metal here’
    pushlist ‘miningerrormessages’ “You can’t mine there”
    pushlist ‘miningerrormessages’ “Target cannot be seen”
    pushlist ‘miningerrormessages’ “You can’t mine that”
    endif
    if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
    useobject ‘found’
    else
    sysmsg “You do not have any digging tools!”
    stop
    endif
    waitfortarget 500
    if direction == 0
    targettileoffset 0 -1 0
    elseif direction == 1
    targettileoffset 1 -1 0
    elseif direction == 2
    targettileoffset 1 0 0
    elseif direction == 3
    targettileoffset 1 1 0
    elseif direction == 4
    targettileoffset 0 1 0
    elseif direction == 5
    targettileoffset -1 1 0
    elseif direction == 6
    targettileoffset -1 0 0
    elseif direction == 7
    targettileoffset -1 -1 0
    endif
    pause 200
    if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
    useobject ‘found’
    else
    sysmsg “You do not have any digging tools!”
    stop
    endif
    waitfortarget 500
    if direction == 1
    targettileoffset 0 -1 0
    elseif direction == 2
    targettileoffset 1 -1 0
    elseif direction == 3
    targettileoffset 1 0 0
    elseif direction == 4
    targettileoffset 1 1 0
    elseif direction == 5
    targettileoffset 0 1 0
    elseif direction == 6
    targettileoffset -1 1 0
    elseif direction == 7
    targettileoffset -1 0 0
    elseif direction == 0
    targettileoffset -1 -1 0
    endif
    pause 200
    if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
    useobject ‘found’
    else
    sysmsg “You do not have any digging tools!”
    stop
    endif
    waitfortarget 500
    if direction == 7
    targettileoffset 0 -1 0
    elseif direction == 0
    targettileoffset 1 -1 0
    elseif direction == 1
    targettileoffset 1 0 0
    elseif direction == 2
    targettileoffset 1 1 0
    elseif direction == 3
    targettileoffset 0 1 0
    elseif direction == 4
    targettileoffset -1 1 0
    elseif direction == 5
    targettileoffset -1 0 0
    elseif direction == 6
    targettileoffset -1 -1 0
    endif
    pause 10

    #1772
    sharnthor
    Member
    • Topics - 21
    • Replies - 90
    • Total - 111
    • Expert
    • ★★★★★

    Thank you jogzgs. I’ll give this a try later today

    #1773
    sharnthor
    Member
    • Topics - 21
    • Replies - 90
    • Total - 111
    • Expert
    • ★★★★★

    Okay… Try this on for size 🙂 I’ve taken your script and made it “better”, I hope you don’t mind jogzgs

    if not @findalias “Buggie” //set your storage animal
    promptalias “Buggie”
    endif
    while not @injournal ‘no metal here’ and not @injournal “can’t mine that”
    if @findtype 0xf39 “any” “backpack” //set shovels
    useobject “found”
    else
    sysmsg “You do not have any digging tools!”
    for 1 to 300 //do arms lore if you cannot mine for any reason
    useskill ‘Arms Lore’
    waitfortarget 15000
    target! 0x4021629b //set to a dagger in my backpack
    pause 10000
    endfor
    usetype 0x97b ‘backpack’ //eat fish steaks
    pause 1000
    endif
    waitfortarget 15000
    if direction == 0
    targettileoffset 0 -1 0
    elseif direction == 1
    targettileoffset 1 -1 0
    elseif direction == 2
    targettileoffset 1 0 0
    elseif direction == 3
    targettileoffset 1 1 0
    elseif direction == 4
    targettileoffset 0 1 0
    elseif direction == 5
    targettileoffset -1 1 0
    elseif direction == 6
    targettileoffset -1 0 0
    elseif direction == 7
    targettileoffset -1 -1 0
    endif
    pause 7500
    endwhile
    while @findtype 0x19b9 “any” “backpack” //looking for ore to move to Buggie
    movetype 0x19b9 “backpack” “Buggie”
    pause 1000
    endwhile
    clearjournal

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.