TemporalShift by temporalshift.
Related: Lumberjacking
Description from the author:
@setvar! hidelogsInRedPouch 1
if not varexist jase_lumber_runebook
overhead "Select your escape runebook" 88
setvar jase_lumber_runebook
endif
if not listexists "jase_lumber_actions"
createlist "jase_lumber_actions"
endif
if inlist "jase_lumber_actions" "red_alert"
overhead "Red Alert!" 34
if skill "Magery" >= 40
overhead 'Recalling...'
while not targetexists
cast "Recall"
wait 200
endwhile
target jase_lumber_runebook
elseif skill "Hiding" >= 40
useskill "Hiding"
endif
poplist "jase_lumber_actions" "red_alert"
overhead "Stopping script..." 34
stop
# replay
endif
clearsysmsg
if diffweight <= 30
organizer 1
while queued
overhead 'Moving items...'
wait 500
endwhile
if diffweight <= 30
overhead "Too heavy still.. check organizer agent 1" 34
replay
endif
endif
if hideLogsInRedPouch = 1 and findtype "pouch" backpack 38 as jouch
while findtype 7133 backpack as jingots
if find jingots jouch
// do nothing
else
lift jingots 60000
drop jouch -1 -1 -1
endif
@ignore jingots
endwhile
endif
@clearignore
endif
if not timerexists 'DH'
createtimer 'DH'
settimer 'DH' 0
endif
if timer 'DH' > 11000
useskill 'DetectingHidden'
wft 250
target self
settimer 'DH' 0
pause 500
endif
if lhandempty ?? 0
if findtype "hatchet" backpack
dclicktype 'hatchet' backpack
wait 200
endif
endif
if lhandempty ?? 0
overhead "No more hatchets!" 34
replay
endif
wait 500
overhead 'Lumberjacking' 0
hotkey 'Use item in hand'
wft 1000
hotkey 'Target Self'
for 75
wait 100
if insysmsg 'world is saving'
for 30
overhead 'Waiting for world save...'
wait 1000
if insysmsg 'save complete'
overhead 'Save complete - continue on!' 88
clearsysmsg
wait 250
replay
elseif insysmsg "now tracking"
pushlist "jase_lumber_actions" "red_alert"
clearsysmsg
wait 250
replay
endif
endfor
elseif insysmsg "now tracking"
pushlist "jase_lumber_actions" "red_alert"
replay
elseif lhandempty ?? 0
overhead "Broke axe" 34
replay
elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any wood'
overhead 'Move to next spot' 88
wait 250
replay
elseif insysmsg "travel"
overhead 'Waiting for travel...'
wait 1000
replay
else
if insysmsg "any harvestable" or insysmsg "jase_lumber_actions"
// No Ore
overhead 'Move to next spot' 88
replay
elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"
// Gained skill
replay
elseif insysmsg "world is saving" or insysmsg 'World save complete'
// World Save
replay
elseif insysmsg "You hack"
// Failed
replay
elseif insysmsg "You chop"
// Success
replay
elseif insysmsg "You must wait"
// Wait message
overhead 'You must wait..' 34
wait 500
replay
endif
endif
endfor
if insysmsg "You must wait"
// Wait message
overhead 'You must wait..' 34
wait 500
replay
endif
overhead 'Captcha break!' 34
for 20
overhead 'Awaiting Captcha...' 34
wait 1000
if insysmsg 'Captcha successful'
overhead 'Success - continue on!' 88
wait 1000
replay
endif
endfor
overhead 'Stopping script' 34Modified Jaseowns Lumberjack Script - Logs in Red Bag & Detect Hidden