Yoko

All sides of Injection
It is currently 2025-11-05 09:43:51

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: runtime error
PostPosted: 2007-05-06 23:09:14 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
В этом скрипте стало в последнее время выдавать ошибку runtime error в строке
Code:
UO.FindType(Loot[i],'-1',"lastcontainer")


Code:
sub Loot() 
   VAR i
   DIM Loot[40]
Loot[1]='0x0EED' ; gp
Loot[2]='0x0F7B' ; BM
Loot[3]='0x0F7A' ; BP
Loot[4]='0x0F84' ; GA
Loot[5]='0x0F85' ; GI
Loot[6]='0x0F86' ; MR
Loot[7]='0x0F88' ; NS
Loot[8]='0x0F8C' ; SA
Loot[9]='0x0F8D' ; SS
Loot[10]='0x14FB' ;отмычки
Loot[11]='0x1B7A' ;щит
Loot[12]='0x13B3' ;дубина
Loot[13]='0x0F4F' ;арбалет
Loot[14]='0x1BFB' ;стрелы
Loot[15]='0x0EED' ;гп
Loot[16]='0x09AA' ;пандорки
Loot[17]='0x1869' ;энчат
Loot[18]='0x9999' ;ключ ---
Loot[19]='0x0F26' ;гранат и диамонд
Loot[20]='0x0F25' ;амбер
Loot[21]='0x0F13' ;рубин
Loot[22]='0x0F11' ;сапфир
Loot[23]='0x0F15' ;цытрин
Loot[24]='0x0F10' ;эмеральд
Loot[25]='0x0F16' ;аметист
Loot[26]='0x0F18' ;турмалин
Loot[27]='0x14EF' ;дид
Loot[28]='0x108A' ;ринг
Loot[30]='0x14EF' ;серьги
Loot[31]='0x1F31' ;хил скрол
Loot[32]='0x1F2D' ;арм скрол
Loot[33]='0x1F3B' ;протект скрол
Loot[34]='0x1F3C' ;стр скрол
Loot[35]='0x9999' ;
Loot[36]='0x9999' ;
Loot[37]='0x9999' ;
Loot[38]='0x9999' ;
Loot[39]='0x9999' ;
Loot[40]='0x9999' ;
UO.filterspeech('add',"[Surprize ! Fast loot detected!]")
    UO.filterspeech('on')
For i=1 to 39
      UO.FindType(Loot[i],'-1',"lastcontainer") 
      while uo.findcount()
          UO.Grab('0','finditem')
          wait(100)
          UO.FindType(Loot[i],'-1',"lastcontainer")   
       wend         
   next
   UO.filterspeech('off')
end sub

_________________
Шард Антарес
Ururu


Top
   
 Post subject:
PostPosted: 2007-05-06 23:14:27 
Offline

Joined: 2007-04-26 23:35:15
Posts: 220
Code:
  UO.FindType(Loot[i],'-1',"lastcontainer")  
      while uo.findcount() > 0
          UO.Grab('0','finditem')
          wait(100)
 wend         

попробуй так


Top
   
 Post subject:
PostPosted: 2007-05-06 23:18:43 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
Code:
uo.findcount()

и
Code:
uo.findcount()>0

одно и тоже


Все спасибо. Нашел. 29 элемент пропустил

_________________
Шард Антарес

Ururu


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