UOS BS Craft Slayer Seek help

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
User avatar
Veteran Noobie
Posts: 874

UOS BS Craft Slayer Seek help

Post by Veteran Noobie »

Greetings players of Demise, I am trying to modify a macro posted by Mb to craft slayer or mana leech and ssi daisho weapon

here is where I am at but it just does not seem to move items for me. please help?

Code: Select all

while counttype '0x27ab' 'any' '0x407a099b' < '120'
  @setalias 'restock' '0x438bb3c4'
  if counttype '0x1bf2' '2213' 'backpack' < '15'
    movetype '0x1bf2' 'restock' 'backpack' '[(0 0 0)]' '2213' '300'
  endif
  //bronze hammer daisho
  usetype '0x13e3' '2418' 'backpack'
  waitforgump 0x38920abd 3000
  replygump 0x38920abd 36
  waitforgump 0x38920abd 3000
  replygump 0x38920abd 93
  waitforgump 0x38920abd 3000
  pause 850
  //find property daisho
  while @findtype '0x27ab' 'any' 'backpack'
    waitforproperties 'found' 5000
    if property 'Hit Mana Leech' 'found' > '10' and property 'Swing Speed Increase' 'found' > '10'
      moveitem 'found' '0x407a099b' '[(0 0 0)]'
    elseif @property 'Slayer' 'found' or @property 'Swing Speed Increase' 'found' > '10'
      moveitem 'found' '0x407a099b' '[(0 0 0)]'
    else
      moveitem 'found' '0x421c4b0c' '[(0 0 0)]'
    endif
    @unsetalias 'found'
    pause 750
  endwhile
endwhile
Always trying to be honest and helpful, if you have a question or need help please do not bother to ask!

Watch me shine, For I have been in darkness for too long.
User avatar
Tanya
Posts: 1796

Re: UOS BS Craft Slayer Seek help

Post by Tanya »

Here is another macro I used on test server, can modify item and properties (bank must be opened):

Code: Select all

setalias 'trashbarrelluna' 0x4000b9c0 //edit trash barrel
usetype 0x13e3 'any''backpack'
pause 500
replygump 0x38920abd 21
waitforgump 0x38920abd 15000
while @findtype 0x27a9 'any' 'backpack'   //0x27a9 daisho
  waitforproperties 'found' 2500
  @unsetalias 'move'
  // Check item properties
  if @property 'hit mana leech' 'found' >= 30 and @property 'hit stamina leech' 'found' >= 30
    if @property 'swing speed increase' 'found' > 29
      @setalias 'move''found'
    endif
  endif
  // Move the item
  if @findalias 'move'
    moveitem 'found' 'bank'
    pause 900
  else if findalias 'found'
    moveitem 'found' 'trashbarrelluna'
    pause 600
  endif
  ignoreobject 'found'
  pause 500
endwhile
Peerless Hunter
Guide to Whammy - viewtopic.php?f=10&t=314
My youtube channel - /watch?v=sx5zGCbILtA
Weekly Bedlam Spawns - viewtopic.php?f=2&t=9131
Haswell
Posts: 44

Re: UOS BS Craft Slayer Seek help

Post by Haswell »

Tanya small typo: else if findalias 'found'
should be: elseif ... (no whitespace)

I dont think you need the ignoreobject command considering you are moving the item out of your backpack and once it is done (to the bank or trash barrel) that while findtype command wont locate it anymore.

you can also write that moveitem command directly into the condition (because UOS will evaluate most commands as true/false), for example:

Code: Select all

if @moveitem 'found' 'bank'
  pause 900
elseif @moveitem 'found' 'trashbarrelluna'
  pause 600
endif
Tanya likes this.
Top
User avatar
The Silvertiger
Posts: 4469

Re: UOS BS Craft Slayer Seek help

Post by The Silvertiger »

Make sure the serials after found in this section is the serial for the bag you want them in.


moveitem 'found' '0x407a099b' '[(0 0 0)]'
elseif @property 'Slayer' 'found' or @property 'Swing Speed Increase' 'found' > '10'
moveitem 'found' '0x407a099b' '[(0 0 0)]'
else
moveitem 'found' '0x421c4b0c' '[(0 0 0)]'
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
User avatar
Veteran Noobie
Posts: 874

Re: UOS BS Craft Slayer Seek help

Post by Veteran Noobie »

my macro crafts the item but does not sort items, i would like for it to take slayer or hml+ssi items and put into one bag while others go into another? is this possible??
Always trying to be honest and helpful, if you have a question or need help please do not bother to ask!

Watch me shine, For I have been in darkness for too long.
User avatar
MB
Posts: 379

Re: UOS BS Craft Slayer Seek help

Post by MB »

