Camping - DRW
Posted: 2004-10-18 05:02:12
sub Camping()
var Exit=0
var q=0
var w=0
var e=0
uo.Print('Âûáåðè Ñóíäóê ñ Õâîðîñòîì: ')
uo.Exec('addobject Chest')
while uo.Targeting()
wait(100)
wend
for w=0 to 4
while not uo.Dead() or Exit<>1
for q=0 to 25
UO.DeleteJournal()
uo.FindType('0x0DE1','0x0000','Chest')
if uo.GetQuantity('finditem')>0 Then
UO.MoveItem('finditem','1','ground')
wait(1000)
uo.UseObject('finditem')
CheckLag()
If UO.InJournal('You fail') then
uo.UseObject('finditem')
endif
else
exit=1
q=25
end if
wait(1000)
next
if e==0 then
UO.Press( 36 )
CheckLag()
q=0
if w==4 then
UO.Press( 34 )
e=1
w=0
endif
endif
if e==1 then
UO.Press( 34 )
CheckLag()
q=0
if w==4 then
UO.Press( 36 )
e=0
w=0
endif
endif
next
wait(1000)
wend
end sub
sub CheckLag()
UO.DeleteJournal()
UO.Click('backpack')
repeat
wait(500)
until UO.InJournal('backpack')
end sub
Передалал Camping на DRW с ходьбой около контейнера .
Пашет.
var Exit=0
var q=0
var w=0
var e=0
uo.Print('Âûáåðè Ñóíäóê ñ Õâîðîñòîì: ')
uo.Exec('addobject Chest')
while uo.Targeting()
wait(100)
wend
for w=0 to 4
while not uo.Dead() or Exit<>1
for q=0 to 25
UO.DeleteJournal()
uo.FindType('0x0DE1','0x0000','Chest')
if uo.GetQuantity('finditem')>0 Then
UO.MoveItem('finditem','1','ground')
wait(1000)
uo.UseObject('finditem')
CheckLag()
If UO.InJournal('You fail') then
uo.UseObject('finditem')
endif
else
exit=1
q=25
end if
wait(1000)
next
if e==0 then
UO.Press( 36 )
CheckLag()
q=0
if w==4 then
UO.Press( 34 )
e=1
w=0
endif
endif
if e==1 then
UO.Press( 34 )
CheckLag()
q=0
if w==4 then
UO.Press( 36 )
e=0
w=0
endif
endif
next
wait(1000)
wend
end sub
sub CheckLag()
UO.DeleteJournal()
UO.Click('backpack')
repeat
wait(500)
until UO.InJournal('backpack')
end sub
Передалал Camping на DRW с ходьбой около контейнера .
Пашет.