Original Author: golfinho, modified by Holzhauer to my liking
Tracking
Holzhauers Tracker Lumberjacker.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0a0ae910-78e5-4c7e-a4a1-45f64c19b7dd for latest2# Automation by Jaseowns3## Script: Holzhauer's Tracker Lumberjacker4## Created by: mementumtrader#05#############################################6 7 # Original Author: golfinho, modified by Holzhauer to my liking8 9#change 1 to 0 if you don't want kindling or don't have dagger10setvar! 'gkindling' 011 12#change 1 to 0 if you don't want tracking turned on13setvar! 'track' 114 15# Check for hatchet16if lhandempty and findtype 'hatchet' backpack as _hatchet17 dclick _hatchet18elseif not findlayer self lefthand 19 sysmsg "No hatchet found!" 3820 stop21endif22 23# Track PKs if you have tracking24if skill 'Tracking' > 0 and not findbuff 'Tracking Hunting' and 'track' = 125 @setvar! tracking_gump 426746765926 27 while not gumpexists tracking_gump28 useskill 'Tracking'29 waitforgump tracking_gump 500 30 endwhile31 32 while not insysmsg "You will now hunt all hostile players."33 gumpresponse 8 tracking_gump34 waitforgump tracking_gump 50035 endwhile36 37 gumpresponse 6 tracking_gump38endif39 40# In case a PK is seen, just notify. It is up to you what to do41if insysmsg "Now tracking:"42 overhead "**PK SEEN**" 3843endif44 45# I use Hiding as my stop condition, so if I see any PK I hide myself and the script stop46# Feel free to remove this47if hidden48 overhead "Hidden, stopping script."49 stop50endif51 52if weight >= 57553 overhead "Warning: Weight too high!" 4054 wait 100055 overhead "Time to drop off some goods." 4056 wait 100057 overhead "Stopping script." 4058 stop59else60 if findtype 'dagger' backpack as 'mydagger' and 'gkindling' = 161 wait 30062 dclick 'mydagger'63 wft 30064 target self65 overhead 'Got some kindling.' 4066 wait 150067 endif68 69 #overhead "start chops" 4070 hotkey 'use item in hand'71 wft 60072 target self73 74 wait 30075endif76 77 78while not insysmsg "You chop some" or insysmsg "You hack at" 79 if hidden80 wait 100081 break82 endif83 84 # Check for hatchet85 if lhandempty and findtype 'hatchet' backpack as _hatchet86 dclick _hatchet87 88 elseif not findlayer self lefthand 89 sysmsg "No hatchet found!" 3890 stop91 92 elseif findtype 'log%s' backpack as 'mylogs'93 #overhead 'mylogs'94 organizer 295 wait 30096 dclick 'mylogs'97 wait 20098 # skill 'spiritspeak'99 100 elseif insysmsg "You cannot produce" or insysmsg "You do not see any"101 102 overhead "**Move to new trees**" 38103 #skill "spiritspeak"104 clearsysmsg105 replay106 107 elseif weight >= 575108 overhead "Warning: Weight too high!" 40109 wait 1000110 overhead "Time to drop off some goods." 40111 wait 1000112 overhead "Stopping script." 40113 stop 114 115 elseif insysmsg 'Harvesting is not allowed' 116 overhead 'You need to leave town...' 0 117 #skill "spiritspeak"118 wait 2000 119 replay 120 121 elseif insysmsg 'You broke your axe' 122 overhead "My axe broke!" 2086123 # skill "spiritspeak"124 wait 1500125 replay 126 127 else128 #overhead "else start 2nd chops" 40129 wait 300130 hotkey 'use item in hand'131 wft 600132 target self133 #skill "spiritspeak"134 #wait 2000135 #break136 137 138 endif139endwhile140#overhead "endwhile"141 142 143loop