Yoko

All sides of Injection
It is currently 2025-12-03 03:37:27

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-05-05 20:04:41 
Offline

Joined: 2005-05-05 19:04:28
Posts: 3
sub main()
repeat
UO.FindType('0x1BDD','0x0000','backpack')
put:
If UO.GetQuantity('finditem')<1 then
UO.FindType('0x1BDD','0x0000','0x4018A198') ;serial sunduka
UO.Grab('1','finditem')
wait(1000)
Endif
UO.FindType('0x1BDD','0x0000','backpack')
If UO.GetQuantity('finditem')<1 then
goto put
end if
CheckLag()
UO.WaittargetType('0x1BDD')
UO.Usetype('0x0F51')
UO.WaitMenu('What do you want to carve the wood into?','shaft')
wait (1000)
UO.DeleteJournal()
while not (UO.InJournal("You put") or UO.InJournal("You fail"))
wait(300)
wend
UO.UnSetReceivingContainer()
wait(200)
until UO.Dead()
end sub



Кто нибудь может добавить сюда чтобы чар ложил шафты обратно в сундук?


Top
   
 Post subject:
PostPosted: 2005-05-06 07:45:21 
Offline
Expert!
User avatar

Joined: 2005-04-23 10:19:43
Posts: 388
Вообще-то мог и сам из поиска выдрать, но я сегодне добрый :).
Code:
sub main() 
repeat
UO.FindType('0x1BDD','0x0000','backpack')
put:
If UO.GetQuantity('finditem')<1 then
UO.FindType('0x1BDD','0x0000','0x4018A198') ;serial sunduka
UO.Grab('1','finditem')
wait(1000)
Endif
UO.FindType('0x1BDD','0x0000','backpack')
If UO.GetQuantity('finditem')<1 then
goto put
end if
CheckLag()
UO.WaittargetType('0x1BDD')
UO.Usetype('0x0F51')
UO.WaitMenu('What do you want to carve the wood into?','shaft')
wait (1000)
UO.DeleteJournal()
while not (UO.InJournal("You put") or UO.InJournal("You fail"))
wait(300)
wend
  if UO.InJournal('You put') then
    UO.FindType('0x1234',-1,'backpack') # Вместо 0х1234 введи тип шафтов
    if UO.FindCount>0 then
      UO.MoveItem('finditem',0,'0x4018A198') ;serial sunduka
    end if
  end if
UO.UnSetReceivingContainer()
wait(200)
until UO.Dead()
end sub


Top
   
 Post subject:
PostPosted: 2005-05-06 14:24:20 
Offline

Joined: 2005-05-05 19:04:28
Posts: 3
увы..так где
Code:
if UO.FindCount>0 then  
ошибка


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited