Page 1 of 2

i need UOS lumber macro

Posted: October 5th, 2016, 4:32 pm
by Skrillex
can someone put here the UOS lumberjack macro please?

Re: i need UOS lumber macro

Posted: October 5th, 2016, 7:13 pm
by MB
https://web.archive.org/web/20150523084 ... ds/551895/


//Magery Version
//1. need 2 full runebooks marked 1 tile south and same elevation of the choppable tree
//2. Organizer agent 'Boards' needs to be configured from your backpack to dropoff container with boards and 5 specials on it
//3. pauses after recalls are set to 2000 for 0fc. Change to 1750 for 1fc and 1500 for 2fc
if not @findobject 'TreeBookOne'
promptalias 'TreeBookOne'
endif
if not @findobject 'TreeBookTwo'
promptalias 'TreeBookTwo'
endif
if not @findobject 'HomeLumber'
promptalias 'HomeLumber'
endif
if not listexists 'TreeBook'
createlist 'TreeBook'
pushlist 'TreeBook' 'TreeBookOne'
pushlist 'TreeBook' 'TreeBookTwo'
endif
if not listexists 'Runes'
createlist 'Runes'
pushlist 'Runes' 5
pushlist 'Runes' 11
pushlist 'Runes' 17
pushlist 'Runes' 23
pushlist 'Runes' 29
pushlist 'Runes' 35
pushlist 'Runes' 41
pushlist 'Runes' 47
pushlist 'Runes' 53
pushlist 'Runes' 59
pushlist 'Runes' 65
pushlist 'Runes' 71
pushlist 'Runes' 77
pushlist 'Runes' 83
pushlist 'Runes' 89
pushlist 'Runes' 95
endif
For 0 to 'TreeBook'
For 0 to 'Runes'
pause 500
clearjournal
pause 500
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
//tells you which rune you are on, see runelist above
sysmsg 'Rune' 33
sysmsg Runes[] 33
pause 2000
//equips axe if it's not SC
if not @findobject 'lefthand'
//change type to your axe
if findtype 0xf47 0 'backpack'
setalias 'axe' 'found'
equipitem 'axe' 2
endif
endif
while not @injournal 'enough wood here' 'system'
pause 300
//chop logs to boards
if @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
else
//chop trees
useobject 'LeftHand'
waitfortarget 1000
targettileoffset 0 -1 0
endif
// Change this if your getting overweight, Subtract 25 from your max weight.
if weight > 480
//make remaining logs boards
while @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
pause 500
endwhile
//recall home
useobject 'HomeLumber'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 2000
//unload
organizer 'Boards'
while organizing
pause 500
endwhile
//go back to where you were
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 2000
//re-equip axe if needed
if not @findobject 'lefthand'
equipitem 'axe' 2
pause 1000
endif
endif
if @injournal 'use an axe' 'system'
break
endif
endwhile
endfor
endfor









//Chivalry Version
//1. need 2 full runebooks marked 1 tile south and same elevation of the choppable tree
//2. Organizer agent 'Boards' needs to be configured from your backpack to dropoff container with boards and 5 specials on it
//3. pauses after recalls are set to 1500 for 2Faster Casting. Change to 2000 for 0FC and 1000 for 4FC
if not @findobject 'TreeBookOne'
promptalias 'TreeBookOne'
endif
if not @findobject 'TreeBookTwo'
promptalias 'TreeBookTwo'
endif
if not @findobject 'HomeLumber'
promptalias 'HomeLumber'
endif
if not listexists 'TreeBook'
createlist 'TreeBook'
pushlist 'TreeBook' 'TreeBookOne'
pushlist 'TreeBook' 'TreeBookTwo'
endif
if not listexists 'Runes'
createlist 'Runes'
pushlist 'Runes' 7
pushlist 'Runes' 13
pushlist 'Runes' 19
pushlist 'Runes' 25
pushlist 'Runes' 31
pushlist 'Runes' 37
pushlist 'Runes' 43
pushlist 'Runes' 49
pushlist 'Runes' 55
pushlist 'Runes' 61
pushlist 'Runes' 67
pushlist 'Runes' 73
pushlist 'Runes' 79
pushlist 'Runes' 85
pushlist 'Runes' 91
pushlist 'Runes' 97
endif
For 0 to 'TreeBook'
For 0 to 'Runes'
pause 500
clearjournal
pause 500
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
//tells you which rune you are on, see runelist above
sysmsg 'Rune' 33
sysmsg Runes[] 33
pause 1500
//equips axe if it's not SC
if not @findobject 'lefthand'
//change type to your axe
if findtype 0xf47 0 'backpack'
setalias 'axe' 'found'
equipitem 'axe' 2
endif
endif
while not @injournal 'enough wood here' 'system'
pause 300
//chop logs to boards
if @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
else
//chop trees
useobject 'LeftHand'
waitfortarget 1000
targettileoffset 0 -1 0
endif
// Change this if your getting overweight, Subtract 25 from your max weight.
if weight > 480
//make remaining logs boards
while @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target! 'found'
pause 500
endwhile
//recall home
useobject 'HomeLumber'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 7
pause 1500
//unload
organizer 'Boards'
while organizing
pause 500
endwhile
//go back to where you were
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 1500
//re-equip axe if needed
if not @findobject 'lefthand'
equipitem 'axe' 2
pause 1000
endif
endif
if @injournal 'use an axe' 'system'
break
endif
endwhile
endfor
endfor

Re: i need UOS lumber macro

Posted: November 28th, 2016, 10:16 pm
by P-nut Galleryy
When I tried using this it worked fine until I got back to my resource container, but then it wouldn't unload my boards. It just tried to chop a few times then sacred journey on to the next spot while overloaded. Would you know what I am doing wrong by chance?

Re: i need UOS lumber macro

Posted: November 28th, 2016, 10:26 pm
by MB
Probably this

//2. Organizer agent 'Boards' needs to be configured from your backpack to dropoff container with boards and 5 specials on it

Re: i need UOS lumber macro

Posted: March 1st, 2017, 11:11 pm
by Kush Tailored
Does this macro no longer work? I just set it up step by step per directions above and it will recall me to 1st marked tree, say " can't use an axe on that" then recall to 2 more places before it gets stuck and says "can't target that"

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 1:02 am
by The Instigator
I'm using it right now, maybe your tree and the rune aren't on the same axis

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 1:21 pm
by Kush Tailored
they are 1 tile E... ill test it around and see what's the prob

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 3:13 pm
by MB
Read step 1

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 4:22 pm
by Kush Tailored
Very strange....the link provided said the tiles were supposed to be 1 tile east and MBs version says 1 tile south.

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 5:22 pm
by The Instigator
oh lol, he must have changed it up a little then =] hope you can get it working

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 6:00 pm
by Kush Tailored
Got it. Thanks

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 6:31 pm
by MB
It's two separate macros

Re: i need UOS lumber macro

Posted: March 2nd, 2017, 8:06 pm
by pegasus321
Instead of remarking your runes you can change the code to be 1 tile in any direction.

Re: i need UOS lumber macro

Posted: May 12th, 2017, 5:41 pm
by fredek126
why after 1 tree it is going home then go next second rune (tree) go home, i want that it is going home only if it is need to unpack full weight?

Re: i need UOS lumber macro

Posted: May 15th, 2017, 8:37 pm
by Zalgorn
Any idea how to re-define an alias? my it's doing the first book fine but isn't going to the 2nd book and not prompting me to re-select the 2nd book, can i just change the name?

I've tried setting it up into a new macro but it keeps reading the old alias.

nm think i figured it out.