lumber script?

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
Arakiry
Posts: 67

lumber script?

Post by Arakiry »

someone
pegasus321
Posts: 151

Re: lumber script?

Post by pegasus321 »

MB posted a Mining script which can be easily modified to work for LJ
Arakiry
Posts: 67

Re: lumber script?

Post by Arakiry »

srry im not a scripter :(
pegasus321
Posts: 151

Re: lumber script?

Post by pegasus321 »

i'll post my modified version when i get home today
Arakiry
Posts: 67

Re: lumber script?

Post by Arakiry »

oh really thanks
pegasus321
Posts: 151

Re: lumber script?

Post 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
Arakiry
Posts: 67

Re: lumber script?

Post by Arakiry »

I cant make it run
pegasus321
Posts: 151

Re: lumber script?

Post 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"
User avatar
The Silvertiger
Posts: 4469

Re: lumber script?

Post by The Silvertiger »

He also has a lj script somewhere. The search feature is op.
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
one of millions
Posts: 244

Re: lumber script?

Post 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.
one of millions
Posts: 244

Re: lumber script?

Post 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
Post Reply