Slayer Macro

Anzil Wyatt

Journeyman
Ok I found a good slayer macro but the problem is it will only worksfor Katanas.
It set up a slayer bag and smelts all the unwanted Katanas. Great!

But I dont know how to make it work for other weapons. What am I doing wrong.

I know if I make a weapon by hand and they run the macro it will make whatever I made last but it will not smelt the unwanted item and also not place the slayer in the slayer bag.
Let me know what I am doing wrong. Thanks
 

Volco

Master
in your script, there's a Value = "0x13ff". That Value represents the katana's graphic. You'll want to replace that with the value of whatever item you want to craft.

To find an item's 'graphic' value, go to UOSteam, click on 'object inspector', go back to your game, and click on whatever item you want to craft.

UOSteam will then open a new window with a list of properties and their values
 

Anzil Wyatt

Journeyman
Ahh man you just made my day . Thank You!
That was really simple.
Now you wouldnt know of a good Mining script would ya?

Thanks again.
 

Volco

Master
this is the script i use for mining:

Code:
if not @findalias 'Beetle'
  promptalias 'Beetle'
endif
if counttype 0x19b9 'any' 'backpack' < 188
  movetype 0x19b9 'backpack' 'Beetle'
endif
if not listexists 'miningerrormessages'
  createlist 'miningerrormessages'
  pushlist 'miningerrormessages' 'no metal here'
  pushlist 'miningerrormessages' "You can't mine there"
  pushlist 'miningerrormessages' "Target cannot be seen"
  pushlist 'miningerrormessages' "You can't mine that"
endif
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
  useobject 'found'
else
  sysmsg "You do not have any digging tools!"
  stop
endif
waitfortarget 500
if direction == 0
  targettileoffset 0 -1 0
elseif direction == 1
  targettileoffset 1 -1 0
elseif direction == 2
  targettileoffset 1 0 0
elseif direction == 3
  targettileoffset 1 1 0
elseif direction == 4
  targettileoffset 0 1 0
elseif direction == 5
  targettileoffset -1 1 0
elseif direction == 6
  targettileoffset -1 0 0
elseif direction == 7
  targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
  useobject 'found'
else
  sysmsg "You do not have any digging tools!"
  stop
endif
waitfortarget 500
if direction == 1
  targettileoffset 0 -1 0
elseif direction == 2
  targettileoffset 1 -1 0
elseif direction == 3
  targettileoffset 1 0 0
elseif direction == 4
  targettileoffset 1 1 0
elseif direction == 5
  targettileoffset 0 1 0
elseif direction == 6
  targettileoffset -1 1 0
elseif direction == 7
  targettileoffset -1 0 0
elseif direction == 0
  targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
  useobject 'found'
else
  sysmsg "You do not have any digging tools!"
  stop
endif
waitfortarget 500
if direction == 7
  targettileoffset 0 -1 0
elseif direction == 0
  targettileoffset 1 -1 0
elseif direction == 1
  targettileoffset 1 0 0
elseif direction == 2
  targettileoffset 1 1 0
elseif direction == 3
  targettileoffset 0 1 0
elseif direction == 4
  targettileoffset -1 1 0
elseif direction == 5
  targettileoffset -1 0 0
elseif direction == 6
  targettileoffset -1 -1 0
endif
pause 10
 

Anzil Wyatt

Journeyman
if not findalias 'slayerbag'

promptalias 'slayerbag'

endif

if not hidden 'self'

useskill 'hiding'

endif

if listexists 'slayertype'

clearlist 'slayertype'

else

createlist 'slayertype'

endif

pushlist 'slayertype' 0x13fb

@usetype 0xfbb 0x0 'backpack'

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

sysmsg 'Slayer crafted!' 33

pause 600

else

// Change ↓

@findtype slayertype[0] 0x0 'backpack'

@usetype 0xfbb 0x0 'backpack'

waitforgump 0x38920abd 15000

replygump 0x38920abd 14

waitfortarget 5000

@Target! 'found'

pause 600

endif

if counttype slayertype[0] 'any' 'backpack' > 0

stop

endif
 

Dulcinea

Grandmaster
if not findalias 'slayerbag'

promptalias 'slayerbag'

endif

if not hidden 'self'

useskill 'hiding'

endif

if listexists 'slayertype'

clearlist 'slayertype'

else

createlist 'slayertype'

endif

pushlist 'slayertype' 0x13fb

@usetype 0xfbb 0x0 'backpack'

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

sysmsg 'Slayer crafted!' 33

pause 600

else

// Change ↓

@findtype slayertype[0] 0x0 'backpack'

@usetype 0xfbb 0x0 'backpack'

waitforgump 0x38920abd 15000

replygump 0x38920abd 14

waitfortarget 5000

@Target! 'found'

pause 600

endif

if counttype slayertype[0] 'any' 'backpack' > 0

stop

endif


Will not smelt weps for me. Did you have the same issue?
 

Anjin

Master
nope, works 100% now - here's what use, smelts just fine and world saves don't cause it to stop now.

// 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' 0x13ff

//==========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
 

Dulcinea

Grandmaster
nope, works 100% now - here's what use, smelts just fine and world saves don't cause it to stop now.

// 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' 0x13ff

//==========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

Thank you, I will try it out when I get home from work tonight.
 

Anzil Wyatt

Journeyman
You have to use object inspector and copy and paste the items graphic number. If you read a few posts earlier you will see what I am talking about.
Just make the item then object inpect it and then copy and paste the graphic number in the script over the old item graphic number. Also before you start running the macro remember to smelt that first item you made or it wont work.
 

Wan_Ted

Master
hey can one help me to change this script to double axe? i can so bad englisch i cant make it self :( sorry :(

i test the last 3 h with google translate but i dont find the misstake in the script... he smelt all time the slayer weps :(
 

Nakor

Expert
if not findalias 'slayerbag'

promptalias 'slayerbag'

endif

if not hidden 'self'

useskill 'hiding'

endif

if listexists 'slayertype'

clearlist 'slayertype'

else

createlist 'slayertype'

endif

pushlist 'slayertype' 0x13fb

@usetype 0xfbb 0x0 'backpack'

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

sysmsg 'Slayer crafted!' 33

pause 600

else

// Change ↓

@findtype slayertype[0] 0x0 'backpack'

@usetype 0xfbb 0x0 'backpack'

waitforgump 0x38920abd 15000

replygump 0x38920abd 14

waitfortarget 5000

@Target! 'found'

pause 600

endif

if counttype slayertype[0] 'any' 'backpack' > 0

stop

endif

This is for some reason not smelting down my weapons made. Any idea why?
 

Anzil Wyatt

Journeyman
You have to do Object Identify " I think thats whats its called" on the item you make. Then copy the Graphic Code into your macro. Its goes in the first few lines, just copy it over the old ones. Then smelt the item you just used the object identlify on. And hit play, it should work.
 
Im going insane trying to get this to work. I have changed the slayertype to the proper weapon and still no smelt. I dont see any other instances of a weapon type within the macro?
 
Top