Yoko

All sides of Injection
It is currently 2025-11-04 09:07:57

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: 2005-02-20 02:18:09 
Offline

Joined: 2004-06-30 22:21:58
Posts: 28
есть скрипт его смысал в том что по нажатию кнопки он должен подбирать вещи с пола (с земли), но почемуто он не хочет этого делать пишет что вещи не найдены
вот скрипт
Code:
sub arrowgrab()
               Dim Item[9]
   Item[0]='0x0E79' ;Arrows
   Item[1]='0x0EED' ;Gold
   Item[2]='0x0F7B' ;bm
   Item[3]='0x0F7A' ; BP
   Item[4]='0x0F90' ;deadwood
   Item[5]='0x0F7E' ;bones
   Item[6]='0x0F87' ;Eyes of newt
   Item[7]='0x1BDD' ;Logs
   Item[8]='0x1BFB' ;?bolts
   Item[9]='0x0F8E' ; ??????? ???????
Var i
   for i=0 to 9
      if Item[i]<>'' then
         uo.Findtype(Item[i],-1,ground)
         if uo.GetQuantity('finditem') then
            uo.MoveItem('finditem')
            CheckLag()
            wait(700)
         endif
      endif
end sub



Top
   
 
 Post subject:
PostPosted: 2005-02-20 03:10:45 
Offline
User avatar

Joined: 2004-11-07 01:22:35
Posts: 291
Location: Черкассы
Code:
sub arrowgrab() 
               Dim Item[9]
   Item[0]='0x0E79' ;Arrows
   Item[1]='0x0EED' ;Gold
   Item[2]='0x0F7B' ;bm
   Item[3]='0x0F7A' ; BP
   Item[4]='0x0F90' ;deadwood
   Item[5]='0x0F7E' ;bones
   Item[6]='0x0F87' ;Eyes of newt
   Item[7]='0x1BDD' ;Logs
   Item[8]='0x1BFB' ;?bolts
   Item[9]='0x0F8E' ; ??????? ???????
Var i
   for i=0 to 9
      if Item[i]<>'' then
         uo.Findtype(Item[i],-1,'ground')
         if uo.GetQuantity('finditem') then
            uo.grab('all','finditem')
            CheckLag()
            wait(700)
         endif
      endif
end sub


Попробуй так


Top
   
 
 Post subject:
PostPosted: 2005-02-23 04:24:33 
Offline

Joined: 2004-06-30 22:21:58
Posts: 28
все уже перепробывал
закономерность такая поставил граунд в кавычки подбирает стрелы и только поставил -1 в кавычки бодбирает только золото и все в чем прикол понять не могу


Top
   
 
PostPosted: 2005-02-23 09:13:38 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Stranger[BV] wrote:
Code:
sub arrowgrab()
               Dim Item[10]
   Item[0]='0x0E79' ;Arrows
   Item[1]='0x0EED' ;Gold
   Item[2]='0x0F7B' ;bm
   Item[3]='0x0F7A' ; BP
   Item[4]='0x0F90' ;deadwood
   Item[5]='0x0F7E' ;bones
   Item[6]='0x0F87' ;Eyes of newt
   Item[7]='0x1BDD' ;Logs
   Item[8]='0x1BFB' ;?bolts
   Item[9]='0x0F8E' ; ??????? ???????
Var i
   for i=0 to 9
      uo.Findtype(Item[i],'0x0000','ground')
      if uo.FindCount()>0 then
         uo.MoveItem('finditem','-1','backpack')
         CheckLag()
         wait(700)
      end if
   next
end sub
пробуй ;)


Top
   
 
 Post subject:
PostPosted: 2005-02-23 17:24:50 
Offline
User avatar

Joined: 2004-11-07 01:22:35
Posts: 291
Location: Черкассы
гыы сто пудов и как я незаметил.... :mrgreen:
ведь самая распространённая ошибка ламера во всех языках :wink:


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 3 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