Post by Ravenclaw on Jul 19, 2013 7:58:26 GMT -8
Made using AssistUO v1.0.0 RC8 Build 09 (www.runuo.com/products/assistuo)
This is a Lumberjacking macro that will chop a tree until it is empty and stop. It will also move logs and/or boards to a pack animal when you are too full, add an axe to your hand when your axe breaks and stop and let you know when the pack animal is full.
Requirements:
Suggest you add this macro to a hotkey, stand beside the tree and use the hotkey each time.
+++++++++++++++++++++++++++++++++++++++
This is a Lumberjacking macro that will chop a tree until it is empty and stop. It will also move logs and/or boards to a pack animal when you are too full, add an axe to your hand when your axe breaks and stop and let you know when the pack animal is full.
Requirements:
- Axes in your backpack
- Create an organizer Agent called "MoveWood" (no Quotes) to move logs/boards to pack animal.
- You must stand East of the tree you want to cut
Suggest you add this macro to a hotkey, stand beside the tree and use the hotkey each time.
+++++++++++++++++++++++++++++++++++++++
//DO NOT LOOP THIS MACRO
//Set the macro to a hotkey and then stand East of a tree and press the hotkey. Walk from tree to tree and repeat.
//This will chop until tree is empty, place logs onto pack animal when heavy and add new axe to hand from pack when axe breaks.
//There is a section to cut the logs into boards with your axe which has been greyed out in case you use the blade saw instead.
if not findobject 'lefthand'
if @findtype 0xf43 'any' 'backpack'
equipitem 'found' 2
else
sysmsg 'You have run out of hatchets!' 24
endif
endif
//While there is still wood to cut, cut wood
while not @injournal 'enough wood'
useobject 'lefthand'
waitfortarget 2500
targettileoffset -1 0 0
pause 1600
//Check if there is still a hatchet equipped, in case it broke get another
if not findobject 'lefthand'
if @findtype 0xf43 'any' 'backpack'
equipitem 'found' 2
else
sysmsg 'You have run out of hatchets!' 24
endif
endif
endwhile
@clearjournal
//Cut logs into boards.
//if @findtype '0x1bdd' 'any' 'backpack'
// useobject 'lefthand'
// waitfortarget 15000
// target 'found'
//endif
if weight > maxweight
organizer 'MoveWood'
endif
pause 4000
if @findtype '0x1bdd' 'any' 'ground' '1' '3'
sysmsg ' PACK ANIMAL FULL ' '32'
stop
endif
if @findtype '0x1bd7' 'any' 'ground' '1' '3'
sysmsg ' PACK ANIMAL FULL ' '32'
stop
endif
stop