Skip to content
Outlands Hub

Razor script

Flu Lumber

by flutschi · 218 lines
Download

you NEED a rune that is called "Home" in your runebook or runetome. (otherwise it wont find it to recall)

GatheringTracking
Flu Lumber.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/dfd1dbf7-6d9f-433b-8543-830a3868a605 for latest2# Automation by Jaseowns3## Script: Flu Lumber4## Created by: flutschi#05#############################################6 7# you NEED a rune that is called "Home" in your runebook or runetome. (otherwise it wont find it to recall)8 9# to create a cooldown, go ingame -> options -> cooldown.10# create the cooldown 'summons' for keeping up the elementals!11# create cooldown 'afk' and 'walk' (walk needs to be set to walk in the settings!)12 13# to be a miner instead of a lumberjacker -> change the variable "isMiner" on line 14~ to either 0 for lumber, or 1 for mining14    15hotkey 'cancel current target'16 17@setvar! enableRecall 118@setvar! enableSummons 119@setvar! enableAFK 020@setvar! isMiner 021 22@setvar! afkTime 12000023@setvar! allGuardMeTimer 500024 25clearsysmsg 26 27# this is when u want to summon something28while casting 29    overhead 'casting..'30    pause 200031endwhile32 33if isMiner = 134    if lhandempty ?? 0 35        if findtype "pickaxe" backpack36            dclicktype 'pickaxe' backpack37            wait 50038        endif39    endif40                41    if rhandempty ?? 0 42        overhead "No more pickaxe!" 3443        wait 50044        replay45    endif46else 47    if lhandempty ?? 0 48        if findtype "hatchet" backpack49            dclicktype 'hatchet' backpack50            wait 50051        endif52    endif53                54    if lhandempty ?? 0 55        overhead "No more hatchet!" 3456        wait 50057        replay58    endif59endif60 61# Smelter Part62 63if isMiner = 164    if findtype "forge" ground -1 -1 12 as forge65        overhead "Forge..." 88 forge66    endif67endif68 69 70if findtype 7133 backpack as log71    dclick log72endif73 74 75# check for summons76# casttime with summoners tome is 2500, else put 500077@setvar! castTime 520078 79if enableSummons = 180    81    if followers < 1 or cooldown 'summons' < 60000 and mana > 50 and skill 'magery' > 9982        cooldown 'afk' afkTime83        cast 'Earth Elemental'84        pause castTime85        pause 50086        hotkey 'all guard me'87        cooldown 'allGuard' allGuardMeTimer88        cooldown 'summons' 60000089    endif90    91endif92 93#tracking!94 95if not findbuff 'tracking'96    overhead 'i should track..'97 98    while not gumpexists 426746765999        useskill 'tracking'100        wait 250101    endwhile102    103    if gumpexists 4267467659104        while not insysmsg "You will now hunt all hostile players."105            gumpresponse 8 4267467659106            waitforgump 4267467659 5000107        endwhile108        gumpresponse 6 4267467659109        wait 1000110        clearsysmsg                     111    endif112    gumpclose 4267467659113endif114 115# protection!116 117if not findbuff 'Magic Reflection'118    cast 'Magic Reflection'119    pause 3000120endif121 122# start chopping123wait 500124hotkey 'Use item in hand'125if findtype 3908 lefthand126    pause 400127    target 'self'128endif129 130for 75131    wait 100132 133    if hp < maxhp and not cooldown 'allGuard'134        cooldown 'allGuard' allGuardMeTimer135        hotkey 'all guard me'136    endif137 138    139    if enableRecall = 1140        if insysmsg 'Now tracking' or insysmsg 'Distance'141            #use runebook142			say '[recall Home'143            stop144        endif145    endif146    147	if enableAFK = 1148		if cooldown 'walk'149			cooldown 'afk' afkTime150		endif151 152		if cooldown 'afk' < 18000153			overhead 'timer runs out..' 33154			dclicktype 3834 backpack155			pause 1500156		endif157 158		if cooldown 'afk' < 5000159			overhead 'afk too long..' 33160			if not cooldown 'afk'161				script 'recallHome'162				stop163			endif164		endif165	endif166 167    if insysmsg 'world is saving'168        for 30169            overhead 'Waiting for world save...'170            wait 1000171            if insysmsg 'save complete'172                overhead 'Save complete - continue on!' 88173                clearsysmsg 174                wait 250175                replay176            endif177        endfor178    elseif rhandempty ?? 0 and isMiner = 1179        overhead "Broke axe" 34180        replay181    elseif lhandempty ?? 0 and isMiner = 0182        overhead "Broke pick" 34183        replay184    elseif insysmsg 'You do not see any'185        overhead 'Move to next spot' 88186        wait 250187        replay188    elseif insysmsg "travel"189        overhead 'Waiting for travel...'190        wait 1000191        replay192    else193        if insysmsg "any harvestable"194            overhead 'Move to next spot' 88195            replay196        elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"197            replay198        elseif insysmsg "you loosen some"199            replay200        elseif insysmsg "You dig some"201            replay202        elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"203            replay204        elseif insysmsg "world is saving" or insysmsg 'World save complete'205            replay206        elseif insysmsg "You hack"207            replay208        elseif insysmsg "You chop"209            replay210        elseif insysmsg "You must wait"211            overhead 'You must wait..' 34212            wait 500213            replay214        endif215    endif216endfor217 218replay