Slayer crafter macro
Posted: October 6th, 2016, 2:11 am
does anyone have a working uos macro to craft slayers? (bowcraft)
A Mondain's Legacy era Ultima Online freeshard.
https://www.uogdemise.com/community/
https://www.uogdemise.com/community/viewtopic.php?f=10&t=201
it probably makes your char recall to MB house and drop all the valuable stuff on his secure.Zmoney wrote:is this macro supposed to trash bad bows, save slayers and good bows?
Code: Select all
if not findalias 'bowcraft restock'
promptalias 'bowcraft restock'
endif
if not findalias 'keeper bows'
promptalias 'keeper bows'
endif
if not findalias 'trash bows'
promptalias 'trash bows'
endif
//Yew Kits
//if counttype 0x1022 1192 'backpack' == 0
//movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1192 1
//endif
//Heartwood Kits
if counttype 0x1023 1192 'backpack' == 0
movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1193 1
endif
//Ash Boards
if @counttype 0x1bd7 1191 'backpack' < 15
movetype 0x1bd7 'bowcraft restock' 'backpack' [(0 0 0)] 1191 200
endif
//Yew Kits
//usetype 0x1022 1192 'backpack'
//Heartwood Kits
usetype 0x1022 1193 'backpack'
waitforgump 0x38920abd 15000
replygump 0x38920abd 21
waitforgump 0x38920abd 15000
pause 550
for 5
//regular bow
if @findtype 0x13b2 'any' 'backpack' 'any'
setalias 'found' 'found'
//regular crossbow
elseif @findtype 0xf50 'any' 'backpack' 'any'
setalias 'found' 'found'
//heavy crossbow
elseif @findtype 0x13fd 'any' 'backpack' 'any'
setalias 'found' 'found'
//composite bow
elseif @findtype 0x26c2 'any' 'backpack' 'any'
setalias 'found' 'found'
//repeating crossbow
elseif @findtype 0x26c3 'any' 'backpack' 'any'
setalias 'found' 'found'
//yumi
elseif @findtype 0x27a5 'any' 'backpack' 'any'
setalias 'found' 'found'
//elven composite logbow
elseif @findtype 0x2d1e 'any' 'backpack' 'any'
setalias 'found' 'found'
//magical shortbow
elseif @findtype 0x2d2b 'any' 'backpack' 'any'
setalias 'found' 'found'
endif
while @findobject 'found' 'any' 'backpack'
waitforproperties 'found' 5000
if @property 'Balanced' 'found'
if @property 'Hit Lower Defense' 'found' > 10 and @property 'Swing Speed Increase' 'found' > 25
moveitem 'found' 'keeper bows'
@unsetalias 'found'
endif
moveitem 'found' 'trash bows'
elseif @property 'Slayer' 'found' and @property 'hit mana leech' 'found' >= 30
moveitem 'found' 'keeper bows'
@unsetalias 'found'
elseif @property 'hit mana leech' 'found' >= 30 and @property 'swing speed' 'found' >= 30
if @property 'damage increase' 'found' > 35
moveitem 'found' 'keeper bows'
@unsetalias 'found'
endif
moveitem 'found' 'trash bows'
elseif @property 'swing speed' 'found' > 10 and @property 'Hit Lower Defense' 'found' >= 30
moveitem 'found' 'keeper bows'
@unsetalias 'found'
endif
@moveitem 'found' 'trash bows'
@unsetalias 'found'
pause 550
endwhile
endfor
i never saw this, il test it out and get back to you, thank you =]The Silvertiger wrote:Ok, a long while later:
This macro is a make last macro. So you will have to make one bow type that isn't a craftable artifact bow: bow, crossbow, composite bow, yumi, repeating crossbow, elven composite longbow, or magical shortbow. Set the macro to loop. Then, you press play. Target your 'bowcraft restock', 'keeper bows', and 'trash bows'. This code may could use some cleaning up as well, but I think it is a little easier to use and is more to what you are looking for. Also, there's a lot of mods I'm missing for keeper bows, so if you need me to update the script just post or pm me a list of mods you'd like to add.Code: Select all
if not findalias 'bowcraft restock' promptalias 'bowcraft restock' endif if not findalias 'keeper bows' promptalias 'keeper bows' endif if not findalias 'trash bows' promptalias 'trash bows' endif //Yew Kits //if counttype 0x1022 1192 'backpack' == 0 //movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1192 1 //endif //Heartwood Kits if counttype 0x1023 1192 'backpack' == 0 movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1193 1 endif //Ash Boards if @counttype 0x1bd7 1191 'backpack' < 15 movetype 0x1bd7 'bowcraft restock' 'backpack' [(0 0 0)] 1191 200 endif //Yew Kits //usetype 0x1022 1192 'backpack' //Heartwood Kits usetype 0x1022 1193 'backpack' waitforgump 0x38920abd 15000 replygump 0x38920abd 21 waitforgump 0x38920abd 15000 pause 550 for 5 //regular bow if @findtype 0x13b2 'any' 'backpack' 'any' setalias 'found' 'found' //regular crossbow elseif @findtype 0xf50 'any' 'backpack' 'any' setalias 'found' 'found' //heavy crossbow elseif @findtype 0x13fd 'any' 'backpack' 'any' setalias 'found' 'found' //composite bow elseif @findtype 0x26c2 'any' 'backpack' 'any' setalias 'found' 'found' //repeating crossbow elseif @findtype 0x26c3 'any' 'backpack' 'any' setalias 'found' 'found' //yumi elseif @findtype 0x27a5 'any' 'backpack' 'any' setalias 'found' 'found' //elven composite logbow elseif @findtype 0x2d1e 'any' 'backpack' 'any' setalias 'found' 'found' //magical shortbow elseif @findtype 0x2d2b 'any' 'backpack' 'any' setalias 'found' 'found' endif while @findobject 'found' 'any' 'backpack' waitforproperties 'found' 5000 if @property 'Balanced' 'found' if @property 'Hit Lower Defense' 'found' > 10 and @property 'Swing Speed Increase' 'found' > 25 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'Slayer' 'found' and @property 'hit mana leech' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' elseif @property 'hit mana leech' 'found' >= 30 and @property 'swing speed' 'found' >= 30 if @property 'damage increase' 'found' > 35 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'swing speed' 'found' > 10 and @property 'Hit Lower Defense' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' endif @moveitem 'found' 'trash bows' @unsetalias 'found' pause 550 endwhile endfor
does this keep demon slayers? im trying to burn 150 yew fletchers, thanks for helpThe Silvertiger wrote:Ok, a long while later:
This macro is a make last macro. So you will have to make one bow type that isn't a craftable artifact bow: bow, crossbow, composite bow, yumi, repeating crossbow, elven composite longbow, or magical shortbow. Set the macro to loop. Then, you press play. Target your 'bowcraft restock', 'keeper bows', and 'trash bows'. This code may could use some cleaning up as well, but I think it is a little easier to use and is more to what you are looking for. Also, there's a lot of mods I'm missing for keeper bows, so if you need me to update the script just post or pm me a list of mods you'd like to add.Code: Select all
if not findalias 'bowcraft restock' promptalias 'bowcraft restock' endif if not findalias 'keeper bows' promptalias 'keeper bows' endif if not findalias 'trash bows' promptalias 'trash bows' endif //Yew Kits //if counttype 0x1022 1192 'backpack' == 0 //movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1192 1 //endif //Heartwood Kits if counttype 0x1023 1192 'backpack' == 0 movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1193 1 endif //Ash Boards if @counttype 0x1bd7 1191 'backpack' < 15 movetype 0x1bd7 'bowcraft restock' 'backpack' [(0 0 0)] 1191 200 endif //Yew Kits //usetype 0x1022 1192 'backpack' //Heartwood Kits usetype 0x1022 1193 'backpack' waitforgump 0x38920abd 15000 replygump 0x38920abd 21 waitforgump 0x38920abd 15000 pause 550 for 5 //regular bow if @findtype 0x13b2 'any' 'backpack' 'any' setalias 'found' 'found' //regular crossbow elseif @findtype 0xf50 'any' 'backpack' 'any' setalias 'found' 'found' //heavy crossbow elseif @findtype 0x13fd 'any' 'backpack' 'any' setalias 'found' 'found' //composite bow elseif @findtype 0x26c2 'any' 'backpack' 'any' setalias 'found' 'found' //repeating crossbow elseif @findtype 0x26c3 'any' 'backpack' 'any' setalias 'found' 'found' //yumi elseif @findtype 0x27a5 'any' 'backpack' 'any' setalias 'found' 'found' //elven composite logbow elseif @findtype 0x2d1e 'any' 'backpack' 'any' setalias 'found' 'found' //magical shortbow elseif @findtype 0x2d2b 'any' 'backpack' 'any' setalias 'found' 'found' endif while @findobject 'found' 'any' 'backpack' waitforproperties 'found' 5000 if @property 'Balanced' 'found' if @property 'Hit Lower Defense' 'found' > 10 and @property 'Swing Speed Increase' 'found' > 25 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'Slayer' 'found' and @property 'hit mana leech' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' elseif @property 'hit mana leech' 'found' >= 30 and @property 'swing speed' 'found' >= 30 if @property 'damage increase' 'found' > 35 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'swing speed' 'found' > 10 and @property 'Hit Lower Defense' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' endif @moveitem 'found' 'trash bows' @unsetalias 'found' pause 550 endwhile endfor
It keeps any slayer with 30 += mana leech. Give it a test run on test. I may optimize this later. I have 2 macros I'm for sure working on before then. Then, it becomes a matter of if I remember.hrs024 wrote:does this keep demon slayers? im trying to burn 150 yew fletchers, thanks for helpThe Silvertiger wrote:Ok, a long while later:
This macro is a make last macro. So you will have to make one bow type that isn't a craftable artifact bow: bow, crossbow, composite bow, yumi, repeating crossbow, elven composite longbow, or magical shortbow. Set the macro to loop. Then, you press play. Target your 'bowcraft restock', 'keeper bows', and 'trash bows'. This code may could use some cleaning up as well, but I think it is a little easier to use and is more to what you are looking for. Also, there's a lot of mods I'm missing for keeper bows, so if you need me to update the script just post or pm me a list of mods you'd like to add.Code: Select all
if not findalias 'bowcraft restock' promptalias 'bowcraft restock' endif if not findalias 'keeper bows' promptalias 'keeper bows' endif if not findalias 'trash bows' promptalias 'trash bows' endif //Yew Kits //if counttype 0x1022 1192 'backpack' == 0 //movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1192 1 //endif //Heartwood Kits if counttype 0x1023 1192 'backpack' == 0 movetype 0x1022 'bowcraft restock' 'backpack' [(0 0 0)] 1193 1 endif //Ash Boards if @counttype 0x1bd7 1191 'backpack' < 15 movetype 0x1bd7 'bowcraft restock' 'backpack' [(0 0 0)] 1191 200 endif //Yew Kits //usetype 0x1022 1192 'backpack' //Heartwood Kits usetype 0x1022 1193 'backpack' waitforgump 0x38920abd 15000 replygump 0x38920abd 21 waitforgump 0x38920abd 15000 pause 550 for 5 //regular bow if @findtype 0x13b2 'any' 'backpack' 'any' setalias 'found' 'found' //regular crossbow elseif @findtype 0xf50 'any' 'backpack' 'any' setalias 'found' 'found' //heavy crossbow elseif @findtype 0x13fd 'any' 'backpack' 'any' setalias 'found' 'found' //composite bow elseif @findtype 0x26c2 'any' 'backpack' 'any' setalias 'found' 'found' //repeating crossbow elseif @findtype 0x26c3 'any' 'backpack' 'any' setalias 'found' 'found' //yumi elseif @findtype 0x27a5 'any' 'backpack' 'any' setalias 'found' 'found' //elven composite logbow elseif @findtype 0x2d1e 'any' 'backpack' 'any' setalias 'found' 'found' //magical shortbow elseif @findtype 0x2d2b 'any' 'backpack' 'any' setalias 'found' 'found' endif while @findobject 'found' 'any' 'backpack' waitforproperties 'found' 5000 if @property 'Balanced' 'found' if @property 'Hit Lower Defense' 'found' > 10 and @property 'Swing Speed Increase' 'found' > 25 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'Slayer' 'found' and @property 'hit mana leech' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' elseif @property 'hit mana leech' 'found' >= 30 and @property 'swing speed' 'found' >= 30 if @property 'damage increase' 'found' > 35 moveitem 'found' 'keeper bows' @unsetalias 'found' endif moveitem 'found' 'trash bows' elseif @property 'swing speed' 'found' > 10 and @property 'Hit Lower Defense' 'found' >= 30 moveitem 'found' 'keeper bows' @unsetalias 'found' endif @moveitem 'found' 'trash bows' @unsetalias 'found' pause 550 endwhile endfor