Yoko

All sides of Injection
It is currently 2025-10-15 05:57:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2010-07-15 23:53:44 
Offline

Joined: 2010-07-15 23:48:32
Posts: 1
Ребята, мне нужет скрипт на крафт бутылок.Скрипт Элдера не работает помогите!!


Top
   
PostPosted: 2010-08-12 11:49:30 
Offline
User avatar

Joined: 2006-12-07 14:48:38
Posts: 5
Code:
sub Tinkering_bottle()
var i
VAR Exit=0, LastTimer
uo.print('Выбери СУНДУК С ингами:')
uo.exec('addobject Container')
while uo.targeting()
wait(100)
wend
uo.print('Выбери Инструменты:')
uo.exec('addobject tools')
while uo.targeting()
wait(100)
wend
while Exit<>1
UO.DeleteJournal()
UO.FindType('0x0F0E','0x0000','backpack')
If UO.GetQuantity('finditem')>20 Then
UO.SetReceivingContainer('Container')
wait(2000)
UO.Grab('all','finditem')
wait(2000)
UO.UnSetReceivingContainer()
Endif
UO.FindType('0x1BEF',-1,'backpack') 
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x1BEF','0x0000','Container')
wait(1000)
UO.Grab('300','finditem')
wait(1000)
Endif
LastTimer=UO.Timer()
UO.DeleteJournal() 
UO.WaitMenu('Tinkering','Tools','Tools','empty bottle')
UO.UseObject('tools')
wait(4000)
CheckLag()
if i==3 or not i then
uo.useskill ("Spirit Speak")
i=1
else
i=i+1
endif
If UO.InJournal('fail') then
repeat
wait(100)
until UO.Timer()>=LastTimer+100
Else
EndIf
wend   
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Limited