Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
Simple Auto Lumberjack with Player Escape Based on auto_miner_escape Features: - Auto Harvests using "Use Item in Hand" - Maintains Tracking buff (Tracks All Players) - Auto Recalls if a player is found nearby - Offloads logs/boards to…
GatheringTracking
Bigguns Simple Jacker.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/06ee2b83-2fb4-47aa-b948-bed54f755726 for latest2# Automation by Jaseowns3## Script: Bigguns Simple Jacker4## Created by: bigguns.#05#############################################6 7# Simple Auto Lumberjack with Player Escape8# Based on auto_miner_escape9#10# Features:11# - Auto Harvests using "Use Item in Hand"12# - Maintains Tracking buff (Tracks All Players)13# - Auto Recalls if a player is found nearby14# - Offloads logs/boards to pack animal if weight > 50015#16# Requirements:17# - Hatchet equipped18# - Pack Animal nearby19# - Runebook or Rune for escape20#21# Setup:22# 1. Set your escape rune/book when prompted23# 2. Have a pack animal nearby24 25# Configuration26@setvar! maxWeight 50027@setvar! searchDistance 4028 29# --- Initialization ---30 31if not varexist "escapeRune"32 overhead "Select your Escape Rune or Runebook" 8833 setvar "escapeRune"34endif35 36if not varexist "myPackAnimal"37 if findtype "291|292" ground -1 -1 2 as animal38 @setvar "myPackAnimal" animal39 overhead "Pack animal found" 6840 else41 overhead "Target your pack animal" 8842 setvar "myPackAnimal"43 endif44endif45 46# --- Main Loop ---47 48clearsysmsg49while not dead50 # 1. Safety Check (High Priority)51 # Check for specific distances (1-39 spaces) in system messages52 # Matches format "(X spaces" as seen in logs53 if insysmsg "(1 spaces" or insysmsg "(2 spaces" or insysmsg "(3 spaces" or insysmsg "(4 spaces" or insysmsg "(5 spaces" or insysmsg "(6 spaces" or insysmsg "(7 spaces" or insysmsg "(8 spaces" or insysmsg "(9 spaces"54 overhead "PLAYER CLOSE! ESCAPING!" 3855 hotkey 'Cancel Current Target'56 cast "Recall"57 wft 350058 target "escapeRune"59 stop60 elseif insysmsg "(10 spaces" or insysmsg "(11 spaces" or insysmsg "(12 spaces" or insysmsg "(13 spaces" or insysmsg "(14 spaces" or insysmsg "(15 spaces" or insysmsg "(16 spaces" or insysmsg "(17 spaces" or insysmsg "(18 spaces" or insysmsg "(19 spaces"61 overhead "PLAYER CLOSE! ESCAPING!" 3862 hotkey 'Cancel Current Target'63 cast "Recall"64 wft 350065 target "escapeRune"66 stop67 elseif insysmsg "(20 spaces" or insysmsg "(21 spaces" or insysmsg "(22 spaces" or insysmsg "(23 spaces" or insysmsg "(24 spaces" or insysmsg "(25 spaces" or insysmsg "(26 spaces" or insysmsg "(27 spaces" or insysmsg "(28 spaces" or insysmsg "(29 spaces"68 overhead "PLAYER CLOSE! ESCAPING!" 3869 hotkey 'Cancel Current Target'70 cast "Recall"71 wft 350072 target "escapeRune"73 stop74 elseif insysmsg "(30 spaces" or insysmsg "(31 spaces" or insysmsg "(32 spaces" or insysmsg "(33 spaces" or insysmsg "(34 spaces" or insysmsg "(35 spaces" or insysmsg "(36 spaces" or insysmsg "(37 spaces" or insysmsg "(38 spaces" or insysmsg "(39 spaces"75 overhead "PLAYER CLOSE! ESCAPING!" 3876 hotkey 'Cancel Current Target'77 cast "Recall"78 wft 350079 target "escapeRune"80 stop81 elseif insysmsg "(40 spaces" or insysmsg "(41 spaces" or insysmsg "(42 spaces" or insysmsg "(43 spaces" or insysmsg "(44 spaces" or insysmsg "(45 spaces" or insysmsg "(46 spaces" or insysmsg "(47 spaces" or insysmsg "(48 spaces" or insysmsg "(49 spaces"82 overhead "PLAYER CLOSE! ESCAPING!" 3883 hotkey 'Cancel Current Target'84 cast "Recall"85 wft 350086 target "escapeRune"87 stop88 elseif insysmsg "(50 spaces" or insysmsg "(51 spaces" or insysmsg "(52 spaces" or insysmsg "(53 spaces" or insysmsg "(54 spaces" or insysmsg "(55 spaces" or insysmsg "(56 spaces" or insysmsg "(57 spaces" or insysmsg "(58 spaces" or insysmsg "(59 spaces"89 overhead "PLAYER CLOSE! ESCAPING!" 3890 hotkey 'Cancel Current Target'91 cast "Recall"92 wft 350093 target "escapeRune"94 stop95 elseif insysmsg "(60 spaces" or insysmsg "(61 spaces" or insysmsg "(62 spaces" or insysmsg "(63 spaces" or insysmsg "(64 spaces" or insysmsg "(65 spaces" or insysmsg "(66 spaces" or insysmsg "(67 spaces" or insysmsg "(68 spaces" or insysmsg "(69 spaces"96 overhead "PLAYER CLOSE! ESCAPING!" 3897 hotkey 'Cancel Current Target'98 cast "Recall"99 wft 3500100 target "escapeRune"101 stop102 elseif insysmsg "(70 spaces"103 overhead "PLAYER CLOSE! ESCAPING!" 38104 hotkey 'Cancel Current Target'105 cast "Recall"106 wft 3500107 target "escapeRune"108 stop109 endif110 111 # Clear buffer AFTER checking, so we're ready for new messages during the next cycle112 clearsysmsg113 114 # 2. Tracking Maintenance115 # Checks if tracking buff is missing116 if not findbuff "Tracking"117 # Clear any existing gumps first118 if gumpexists 4267467659119 gumpclose 4267467659120 endif121 122 useskill "Tracking"123 waitforgump 4267467659 2000124 125 # Select "Players"126 gumpresponse 7 4267467659127 128 # Wait for potential sub-gump or confirmation129 wait 500130 if gumpexists 4267467659131 # confirm tracking132 gumpresponse 6 4267467659133 endif134 135 pause 1000136 endif137 138 # 3. Weight Check & Unload139 if weight > maxWeight140 if find "myPackAnimal" ground -1 -1 4141 overhead "Overweight. Unloading..." 55142 143 # Open pack animal bag if needed144 dclick "myPackAnimal"145 pause 600146 147 # Find Logs (7133) and Boards (7127)148 while findtype "7133|7127" backpack as wood149 lift wood 60000150 drop "myPackAnimal"151 pause 600152 endwhile153 154 overhead "Unload Complete" 68155 else156 overhead "Pack animal too far!" 38157 endif158 endif159 160 # 4. Harvesting Loop161 # Assumes hatchet is in hand162 if findlayer self righthand or findlayer self lefthand163 hotkey 'Use Item in Hand'164 165 # Wait for system response or target cursor166 wait 1000167 168 if targetexists 169 target "self"170 endif171 else172 overhead "Equip a Hatchet!" 38173 pause 2000174 endif175 176 # Small delay to prevent CPU spam177 wait 200178endwhile