Skip to content
Outlands Hub

Razor script

Legenis's Super Cool Auto Jacker

by legenis · 229 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

HidingTracking
Legeniss Super Cool Auto Jacker.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/071ebde5-0246-4f25-9363-19f0b59f6502 for latest2# Automation by Jaseowns3## Script: Legenis's Super Cool Auto Jacker4## Created by: legenis#05#############################################6 7 8@setvar! minimumWaitForPing 2009@setvar! globalTimeout 65010 11 12if not varexist jase_miner_runebook or not find jase_miner_runebook backpack13    if counttype "runebook" backpack = 1 and counttype "runetome" backpack = 0 and findtype "runebook" backpack as myBook14        overhead "Automatically selected your one runebook" 8815        @setvar jase_miner_runebook myBook16    elseif counttype "runebook" backpack = 0 and counttype "runetome" backpack = 1 and findtype "runetome" backpack as myBook17        overhead "Automatically selected your one runetome" 8818        @setvar jase_miner_runebook myBook19    elseif counttype 7956 backpack = 1 and findtype 7956 backpack as myBook20        overhead "Automatically selected your one rune" 8821        @setvar jase_miner_runebook myBook22    elseif counttype "runebook" backpack > 0 or counttype 7956 backpack > 0 or counttype "runetome" backpack > 023        overhead "Select your escape plan (runebook or runetome)" 8824        @setvar jase_miner_runebook 25    endif26endif27 28 29if not listexists "lumberjack_actions"30    createlist "lumberjack_actions"31endif32 33if not listexists "4-failures"34    createlist "4-failures"35endif36 37if inlist "lumberjack_actions" "red_alert"38    overhead "Red Alert!" 3439    poplist "lumberjack_actions" "red_alert"40    # You could also replace this magery bit with your ultimate recaller41    # Ultimate Recall using Tome or Book as Escape (ALT-M)42    # https://outlands.uorazorscripts.com/script/5b3fde97-fa90-4707-9f8e-7f56dca6792b43    # hotkey "Play Script: UltimaRecaller"44    if skill "Magery" >= 4045        overhead 'Recalling...'46        while not targetexists47            if findtype 8012 backpack as item48                dclick item49            else50                cast "Recall"51            endif52            wait minimumWaitForPing53            if insysmsg "You do not have that spell!"54                overhead "We cannot recall!" 3455                break56            endif57        endwhile58        target jase_miner_runebook59    elseif skill "Hiding" >= 4060        useskill "Hiding"61    endif62    63    overhead "Stopping script..." 3464    //Legenis Fix for Jases Script65 66    if not varexist jase_miner_runebook67        say 'Pooping BRB - be gental'68    endif69    70    71getlabel jase_miner_runebook desc72if "rune tome" in desc73    dclick jase_miner_runebook74    waitforgump 16709002775    gumpresponse 10076elseif "runebook" in desc77    dclick jase_miner_runebook78    waitforgump 155174096979    gumpresponse 280endif81    82    83stop    84    # replay85endif86 87 88if skill "Tracking" > 089    if not findbuff "tracking"90        clearsysmsg91        while not gumpexists 426746765992            useskill 'tracking'93            wait minimumWaitForPing94        endwhile95        if gumpexists 426746765996            while not insysmsg "You will now hunt all hostile players."97                gumpresponse 8 426746765998                waitforgump 4267467659 500099            endwhile100            gumpresponse 6 4267467659101            wait minimumWaitForPing102        endif103        gumpclose 4267467659104    endif105endif106 107 108 109# https://outlands.uorazorscripts.com/script/fd1c9331-fc25-4a89-8d75-3eba6a929247110if skill "Healing" > 0111    if findtype "clean bandage%s%" backpack as aids112        if not bandaging and hp < maxhp113            dclick aids114            wft 500115            hotkey 'Target Self'116        elseif not bandaging and poisoned117            dclick aids118            wft 500119            hotkey 'Target Self'120        elseif not bandaging and findbuff "bleed"121            dclick aids122            wft 500123            hotkey 'Target Self'124        elseif not bandaging and findbuff "disease"125            dclick aids126            wft 500127            hotkey 'Target Self'128        endif129    else130        overhead "No bandages" 34131    endif132endif133 134 135if lhandempty ?? 0 136    if findtype "hatchet" backpack137        dclicktype 'hatchet' backpack138        wait minimumWaitForPing139    endif140endif141            142if lhandempty ?? 0 143    overhead "No more hatchet!" 34144    wait minimumWaitForPing145    replay146endif147 148clearsysmsg 149 150 151# It doesn't get much easier then this by Jaseowns152# UO Outlands -  https://youtu.be/jTU_pORdan4153if not targetexists 154    hotkey "Use item in hand"155    wft 500156endif157if targetexists 158    hotkey "Target Self"159endif160wait 500161 162 163for 75164    wait 150165    if insysmsg 'world is saving'166        pause 50167        hotkey 'Clear Target Queue'168        hotkey 'Cancel Current Target'169        for 30170            overhead 'Waiting for world save...'171            wait 1000172            if insysmsg 'save complete'173                overhead 'Save complete - continue on!' 88174                clearsysmsg 175                wait 250176                replay177            elseif insysmsg "now tracking"178                pushlist "lumberjack_actions" "red_alert"179                clearsysmsg 180                wait 250181                replay182            endif183        endfor184    elseif insysmsg "now tracking"185        pushlist "lumberjack_actions" "red_alert"186        replay187    elseif insysmsg "harvestable"188        wait 250189        pushlist "4-failures" "failure"190        replay191    elseif lhandempty ?? 0 192        overhead "Broke axe" 34193        replay194    elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any wood'195        wait 500196        replay197    elseif insysmsg "travel"198        overhead 'Waiting for travel...'199        wait 1000200        replay201    else202        if insysmsg "any harvestable" or insysmsg "lumberjack_actions"203            // No Ore204            overhead 'Move to next spot' 88205            replay206        elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"207            // Gained skill208            replay209        elseif insysmsg "world is saving" or insysmsg 'World save complete'210            // World Save211            replay212        elseif insysmsg "You hack"213            // Failed214            replay215        elseif insysmsg "You chop"216            clearlist "4-failures"217            replay218        elseif insysmsg "You must wait"219            // Wait message220            overhead 'You must wait..' 34221            wait 500222            replay223        endif224    endif225endfor226 227 228 229loop