UOPilot Script - Lumberjacking
UOPilot Script - Lumberjacking
//---- Lumberjacking ----
// You will have to move yourself to a new tree
set # rtimer 0
set # msg 99
while # msg <> 0
if # msg = 2
send F2 1000 / / lastobject, waitfortarget, lasttarget
else
send F1 / / lastobject
while target = 1
wait 1000
end_while
// waitfortarget 5000
end_if
gosub 1
end_while
end_script
: 1
set # timer timer
while # rtimer <30000 // while checking the results of 1st cutting
set # msg 99
if lastmsg you put the logs in
set # msg 2
break
end_if
if lastmsg your skill in lumberjacking
set # msg 2
break
end_if
if lastmsg you hack at the tree for a while
set # msg 2
break
end_if
if lastmsg there are no logs
break
end_if
if lastmsg you cant think of a way
break
end_if
// You will have to move yourself to a new tree
set # rtimer 0
set # msg 99
while # msg <> 0
if # msg = 2
send F2 1000 / / lastobject, waitfortarget, lasttarget
else
send F1 / / lastobject
while target = 1
wait 1000
end_while
// waitfortarget 5000
end_if
gosub 1
end_while
end_script
: 1
set # timer timer
while # rtimer <30000 // while checking the results of 1st cutting
set # msg 99
if lastmsg you put the logs in
set # msg 2
break
end_if
if lastmsg your skill in lumberjacking
set # msg 2
break
end_if
if lastmsg you hack at the tree for a while
set # msg 2
break
end_if
if lastmsg there are no logs
break
end_if
if lastmsg you cant think of a way
break
end_if
ImRedYourDead- Posts : 56
Join date : 2011-01-15
Age : 49
Location : Moscow Russia
Re: UOPilot Script - Lumberjacking
// If you find a plot with trees in a row, then you can swing on a primitive macro:
Quote: repeat <length>
Send F7
wait 200
Send F8
wait 100
double_left point1
wait <delay of 1 frame>
end_repeat
repeat <length>
Send F9
wait 200
Send F8
wait 100
double_left point1
wait <delay of 1 frame>
end_repeat
<length> - The number of steps
point1 - a tree
<A delay of 1 frame> - a delay of 1 hit with an ax
F8 - to use an ax
F7 & F9 - a step towards
Quote: repeat <length>
Send F7
wait 200
Send F8
wait 100
double_left point1
wait <delay of 1 frame>
end_repeat
repeat <length>
Send F9
wait 200
Send F8
wait 100
double_left point1
wait <delay of 1 frame>
end_repeat
<length> - The number of steps
point1 - a tree
<A delay of 1 frame> - a delay of 1 hit with an ax
F8 - to use an ax
F7 & F9 - a step towards
ImRedYourDead- Posts : 56
Join date : 2011-01-15
Age : 49
Location : Moscow Russia
Similar topics
» UOPilot Script - Lockpicking
» UOPilot Script - Poisoning
» UOPilot Script - Bowcraft
» UOPilot Script - Cooking
» UOPilot Script - Tinkering
» UOPilot Script - Poisoning
» UOPilot Script - Bowcraft
» UOPilot Script - Cooking
» UOPilot Script - Tinkering
Permissions in this forum:
You cannot reply to topics in this forum
|
|