sub tailoring()
while 1
if uo.count(0x175D)<30 then
move_clothes_to_pack()
uo.findtype('0x175D',-1,0x40272F96)
uo.grab('300','finditem')
wait(1000)
end if
do_robes()
wait(10500)
wend
end sub
sub do_robes()
uo.waitmenu('Cloth','Headwear','Headwear','skullcap')
uo.usetype('0x0F9D')
uo.waitmenu('What do you want to use the sewing kit on?')
uo.waittargettype('0x175D')
end sub
sub move_clothes_to_pack()
uo.findtype('0x1543',-1,'0x4007477A')
if uo.findCount()>0 then
for var i=0 to uo.findCount()-1
uo.findtype('0x1543',-1,'my')
uo.usetype('0x0F9E')
uo.waitmenu('What do you want to use this on?')
uo.waittargettype('0x1543')
wait(700)
next
endif
endsub
sub to_30()
while 1
if uo.count(0x1515)<5 then
move_staffs_to_pack()
uo.findtype('0x1515',-1,0x400CE918)
uo.grab('30','finditem')
wait(1000)
end if
do_robes()
wait(1000)
wend
endsub
Вот скрипт работает правильно но нехочет резать изделие на бинты помогите исправьте или дайте какойнибуть другой скрипт чтобы прокачать тейлоринг до 59% штобы робы делать можно было.
Плиззз помогите!!!
Помогите со скриптом?
Moderators: Murderator+, Murderator
sub tailoring()
UO.CancelMenu()
var counterr , cont=20 , Meshochek , Bochka1=0x400911E7 , Bochka2=0x40092676
UO.AutoMenu('Cloth','Shirts')
UO.AutoMenu('Shirts','Robe')
repeat
UO.FindType(0x175D,-1,1)
UO.Grab('220','finditem')
wait(1000)
if cont>15 then
UO.FindType(0x0E76,-1,Bochka1)
Meshochek=UO.GetSerial('finditem')
wait(500)
UO.Grab(0,Meshochek)
wait(1000)
UO.MoveItem(Meshochek,0,Bochka2)
cont=0
end if
cont=cont+1
while UO.Count(0x175D)>20
UO.FindType(0x1F03,-1,2);Robe
;UO.FindType(0x1515,-1,2);Cape
if UO.FindCount()>0 then
UO.MoveItem('finditem',0,Meshochek) ; Если нужно резать на бинты меняем эту строчку на UO.WaitTargetObject('Finditem') и UO.UseObject('nognitsi')
wait(500)
end if
UO.WaitTargetType(0x175D)
UO.UseObject(0x40074DC4)
while not (UO.InJournal('put the')or UO.InJournal('Tailoring failed') or counterr>20)
wait(500)
counterr=counterr+1
wend
counterr=0
UO.DeleteJournal()
wend
until False
end sub
UO.CancelMenu()
var counterr , cont=20 , Meshochek , Bochka1=0x400911E7 , Bochka2=0x40092676
UO.AutoMenu('Cloth','Shirts')
UO.AutoMenu('Shirts','Robe')
repeat
UO.FindType(0x175D,-1,1)
UO.Grab('220','finditem')
wait(1000)
if cont>15 then
UO.FindType(0x0E76,-1,Bochka1)
Meshochek=UO.GetSerial('finditem')
wait(500)
UO.Grab(0,Meshochek)
wait(1000)
UO.MoveItem(Meshochek,0,Bochka2)
cont=0
end if
cont=cont+1
while UO.Count(0x175D)>20
UO.FindType(0x1F03,-1,2);Robe
;UO.FindType(0x1515,-1,2);Cape
if UO.FindCount()>0 then
UO.MoveItem('finditem',0,Meshochek) ; Если нужно резать на бинты меняем эту строчку на UO.WaitTargetObject('Finditem') и UO.UseObject('nognitsi')
wait(500)
end if
UO.WaitTargetType(0x175D)
UO.UseObject(0x40074DC4)
while not (UO.InJournal('put the')or UO.InJournal('Tailoring failed') or counterr>20)
wait(500)
counterr=counterr+1
wend
counterr=0
UO.DeleteJournal()
wend
until False
end sub