http://macroquest2.com/phpBB2/viewtopic.php?t=2737
I used the vendor in SH to get my dwarf cleric with bad faction and low charisma from 0 to 167 fletching in around 45 minutes with this code.
Its a little old, and hasnt been tested in a month or so. It was written before the great price nerf happened.
If you still desire to get fletching skills up. This should take you to 202 in a couple hours.
What this does is buys and combines and sells in batches of 20, then checks for skill and does it over.
I would suggest putting some delays in there. As well as not doing it while afk. Dont macro afk it only hurts us all. Hell i havnt macro'd in a while since they warned us about it. Kinda scared to. When you have 3 characters over 60 you dont wanna loose that much time invested on something as trivial as this.
EDIT******Added a skill check when making CeramicVanes arrows. If the skill is 199 or more it will end the macro to keep you from skilling past the point of no return.
Good luck.
Code: Select all
| POWERARROWS.MAC
|
|
|
|
#include routines.mac
#turbo
Sub Main
/if "$invpanel"!="TRUE" /press i
/call FindCombiner Fletching
/if $return==99 /return
/varset v80 $return
/call cleanpack $v80
/click left inv $v80
/click left inv 0
/click left auto
/click right inv $v80
/target arrowsmith
/face
:WaitMerchant
/press u
/if $merchant()==FALSE /goto :WaitMerchant
:SkillCheck
/skill Fletch
/varset v1 $char(skill,"fletching")
/if n $v1<30 /call MedGroveNock
/if n $v1<65 /if n $v1>=30 /call BoneShaft
/if n $v1<100 /if n $v1>=65 /call HookedArrowHead
/if n $v1<130 /if n $v1>=100 /call CeramicShaft
/if n $v1<160 /if n $v1>=130 /call BoneVanes
/if n $v1<199 /if n $v1>=160 /call CeramicVanes
/if n $v1>=199 {
/echo Your skill cannot be increased more than 199 with this script If you wish to raise skill higher you can change the script to do so.
/cleanup
/endmacro
}
/goto :SkillCheck
Sub MedGroveNock
/for v2 1 to 20
/click left merchant up
/click left merchant up
/click left merchant up
/delay 5
| ------"field point"
/click left merchant 0
/call BuyItemSingle
| ------ "wooden arrow shaft"
/click left merchant 3
/call BuyItemSingle
| ---------- "round cut"
/click left merchant 7
/call BuyItemSingle
| -------Medium Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant down
/click left merchant 9
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub BoneShaft
/for v2 1 to 20
/click left merchant up
/click left merchant up
/click left merchant up
| ------"field point"
/click left merchant 0
/call BuyItemSingle
| ---------- "bone arrow shaft"
/click left merchant 4
/call BuyItemSingle
| ---------- "round cut"
/click left merchant 7
/call BuyItemSingle
| -------Large Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant down
/click left merchant 8
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub HookedArrowHead
/for v2 1 to 20
/click left merchant up
/click left merchant up
/click left merchant up
| ------"Hooked Arrow Head"
/click left merchant 1
/call BuyItemSingle
| ---------- "Wooden arrow shaft"
/click left merchant 3
/call BuyItemSingle
| ---------- "round cut"
/click left merchant 7
/call BuyItemSingle
| -------Large Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant down
/click left merchant 8
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub CeramicShaft
/for v2 1 to 20
/click left merchant up
/click left merchant up
/click left merchant up
| ------"Field Arrow Head"
/click left merchant 0
/call BuyItemSingle
| ---------- "Ceramic arrow shaft"
/click left merchant 5
/call BuyItemSingle
| ---------- "round cut"
/click left merchant 7
/call BuyItemSingle
| -------Large Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant down
/click left merchant 8
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub BoneVanes
/for v2 1 to 20
/click left merchant up
/click left merchant up
/click left merchant up
| ------"Field Arrow Head"
/click left merchant 0
/call BuyItemSingle
| ---------- "Wooden arrow shaft"
/click left merchant 3
/call BuyItemSingle
| ---------- "Set of Bone Arrow Vanes"
/click left merchant 11
/call BuyItemSingle
| -------Large Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant down
/click left merchant 8
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub CeramicVanes
/for v2 1 to 20
/if n $v1>=199 /return
/click left merchant up
/click left merchant up
/click left merchant up
| ------"Field Arrow Head"
/click left merchant 0
/call BuyItemSingle
| ---------- "Wooden arrow shaft"
/click left merchant 3
/call BuyItemSingle
| ---------- "Set of Ceramic Arrow Vanes"
/click left merchant down
/click left merchant 10
/call BuyItemSingle
| -------Large Groove Nock--------
/click left merchant down
/click left merchant down
/click left merchant 8
/call BuyItemSingle
/call MakeArrows
/call SellItem class
/next v2
/return
Sub MakeArrows
/if $pack($v80,closed)==TRUE /click right inv $v80
:MakeArrows
/click left auto
/click left pack $v80 combine
:WaitArrows
/delay 0
/if $pack($v80,empty)==FALSE /goto :WaitArrows
/delay 1
:waitdrop
/click left auto
/if $cursor()==TRUE /goto :waitdrop
/return
Sub BuyitemSingle
/sendkey down ctrl
/varset t1 10
/varcalc p2 $char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper)
/click left merchant buy
:BuyItemLoop
/delay 1
/if n $t1<1 /click left auto
/if n $t1<1 /click left merchant buy
/if n $calc($char(plat)*1000+$char(gold)*100+$char(silver)*10+$char(copper)==$p2 /goto :BuyItemsLoop
/sendkey up ctrl
/return




