Skip to content
Outlands Hub

Razor script

Mod: Ultimate Lumberjacking Script by Jaseowns V1.0.1

by daklue · 175 lines
Download

Ultimate Lumberjacking Script by Jaseowns V1.0.1 Modified By Daklue for Kernelfault UO Outlands Requirements: organizer 1 as lumber and wood planks setup weight checks (default diff weight 30) For Recall with magery = 0 For Hiding = 1 For…

GatheringMagicOrganizingMageryHidingLumberjacking
Mod Ultimate Lumberjacking Script by Jaseowns V101.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/8da53dcc-1632-486d-852e-9d312d461d17 for latest2# Automation by Jaseowns3## Script: Mod: Ultimate Lumberjacking Script by Jaseowns V1.0.1 4## Created by: daklue#05#############################################6 7##############################################################8# Ultimate Lumberjacking Script by Jaseowns V1.0.1 9# Modified By Daklue for Kernelfault10# UO Outlands11# Requirements: 12#   organizer 1 as lumber and wood planks13#   setup weight checks (default diff weight 30)14##############################################################  15# For Recall with magery = 0 16# For Hiding = 117# For Recall with runebook but use scroll in book = 218# For Recall with scroll in backpack on to a rune in backpack = 319 20@setvar! redsnearby 221 22if not varexist jase_lumber_runebook23    overhead "Select your escape runebook" 8824    setvar jase_lumber_runebook25endif26 27if redsnearby = 3 and not varexist jase_rune28	overhead "Select your escape rune" 8829	setvar jase_rune30endif31	32if not listexists "jase_lumber_actions"33    createlist "jase_lumber_actions"34endif35 36if inlist "jase_lumber_actions" "red_alert"37    overhead "Red Alert!" 3438    if redsnearby = 0 and skill "Magery" >= 40 39        overhead 'Recalling...'40        while not targetexists41            cast "Recall"42            wft 50043        endwhile44        target jase_lumber_runebook45    elseif redsnearby = 1 and skill "Hiding" >= 4046        useskill "Hiding"47	elseif redsnearby = 248		overhead 'Recalling with scrolls in runebook...'49		while not targetexists50			dclick jase_lumber_runebook51			waitforgump 155174096952			gumpresponse 253			wft 50054		endwhile55	elseif redsnearby = 356		overhead 'Recalling with a scrolls in backpack on a rune...'57		while not targetexists58            dclick "Recall"59            wft 50060        endwhile61        target jase_rune62    endif63    poplist "jase_lumber_actions" "red_alert"64    overhead "Stopping script..." 3465    stop66    # replay67endif68 69clearsysmsg 70 71if diffweight <= 3072    organizer 173    while queued74        overhead 'Moving items...'75        wait 50076    endwhile77    if diffweight <= 3078        overhead "Too heavy still.. check organizer agent 1" 3479        replay80    endif81endif82 83if lhandempty ?? 0 84    if findtype "hatchet" backpack85        dclicktype 'hatchet' backpack86        wait 20087    endif88endif89            90if lhandempty ?? 0 91    overhead "No more hatchets!" 3492    replay93endif94 95wait 50096overhead 'Lumberjacking' 097hotkey 'Use item in hand'98wft 100099hotkey 'Target Self'100for 75101    wait 100102    if insysmsg 'world is saving'103        for 30104            overhead 'Waiting for world save...'105            wait 1000106            if insysmsg 'save complete'107                overhead 'Save complete - continue on!' 88108                clearsysmsg 109                wait 250110                replay111            elseif insysmsg "now tracking"112                pushlist "jase_lumber_actions" "red_alert"113                clearsysmsg 114                wait 250115                replay116            endif117        endfor118    elseif insysmsg "now tracking"119        pushlist "jase_lumber_actions" "red_alert"120        replay121    elseif lhandempty ?? 0 122        overhead "Broke axe" 34123        replay124    elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any wood'125        overhead 'Move to next spot' 88126        wait 250127        replay128    elseif insysmsg "travel"129        overhead 'Waiting for travel...'130        wait 1000131        replay132    else133        if insysmsg "any harvestable" or insysmsg "jase_lumber_actions"134            // No Ore135            overhead 'Move to next spot' 88136            replay137        elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"138            // Gained skill139            replay140        elseif insysmsg "world is saving" or insysmsg 'World save complete'141            // World Save142            replay143        elseif insysmsg "You hack"144            // Failed145            replay146        elseif insysmsg "You chop"147            // Success148            replay149        elseif insysmsg "You must wait"150            // Wait message151            overhead 'You must wait..' 34152            wait 500153            replay154        endif155    endif156endfor157 158if insysmsg "You must wait"159    // Wait message160    overhead 'You must wait..' 34161    wait 500162    replay163endif164 165overhead 'Captcha break!' 34166for 20167    overhead 'Awaiting Captcha...' 34168    wait 1000169    if insysmsg 'Captcha successful'170        overhead 'Success - continue on!' 88171        wait 1000172        replay173    endif174endfor175overhead 'Stopping script' 34