Code:
sub obklad()
var musor = type # пропиши здесь тип, чем обкладываешь
var x=uo.getserial('lasttarget')
uo.set('lasttarget','laststatus')
uo.findtype(musor,'-1','2')
if uo.findcount() then
uo.drop("1",str(uo.getx(x)-1),str(uo.gety(x)),0,"finditem")
endif
CheckLag()
uo.findtype(musor,'-1','2')
if uo.findcount() then
uo.drop("1",str(uo.getx(x)),str(uo.gety(x)-1),0,"finditem")
endif
CheckLag()
uo.findtype(musor,'-1','2')
if uo.findcount() then
uo.drop("1",str(uo.getx(x)+1),str(uo.gety(x)),0,"finditem")
endif
CheckLag()
uo.findtype(musor,'-1','2')
if uo.findcount() then
uo.drop("1",str(uo.getx(x)),str(uo.gety(x)+1),0,"finditem")
endif
end sub
sub CheckLag()
UO.DeleteJournal()
UO.Click("backpack")
Repeat
Wait(200)
Until UO.InJournal("backpack")
end sub
напишы
,set grabdelay 0
может у тебя в паке 4 штуки, кидая их напол, они поворачиваются, а если они повернулись, тогда их тип меняется
