Yoko

All sides of Injection
It is currently 2024-03-28 16:14:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Алхимия ДРВ
PostPosted: 2006-08-20 18:50:24 
Offline

Joined: 2005-01-01 04:00:14
Posts: 76
Переделал скрипт Алхимии на пойзоне Асканели, под Манки. Вот что получилось:
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:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited