Post by Ravenclaw on Jun 23, 2013 14:00:21 GMT -8
Made using AssistUO v1.0.0 RC8 Build 09 (www.runuo.com/products/assistuo)
This macro is set up to make Cloth Ninja Tabis. Adjust the "replygump" #s (22 & 23) to change this. Record a separate test script to find the numbers if needed.
++++++++++++++++++
This will cut the Cloth Ninja Tabis and stop when the weight limit is reached or theres no more cloth:
++++++++++++++++++++++
This will stop making the Elven Shirts and cut them back into cloth when the weight limit is reached and then continue to make more automatically once all the Elven Shirts have been cut. It will also stop when there is not enough cloth or sewing kits left. It should also stop when items are being dropped on the floor. (Be sure to set the proper serial# in the script for this) Good for practice.
*** Note keep an eye on the ninja tabis, or whatever you may change the macro to, to be sure they are not being dropped at your feet.
This macro is set up to make Cloth Ninja Tabis. Adjust the "replygump" #s (22 & 23) to change this. Record a separate test script to find the numbers if needed.
++++++++++++++++++
This will cut the Cloth Ninja Tabis and stop when the weight limit is reached or theres no more cloth:
//Check character weight
if weight >= maxweight
sysmsg 'MAXIMUM WEIGHT HAS BEEN REACHED' '32'
stop
endif
//Check if too many items have been made and are being dropped
//if @findtype 'change for Serial of item being made' 'any' 'ground' '1' '3'
//sysmsg ' TOO MANY ITEMS MADE. PACK IS FULL ' '32'
//stop
//endif
If not @findtype 0x1766 'any' 'backpack' 13
sysmsg 'NOT ENOUGH CLOTH LEFT' '32'
stop
else
//Change 'findtype' and 'usetype' serial if not using Sewing Kits
if @findtype 0xf9d 'any' 'backpack'
usetype 0xf9d 'any' 'backpack'
waitforgump 0x38920abd 5000
pause 500
replygump 0x38920abd 22
waitforgump 0x38920abd 5000
pause 500
replygump 0x38920abd 23
waitforgump 0x38920abd 5000
pause 2000
replygump 0x38920abd 0
else
//Change message in quote if not using Sewing Kits
sysmsg 'OUT OF SEWING KITS!' '32'
stop
endif
endif
++++++++++++++++++++++
This will stop making the Elven Shirts and cut them back into cloth when the weight limit is reached and then continue to make more automatically once all the Elven Shirts have been cut. It will also stop when there is not enough cloth or sewing kits left. It should also stop when items are being dropped on the floor. (Be sure to set the proper serial# in the script for this) Good for practice.
//Check weight is not too much and findtype is cloth.
if weight >= maxweight or not @findtype 0x1766 'any' 'backpack' 13
sysmsg 'CUTTING ITEMS MADE INTO CLOTH!' '32'
while @findtype 0x3176 'any' 'backpack'
useobject 0x401424fd
waitfortarget 5000
targettype! 0x3176
pause 1500
endwhile
if not @findtype 0x1766 'any' 'backpack' 13
sysmsg 'CHECK CLOTH AMOUNT' '32'
stop
endif
else
//Change 'findtype' and 'usetype' serial if not using Sewing Kits
if @findtype 0xf9d 'any' 'backpack'
usetype 0xf9d 'any' 'backpack'
waitforgump 0x38920abd 5000
pause 500
replygump 0x38920abd 50
waitforgump 0x38920abd 5000
pause 500
replygump 0x38920abd 30
waitforgump 0x38920abd 5000
pause 2000
//Checks to see if items made are being dropped. Change findtype serial number to match items being made.
if @findtype '0x3176' 'any' 'ground' '1' '3'
sysmsg 'BACKPACK IS FULL! CUTTING ITEMS.' '32'
while @findtype 0x3176 'any' 'backpack'
useobject 0x401424fd
waitfortarget 5000
targettype! 0x3176
pause 1500
endwhile
endif
replygump 0x38920abd 0
else
//Change message in quote if not using Sewing Kits
sysmsg 'OUT OF SEWING KITS!' '32'
stop
endif
endif
*** Note keep an eye on the ninja tabis, or whatever you may change the macro to, to be sure they are not being dropped at your feet.