Blacksmith Slayer Crafter

eppy

Grandmaster
// THIS USES TONGS
if not findalias 'slayerbag'
promptalias 'slayerbag'
endif
if not hidden 'self'
useskill 'hiding'
endif
if listexists 'slayertype'
clearlist 'slayertype'
else
createlist 'slayertype'
endif
//0xf5e broadsword
//0x13ff katana
//0xf4b double axe
//0x1403 short spear
//0xf49 axe
//0x1401 kryss
//0x1439 war hammer
//0x1407 war mace
//0xf47 battle axe
//==========CHANGE THIS============
pushlist 'slayertype' 0xf47
//==========CHANGE THIS============
@usetype 0xfbb 0x0 'backpack'
waitforgump 0x38920abd 30000
replygump 0x38920abd 21
pause 2000
if @injournal 'crafted a slayer' 'system'
@findtype slayertype[0] 0x0 'backpack'
moveitem 'found' 'slayerbag'
ignoreobject 'found'
clearjournal
sysmsg 'Slayer crafted!' 33
pause 600
else
@findtype slayertype[0] 0x0 'backpack'
@usetype 0xfbb 0x0 'backpack'
waitforgump 0x38920abd 30000
replygump 0x38920abd 14
waitfortarget 30000
@Target! 'found'
pause 600
endif
if counttype slayertype[0] 'any' 'backpack' > 0
headmsg 'EXTRA WEAPON CRAFTED'
stop
endif
 

eppy

Grandmaster
You must craft one of the weapons first before starting the macro. Then make sure you do not have any of that type in your pack. It will smelt them all.
 

DocOp

Expert
This is amazing. Thanks so much for sharing. One question though, sorry this comes off as if I'm some Unsatisfied prick, I don't mean it to be. When I try to loop it, it stops itself anyhow. Is that due to some kind of anti-afk? Cause I can Probs tinker with it and figure it out, but I'm not sure if that's intentional in order to keep smiths legit or not.
Either way, slayers on one click. Incredibly convenient tysm
 

Mango

Grandmaster
This is amazing. Thanks so much for sharing. One question though, sorry this comes off as if I'm some Unsatisfied prick, I don't mean it to be. When I try to loop it, it stops itself anyhow. Is that due to some kind of anti-afk? Cause I can Probs tinker with it and figure it out, but I'm not sure if that's intentional in order to keep smiths legit or not.
Either way, slayers on one click. Incredibly convenient tysm

had the same issue DocOp, try removing the last if statement:
if counttype slayertype[0] 'any' 'backpack' > 0
headmsg 'EXTRA WEAPON CRAFTED'
stop
endif
 

Young Star

Grandmaster
This is amazing. Thanks so much for sharing. One question though, sorry this comes off as if I'm some Unsatisfied prick, I don't mean it to be. When I try to loop it, it stops itself anyhow. Is that due to some kind of anti-afk? Cause I can Probs tinker with it and figure it out, but I'm not sure if that's intentional in order to keep smiths legit or not.
Either way, slayers on one click. Incredibly convenient tysm
Anywhere an if/if not/else that leads to "stop" the script will stop even if it is set to loop.
 

DocOp

Expert
Thank you for this. It has exponentially increased my crafter experience. It's not a advertisement, but if you check out my slayer vendor at Fattsons which has been there for a few weeks now and always stocked, know I grinder those out with every excruciating 'click'. I could fucking kiss each and every one of you on your mouth.
 

Alucard

Grandmaster
if world saving or lag with target
the script will not smelt next crafted weapons
if you loop it, in the end better add
Code:
pause 1500
if targetexists
  canceltarget
endif
pause 2000
 

Expendable

Master
I was using this for awhile today and it worked great, went through about 3-4k ingots, and now im trying to use it again and for some reason it crafts fine, but it doesn't smelt or put slayers in the slayer bag anymore. Has anyone had this problem before?
 

clutchxo

Grandmaster
I was using this for awhile today and it worked great, went through about 3-4k ingots, and now im trying to use it again and for some reason it crafts fine, but it doesn't smelt or put slayers in the slayer bag anymore. Has anyone had this problem before?
You have to change the item ID.


0x1401 kryss
//0x1439 war hammer
//0x1407 war mace
//0xf47 battle axe
//==========CHANGE THIS============
pushlist 'slayertype' 0xf47 <----------------------------------Edit this number with the digits for the number you want to craft.
//==========CHANGE THIS============
@usetype 0xfbb 0x0 'backpack'
waitforgump 0x38920abd 30000
replygump 0x38920abd 21
pause 2000
if @injournal 'crafted a slayer' 'system'
@findtype slayertype[0] 0x0 'backpack'
 

Firecrest

Grandmaster
i use the bow craft slayer and it is amazing, I can hit play, select sell bag and slayer bag and burn through wood.... but I can't get this slayer one to work. Can one be made to mirror the bowcraft but with blacksmith in stead?
 

Firecrest

Grandmaster
When I run it, they don't get sorted properly. it stops after crafting one slayer, I changed that with one of posts. but it doesn't sort properly so sometimes a slayer goes in the slayer bag some times it doesn't. the rest of the weapons don't get moved they stay in my pack.
 

Firecrest

Grandmaster
if not @findalias 'slayerbag'

promptalias 'slayerbag'

endif

if not @findobject 'Sell Bag'

promptalias 'Sell Bag'

endif

if not hidden 'self' and skill 'hiding' >= '50'

useskill 'hiding'

endif

if listexists 'slayertype'

@clearlist 'slayertype'

else

createlist 'slayertype'

endif

pushlist 'slayertype' 0x13b2

if not @findtype '0x1022' 'any' 'backpack' 'any' '2'

headmsg 'Need more tools!'

stop

endif

@usetype '0x1022' 'any' 'backpack' '2'

waitforgump 0x38920abd 15000

replygump 0x38920abd 21

pause 2000

if @injournal 'crafted a slayer' 'system'

// Change ↓

@findtype slayertype[0] 0x0 'backpack'

moveitem 'found' 'slayerbag'

ignoreobject 'found'

clearjournal

headmsg 'Slayer crafted!' 33

pause 600

else

@findtype '0x13b2' 'any' 'backpack' '1' '2'

moveitem 'found' 'Sell Bag'

pause 200

@ignoreobject 'found'

endif

while weight >= maxweight

headmsg 'Time to Sell'

sysmsg 'Time to Sell'

stop

endwhile

Can this be converted to blacksmith?
 
Top