NevadaUO
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UOPilot Script - Lumberjacking

Go down

UOPilot Script - Lumberjacking Empty UOPilot Script - Lumberjacking

Post  ImRedYourDead Sat Feb 26, 2011 9:01 am

//---- 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
ImRedYourDead
ImRedYourDead

Posts : 56
Join date : 2011-01-15
Age : 49
Location : Moscow Russia

Back to top Go down

UOPilot Script - Lumberjacking Empty Re: UOPilot Script - Lumberjacking

Post  ImRedYourDead Sat Feb 26, 2011 9:02 am

// 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
ImRedYourDead
ImRedYourDead

Posts : 56
Join date : 2011-01-15
Age : 49
Location : Moscow Russia

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum