i need UOS lumber macro

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
User avatar
Skrillex
Posts: 1045
Location: Spain

i need UOS lumber macro

Post by Skrillex »

can someone put here the UOS lumberjack macro please?
Skrillex#5409

The Boy Who Shattered Time
User avatar
MB
Posts: 379

Re: i need UOS lumber macro

Post 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
Last edited by MB on February 13th, 2020, 11:46 pm, edited 1 time in total.
P-nut Galleryy
Posts: 68

Re: i need UOS lumber macro

Post 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?
User avatar
MB
Posts: 379

Re: i need UOS lumber macro

Post 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
User avatar
Kush Tailored
Posts: 335

Re: i need UOS lumber macro

Post 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"
Discord: Kain#3638
User avatar
The Instigator
Posts: 165

Re: i need UOS lumber macro

Post by The Instigator »

I'm using it right now, maybe your tree and the rune aren't on the same axis
ahoy.
User avatar
Kush Tailored
Posts: 335

Re: i need UOS lumber macro

Post by Kush Tailored »

they are 1 tile E... ill test it around and see what's the prob
Discord: Kain#3638
User avatar
MB
Posts: 379

Re: i need UOS lumber macro

Post by MB »

Read step 1
Jeller likes this.
Top
User avatar
Kush Tailored
Posts: 335

Re: i need UOS lumber macro

Post 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.
Discord: Kain#3638
User avatar
The Instigator
Posts: 165

Re: i need UOS lumber macro

Post by The Instigator »

oh lol, he must have changed it up a little then =] hope you can get it working
ahoy.
User avatar
Kush Tailored
Posts: 335

Re: i need UOS lumber macro

Post by Kush Tailored »

Got it. Thanks
Discord: Kain#3638
User avatar
MB
Posts: 379

Re: i need UOS lumber macro

Post by MB »

It's two separate macros
pegasus321
Posts: 151

Re: i need UOS lumber macro

Post by pegasus321 »

Instead of remarking your runes you can change the code to be 1 tile in any direction.
fredek126
Posts: 36

Re: i need UOS lumber macro

Post 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?
Zalgorn
Posts: 9

Re: i need UOS lumber macro

Post 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.
Last edited by Zalgorn on May 15th, 2017, 9:15 pm, edited 1 time in total.
Post Reply