Yoko

All sides of Injection
It is currently 2025-11-02 21:42:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2005-08-13 14:13:34 
Offline

Joined: 2004-10-02 14:37:13
Posts: 22
Code:
sub segalallo()
   uo.ignorereset()
   uo.set('finddistance','8')
   var cavalcature=12
   dim cavallist[13]
   cavallist[0]="0x007a"#unicorno
   cavallist[1]="0x00e2"#cavallobianco
   cavallist[2]="0x00CC"#cavallomarrone
   cavallist[3]="0x0317"#blatta
   cavallist[4]="0x031a"#swamp
   cavallist[5]="0x031f"#swamp bardato
   cavallist[6]="0x00e4"#cavallotan
   cavallist[7]="0x00b3"#nightnero
   cavallist[8]="0x00c8"#cavallobeige
   cavallist[9]="0x0074"#cavallobeige
   cavallist[10]="0x0078"#cavallominax
   cavallist[11]="0x0076"#cavallotb
   cavallist[12]="0x0079"#cavallosl
   
   for var i = 0 to cavalcature
   
   uo.findtype(cavallist[i],"-1","ground")
   
   if uo.findcount()>0 then
      if uo.getnotoriety("finditem")==5 then
         uo.attack("finditem")
         return
      endif
      uo.ignore("finditem")
   endif
   next
endsub



this is my macro..
it does not work NEARLY never

why? track world item is on :|
other way in order to make this macro?


Top
   
 Post subject:
PostPosted: 2005-08-13 14:33:52 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Try this:
Code:
sub segalallo() 
   var i
   uo.ignorereset()
   uo.set('finddistance','8')
   var cavalcature=12
   dim cavallist[13]
   cavallist[0]="0x007a"#unicorno
   cavallist[1]="0x00e2"#cavallobianco
   cavallist[2]="0x00CC"#cavallomarrone
   cavallist[3]="0x0317"#blatta
   cavallist[4]="0x031a"#swamp
   cavallist[5]="0x031f"#swamp bardato
   cavallist[6]="0x00e4"#cavallotan
   cavallist[7]="0x00b3"#nightnero
   cavallist[8]="0x00c8"#cavallobeige
   cavallist[9]="0x0074"#cavallobeige
   cavallist[10]="0x0078"#cavallominax
   cavallist[11]="0x0076"#cavallotb
   cavallist[12]="0x0079"#cavallosl
   
   for i = 0 to cavalcature
   
   uo.findtype(cavallist[i],"-1","ground")
   
   if uo.findcount()>0 then
      if uo.getnotoriety("finditem")==5 then
         uo.attack("finditem")
         return
      endif
      uo.ignore("finditem")
   endif
   next
endsub


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 12 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