Yoko
http://forum.yoko.com.ua/

Алхимия ДРВ
http://forum.yoko.com.ua/viewtopic.php?f=20&t=8559
Page 1 of 1

Author:  prof [ 2006-08-20 18:50:24 ]
Post subject:  Алхимия ДРВ

Переделал скрипт Алхимии на пойзоне Асканели, под Манки. Вот что получилось:
Code:
sub Alchemy_TM()
var Sunduk='0x402FA71C' ; Откуда брать, и куда складывать
VAR LastTimer
var i=0

uo.useobject('backpack')
uo.cancelmenu()
uo.automenu('What sort of potion do you want to','Total Mana')

uo.useobject(Sunduk)
wait(1000)
while 1==1

i=i+1
if i==50 then
uo.usetype('0x097B')
wait(1000)
i=0
end if

UO.FindType('0x0F0E','0x0000','backpack')
While UO.GetQuantity('finditem')<20
UO.FindType('0x0F0E','0x0000',Sunduk)
wait(200)
UO.Grab('100','finditem')
wait(200)
Wend

UO.FindType('0x0F87','0x0000','backpack')
While UO.GetQuantity('finditem')<20
UO.FindType('0x0F87','0x0000',Sunduk)
wait(200)
UO.Grab('600','finditem')
wait(200)
Wend

uo.deletejournal()
LastTimer=UO.Timer()
uo.usetype('0x0F87','0x0000')
repeat
Wait(10)
until UO.InJournal("You put the") OR UO.InJournal("You toss the failed") OR (UO.Timer()>LastTimer+200)


UO.FindType('0x0F0E','0x09DF')
if UO.GetQuantity('finditem')>0 then

if uo.weight > 700 then
UO.SetReceivingContainer(Sunduk)
wait(200)
UO.Grab('0','finditem')
wait(200)
UO.UnSetReceivingContainer()
end if
 
end if

wend
end sub

Но после ВСа скрипт сбивается. Можно исправить что нибудь где нибудь? :roll:

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/