Uo Steam Macro to

Ariakan99

Grandmaster
I have just got my fletcher skilled up and have started trying to make some slayer bows. I found that sorting the bows manually tales way too long so was looking to automate the process. I have adapted the following script to use the itemtype for a bow but it continually trashes the item - even if it is a slayer (I have also tried to sort exceptional weapons with no luck) if anyone can help fix this script I would be grateful.

// Define a trash barrel
if not @findobject 'trash'
promptalias 'trash'
endif
// Define a pouch
if not @findobject 'pouch'
promptalias 'pouch'
endif
// Start loop searching for a ring on backpack
while @findtype 0x13b2 'any' 'backpack'
// Ring found, check for a desired property
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Valid, move to pouch!'
moveitem! 'found' 'pouch'
else
sysmsg 'Invalid, move to trash!'
moveitem! 'found' 'trash'
endif
pause 1000
endwhile
 

Bunnky

Grandmaster
This is a script for blacksmith slayer crafting and organizing. Since I see your knowledgeable with scripting language, ill post this, and you'll just have to tweak it for fletching /bows:

Code:
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' 0x13ff 
@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
 

halygon

Grandmaster
I have just got my fletcher skilled up and have started trying to make some slayer bows. I found that sorting the bows manually tales way too long so was looking to automate the process. I have adapted the following script to use the itemtype for a bow but it continually trashes the item - even if it is a slayer (I have also tried to sort exceptional weapons with no luck) if anyone can help fix this script I would be grateful.

// Define a trash barrel
if not @findobject 'trash'
promptalias 'trash'
endif
// Define a pouch
if not @findobject 'pouch'
promptalias 'pouch'
endif
// Start loop searching for a ring on backpack
while @findtype 0x13b2 'any' 'backpack'
// Ring found, check for a desired property
if property 'Faster Casting Recovery' 'found' == 3
sysmsg 'Valid, move to pouch!'
moveitem! 'found' 'pouch'
else
sysmsg 'Invalid, move to trash!'
moveitem! 'found' 'trash'
endif
pause 1000
endwhile
I wouldn't expect the above UOS macro to actually work as it is checking for a property that doesn't even exist on UOF, so the "If property" command will always result in a "FALSE" which means that the "else" command will ALWAYS be initated.

@Bunnky's macro is a good start for you if you are unable to create your own macros.
 

Ariakan99

Grandmaster
Thanks for the quick replies - I altered my original code to filter the items one by one as they are created and move slayers based on the system message in the journal.

Is there a fixed % success for slayers at various skill levels?
 

halygon

Grandmaster
Thanks for the quick replies - I altered my original code to filter the items one by one as they are created and move slayers based on the system message in the journal.

Is there a fixed % success for slayers at various skill levels?
I want to say its like 2% regardless of skill level.
 
Top