дайте плиз скрипт
Posted: 2004-10-13 15:17:16
дайте плиз скрипт на алхимию(drw)чтоб брал из сундука ginseng и бутылки и делал heal,а потом сделайнный heal складывал в сундук.
если никто не может дать скрипт ,то плиз переделайте вот мой.
sub main()
sub Alchemy()
var Exit=0,LastTimer
while Exit<>1
uo.DeleteJournal()
uo.FindType('0x0F0E',-1,'backpack') ;
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x0F0E','0x0000','0x4019305E') ; (bottle, container)
wait(1000)
uo.Grab('500','finditem')
wait(100)
end if
uo.FindType('0x0F85','0x0000','backpack') ;
if uo.GetQuantity('finditem')<20 then
uo.FindType('0x0F85','0x0000','0x4019305E') ;
wait(1000)
uo.Grab('1000','finditem')
wait(500)
end if
LastTimer=uo.Timer()
uo.WaitMenu('What','(last)') ;
uo.UseType(0x0F85) ;
while not uo.InJournal("You put") and not uo.InJournal("You toss the failed")
wait(500)
wend
if uo.InJournal("You toss the failed") then
repeat
wait(100)
until uo.Timer()>=LastTimer+100 ;
else
end sub
если никто не может дать скрипт ,то плиз переделайте вот мой.
sub main()
sub Alchemy()
var Exit=0,LastTimer
while Exit<>1
uo.DeleteJournal()
uo.FindType('0x0F0E',-1,'backpack') ;
if uo.GetQuantity('finditem')<10 then
uo.FindType('0x0F0E','0x0000','0x4019305E') ; (bottle, container)
wait(1000)
uo.Grab('500','finditem')
wait(100)
end if
uo.FindType('0x0F85','0x0000','backpack') ;
if uo.GetQuantity('finditem')<20 then
uo.FindType('0x0F85','0x0000','0x4019305E') ;
wait(1000)
uo.Grab('1000','finditem')
wait(500)
end if
LastTimer=uo.Timer()
uo.WaitMenu('What','(last)') ;
uo.UseType(0x0F85) ;
while not uo.InJournal("You put") and not uo.InJournal("You toss the failed")
wait(500)
wend
if uo.InJournal("You toss the failed") then
repeat
wait(100)
until uo.Timer()>=LastTimer+100 ;
else
end sub