Page 1 of 1
UOS BS Craft Slayer Seek help
Posted: January 21st, 2017, 7:25 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: January 21st, 2017, 8:08 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: January 21st, 2017, 9:48 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: January 23rd, 2017, 6:09 pm
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)]'
Re: UOS BS Craft Slayer Seek help
Posted: January 25th, 2017, 6:32 am
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??
Re: UOS BS Craft Slayer Seek help
Posted: January 26th, 2017, 1:59 am
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
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 7:26 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 7:48 pm
by MB
your first movetype line has the syntax order wrong, it should be
movetype '0x1bd7' 'restock' 'backpack' '[(0 0 0)]' 1191 '300'
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 8:05 pm
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?
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 9:12 pm
by MB
Looks right to me, take that IF statement into it's own macro and troubleshoot it.
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 10:29 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: February 12th, 2017, 11:43 pm
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
Re: UOS BS Craft Slayer Seek help
Posted: February 14th, 2017, 8:33 am
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.
Re: UOS BS Craft Slayer Seek help
Posted: February 14th, 2017, 10:18 am
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.