Эта часть скрипта для вора ее смысла ( юзаем перчатки вора открываем пак и воруем рыбу и выбрасываем.. Хайд и стилс не нужен .
Code: Select all
sub ifopen()
uo.findtype("0x0EED","-1","lastcontainer")
if uo.getquantity('finditem')>0 then
return TRUE
else
return FALSE
endif
end sub
sub opening()
uo.waittargetobject("0x00006971")
uo.usetype('0x13c6')
while not ifopen()
wait(200)
wend
end sub
sub stealing()
while ifopen()
uo.waittargetobject("finditem")
uo.usetype('0x13c6')
wait(5000)
wend
end sub
sub main()
while not uo.dead()
wait(200)
if not ifopen() then
opening()
wait(200)
else
stealing()
while ifopen()
wait(200)
wend
endif
wend
sub drop()
while not uo.dead()
wait(200)
uo.findtype("0x0EED","-1","my")
if uo.findcount()>0 then
uo.exec('waittargetobject finditem')
uo.exec('drop')
wait(200)
endif
wait(200)
wend
end sub
sub hh()
While not UO.Dead()
UO.UseSkill("Hiding");
wait (10000)
if UO.Hidden() then
UO.UseSkill("Stealth");
wait(10000)
wend
endif
wend
end sub
Code: Select all
sub main()
while not uo.dead()
wait(400)
uo.findtype("0x097A","-1","ground")
if uo.findcount()>0 then
uo.exec('waittargetobject finditem')
uo.exec('grab')
wait(400)
endif
wait(400)
wend
end sub