Yoko

All sides of Injection
It is currently 2025-11-05 14:36:28

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: 2005-02-21 16:43:59 
Offline

Joined: 2005-02-17 02:45:00
Posts: 1
Я порезал лут с BETEPAHовского автолода, но он не пашет почему то... Вроде все прально, а скрипт 0 внимания!
Суть в том, что у мя лежат на земле объекты, их надо в пак, если их несколько одного типа то он лутит их пока они не кончаться:

Code:
sub Lootvetki() 
   VAR WaitTime=500
   VAR Exit=0, i
   DIM Loot[4]
   
Loot[0]=0x1B9C
Loot[1]=0x1B9B
Loot[2]=0x1B9D
Loot[3]=0x1B9E 

   For i=0 to 3
      UO.FindType(Loot[i],-1,'ground')
      if uo.getquantity('finditem')>1 then
         repeat
         UO.Grab(STR(0),'finditem')
         wait(WaitTime)
         until uo.getquantity('finditem')==0
      endif
end sub


Top
   
 
PostPosted: 2005-02-21 18:25:47 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Onimusha wrote:
Я порезал лут с BETEPAHовского автолода, но он не пашет почему то... Вроде все прально, а скрипт 0 внимания!
Суть в том, что у мя лежат на земле объекты, их надо в пак, если их несколько одного типа то он лутит их пока они не кончаться:

Code:
sub Lootvetki() 
   VAR WaitTime=500
   VAR Exit=0, i
   DIM Loot[4]
   
Loot[0]=0x1B9C
Loot[1]=0x1B9B
Loot[2]=0x1B9D
Loot[3]=0x1B9E 

   For i=0 to 3
      UO.FindType(Loot[i],-1,'ground')
      if uo.findcount() then
         UO.Grab('all','finditem')
         wait(WaitTime)
      endif
end sub


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 2 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