@setalias 'restock' '0x438bb3c4'
@setalias 'hmlssi' 0x407a099b
@setalias 'slayerssi' 0x407a099b
@setalias 'other' 0x421c4b0c
if counttype '0x1bf2' '2213' 'backpack' < '15'
movetype '0x1bf2' 'restock' 'backpack' '[(0 0 0)]' '2213' '300'
pause 550
endif
//bronze hammer daisho
usetype '0x13e3' '2418' 'backpack'
0 waitforgump 0x38920abd 3000
replygump 0x38920abd 36
waitforgump 0x38920abd 3000
replygump 0x38920abd 93
waitforgump 0x38920abd 3000
//find property daisho
while @findtype '0x27ab' 'any' 'backpack'
waitforproperties 'found' 5000
if property 'Hit Mana Leech' 'found' > '10' and property 'Swing Speed Increase' 'found' > '10'
moveitem 'found' 'hmlssi'
elseif @property 'Slayer' 'found' or @property 'Swing Speed Increase' 'found' > '10'
moveitem 'found' 'slayerssi'
else
moveitem 'found' 'other'
endif
pause 750
endwhile
matg0d and Veteran Noobie like this.
Top
Zmoney
Posts: 254

Re: UOS BS Craft Slayer Seek help

Post by Zmoney »

@setalias 'restock' '0x40d27a0d'
@setalias 'hmlssi' 0x407a099b
@setalias 'slayerssi' 0x407a099b
@setalias 'other' 0x421c4b0c
if counttype '0x1bd7' '1191' 'backpack' < '15'
movetype '0x1bd7' '1191' 'restock' 'backpack' '[(0 0 0)]' '300'
pause 550
endif
//yew saw blackstaff
usetype '0x1028' '1192' 'backpack'
waitforgump 0x38920abd 3000
replygump 0x38920abd 36
waitforgump 0x38920abd 3000
replygump 0x38920abd 21
waitforgump 0x38920abd 3000
//find property black staff
while @findtype '0xdf0' 'any' 'backpack'
waitforproperties 'found' 5000
if property 'Hit Mana Leech' 'found' > '10' and property 'Swing Speed Increase' 'found' > '10'
moveitem 'found' 'hmlssi'
elseif @property 'Slayer' 'found' or @property 'Swing Speed Increase' 'found' > '10'
moveitem 'found' 'slayerssi'
else
moveitem 'found' 'other'
endif
pause 750
endwhile

so i tried to do one for black staffs with yew saws. For some reason it won begin because its saying movetype: source not found. Im not sure whats wrong with it, i have the graphic for yew wood, and the color, i even tried with coordinates and it still wont do it. I appreciate any help
User avatar
MB
Posts: 379

Re: UOS BS Craft Slayer Seek help

Post by MB »

your first movetype line has the syntax order wrong, it should be

movetype '0x1bd7' 'restock' 'backpack' '[(0 0 0)]' 1191 '300'
Zmoney
Posts: 254

Re: UOS BS Craft Slayer Seek help

Post by Zmoney »

Thanks mb for the reply, so i changed that, now its saying that container cant hold that much weight. im only 58/560 stones, and isnt it only moving 300 boards? I also noticed, if i use my restock from a box that has more than just ash boards it starts grabbing frostwood and blood wood, so i set restock to a container with just ash and it says that container cant hold that much weight. You know what would be causing this?
User avatar
MB
Posts: 379

Re: UOS BS Craft Slayer Seek help

Post by MB »

Looks right to me, take that IF statement into it's own macro and troubleshoot it.
Haswell
Posts: 44

Re: UOS BS Craft Slayer Seek help

Post by Haswell »

remove the single quotes from coordinates, otherwise UOS will attempt to parse/read that as a single parameter and will take 300 as a coordinate value:

Code: Select all

movetype 0x1bd7 'restock' 'backpack' 0 0 0 1191 300
Nicinha and MB like this.
Top
Zmoney
Posts: 254

Re: UOS BS Craft Slayer Seek help

Post by Zmoney »

Haswell wrote:remove the single quotes from coordinates, otherwise UOS will attempt to parse/read that as a single parameter and will take 300 as a coordinate value:

Code: Select all

movetype 0x1bd7 'restock' 'backpack' 0 0 0 1191 300
that fixed it, thanks! And thanks mb i appreciate the help aswell
User avatar
Shallan
Posts: 1488

Re: UOS BS Craft Slayer Seek help

Post by Shallan »

isnt its easier to just craft craft and then use easyuo searching script for 3 mod items ?
i will search what ever u want
slayer
mana
stamina
skill
etc etc with numbers >40 <40 =40 NA etc.
___________________________________

UABOF - Users against Bullshit on forum.
EnEffetGile
Posts: 122

Re: UOS BS Craft Slayer Seek help

Post by EnEffetGile »

Shallan wrote:isnt its easier to just craft craft and then use easyuo searching script for 3 mod items ?
No, but if you craft less then 20 items. I supose that easyuo isnt as big of a waste of time.
Also, one of the few little things that easyuo has over uosteam is it's lack of speed.
Id rather use uosteam whenever possible. Easyuo wont filter your crap to the Salvage bag.
Post Reply