Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
suiris
Posts: 150
suiris
Profile
Joined: October 2nd, 2016, 2:45 pm
Post
by suiris » October 17th, 2016, 6:55 pm
Hello Everyone,
I decided to post this handy script i wrote, it trains bowcraft from 30 to 100 fully automated.
All you need is a bag with boards and ingots, at least 50 tinkering, and at least 1 tinker tool in your backpack.
Be sure you don't keep any valuable bows/xbows in your backpack as the macro will trash them.
Code: Select all
//setting aliases
if not @findalias 'init1'
sysmsg 'Target a restock container' 232
promptalias 'fletch_restock'
sysmsg 'Target the trash barrel' 232
@setalias 'init1' 'self'
promptalias 'trash1'
endif
if not listexists 'craftbows'
createlist 'craftbows'
pushlist 'craftbows' 0x13b2
pushlist 'craftbows' 0xf50
pushlist 'craftbows' 0x26c2
pushlist 'craftbows' 0x13fd
pushlist 'craftbows' 0x26c3
endif
//Tinker skill check
if skill 'Tinkering' < 45
sysmsg 'Tinkering skill is too low, train it first' 232
stop
endif
// check for ingots
if counttype 0x1bf2 0 'backpack' < 10
movetype 0x1bf2 'fletch_restock' 'backpack'[(0 0 0)] 0 45
pause 650
endif
//craft tinker kits
//=================
while @counttype 0x1eb8 0 'backpack' < 3
usetype! 0x1eb8
waitforgump 0x38920abd 2000
@replygump 0x38920abd 8
waitforgump 0x38920abd 2000
@replygump 0x38920abd 23
waitforgump 0x38920abd 2000
endwhile
//check for fletching kits
while @counttype 0x1022 0 'backpack' < 3
usetype 0x1eb8
waitforgump 0x38920abd 2000
@replygump 0x38920abd 8
waitforgump 0x38920abd 2000
@replygump 0x38920abd 142
waitforgump 0x38920abd 2000
endwhile
//check backpack for boards
if counttype 0x1bd7 0 'backpack' < 40
movetype 0x1bd7 'fletch_restock' 'backpack'[(0 0 0)] 0 245
pause 650
endif
// Crafting bows
If skill 'Bowcraft' > 90
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 30
waitforgump 0x38920abd 1500
elseif skill 'Bowcraft' > 80 and skill 'Bowcraft' < 90
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 16
elseif skill 'Bowcraft' > 70 and skill 'Bowcraft' < 80
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 23
elseif skill 'Bowcraft'> 60 and skill 'Bowcraft' < 70
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 9
elseif skill 'Bowcraft' < 60
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 15
waitforgump 0x38920abd 1500
replygump 0x38920abd 2
else
usetype 0x1022
waitforgump 0x38920abd 1500
replygump 0x38920abd 21
endif
//Handling trash
for 0 to 'craftbows'
while @findtype craftbows[] 'any' 'backpack'
moveitem 'found' 'trash1'
pause 650
endwhile
endfor
if skill 'Bowcraft' = 100
sysmsg 'Congrats!!' 232
stop
endif
Last edited by
suiris on April 16th, 2017, 6:53 am, edited 2 times in total.
suiris
Posts: 150
suiris
Profile
Joined: October 2nd, 2016, 2:45 pm
Post
by suiris » March 4th, 2017, 6:14 pm
I am glad it helped someone.
docouto
Posts: 2
docouto
Profile
Joined: March 31st, 2017, 3:40 am
Post
by docouto » April 14th, 2017, 8:12 pm
cant make this work, says
moveitem: destination not found.
any clue?
Junkyman
Posts: 77
Junkyman
Profile
Joined: March 13th, 2017, 6:19 pm
Post
by Junkyman » April 15th, 2017, 2:16 am
docouto wrote: cant make this work, says
moveitem: destination not found.
any clue?
make sure ur aliases are set correclt, then open each of the containers used.
suiris
Posts: 150
suiris
Profile
Joined: October 2nd, 2016, 2:45 pm
Post
by suiris » April 16th, 2017, 6:54 am
Try clearing aliases in UOS, and make sure you are near your restock and trashbarrel at the same time.
Moacir
Posts: 1
Moacir
Profile
Joined: May 26th, 2017, 7:40 pm
Post
by Moacir » May 26th, 2017, 7:44 pm
Hello
I cant make this work. It's saying "usetype: item type not found" right after choosing the backpack and trashcan. Could you help me? Thanks!
suiris
Posts: 150
suiris
Profile
Joined: October 2nd, 2016, 2:45 pm
Post
by suiris » May 29th, 2017, 6:03 am
You are probably using the wrong tinker tools, there are more than one type of tinker tools, try buying or crafting from the other types and re-start the script.
arcane
Posts: 43
arcane
Profile
Joined: February 4th, 2019, 7:09 pm
Post
by arcane » June 7th, 2019, 11:48 pm
im getting...skill:invalid operator
DISCORD "arcane #1674"
The Silvertiger
Posts: 4469
The Silvertiger
Profile
Joined: November 14th, 2016, 12:08 am
Post
by The Silvertiger » June 7th, 2019, 11:52 pm
arcane wrote: im getting...skill:invalid operator
add a space here: - v
elseif skill 'Bowcraft'> 60 and skill 'Bowcraft' < 70
Last edited by
The Silvertiger on June 8th, 2019, 12:32 am, edited 2 times in total.
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."
arcane
Posts: 43
arcane
Profile
Joined: February 4th, 2019, 7:09 pm
Post
by arcane » June 8th, 2019, 12:17 am
might see real problem, maybe, my skill is 55 not 60, does this work for skill less than 60?
DISCORD "arcane #1674"
arcane
Posts: 43
arcane
Profile
Joined: February 4th, 2019, 7:09 pm
Post
by arcane » June 8th, 2019, 12:27 am
got it, its working but still getting invalid operator
DISCORD "arcane #1674"
The Silvertiger
Posts: 4469
The Silvertiger
Profile
Joined: November 14th, 2016, 12:08 am
Post
by The Silvertiger » June 8th, 2019, 12:34 am
arcane wrote: might see real problem, maybe, my skill is 55 not 60, does this work for skill less than 60?
Yes, a few lines down: elseif skill < [less than] 60
the space is needed between the ' apostrophe and the > greater than sign on the line I posted.
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."