Page 1 of 1

lumber script?

Posted: November 13th, 2017, 3:29 pm
by Arakiry
someone

Re: lumber script?

Posted: November 13th, 2017, 6:16 pm
by pegasus321
MB posted a Mining script which can be easily modified to work for LJ

Re: lumber script?

Posted: November 13th, 2017, 6:16 pm
by Arakiry
srry im not a scripter :(

Re: lumber script?

Posted: November 13th, 2017, 6:19 pm
by pegasus321
i'll post my modified version when i get home today

Re: lumber script?

Posted: November 13th, 2017, 7:13 pm
by Arakiry
oh really thanks

Re: lumber script?

Posted: November 14th, 2017, 12:16 am
by pegasus321
//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'
equipitem 'axe' 2
//change type to your axe
if findtype 0xf43 0 'backpack'
setalias 'axe' 'found'
equipitem 'axe' 2
endif
endif
while not @injournal 'enough wood here'
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'
break
endif
endwhile
endfor
endfor

Re: lumber script?

Posted: November 14th, 2017, 2:38 pm
by Arakiry
I cant make it run

Re: lumber script?

Posted: November 14th, 2017, 4:01 pm
by pegasus321
what happens?

You need 2 books of chopping locations marked 1 tile East (i think) of the tree
You need 1 book with a home rune marked next to a drop off box
Update the code to reflect the type of axe you are using.
Need to have an organizer called "Boards"

Re: lumber script?

Posted: November 14th, 2017, 8:49 pm
by The Silvertiger
He also has a lj script somewhere. The search feature is op.

Re: lumber script?

Posted: December 17th, 2017, 6:14 pm
by one of millions
this script not really works. doesn't matter which side of the tree. the toon try just once find a tree. after recall. it ends in recall recall recall.....
i tried south than west and east.

Re: lumber script?

Posted: December 17th, 2017, 7:20 pm
by one of millions
its possible for somebody to write me this script for a sc-1 large battle axe? i can`t. i stared using scripts 3 days ago