Yoko

All sides of Injection
It is currently 2017-11-18 17:47:05

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Forensic
PostPosted: 2017-03-22 13:41:46 
Offline

Joined: 2015-11-26 10:16:44
Posts: 47
Помогите разобраца с этим скриптом а то что то не могу зделать
суть скрипта что бы он пять раза то ко использовал скил форенсик
Code:
sub fore() 
   var telo = '0x2006' #???? ?????
   uo.warmode(0)
   uo.findtype(telo,-1,"ground")
     if uo.findcount()<5 then
      uo.waittargetobject("finditem")
      uo.UseSkill("Forensic Evaluation")
      wait(3000)
      uo.findtype(telo,-1,"ground")
      end if   
end sub


Top
   
 Post subject: Re: Forensic
PostPosted: 2017-03-22 21:40:04 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2754
Location: Иваново
Вэлкам сюда пожалуйста. :)

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"


Top
   
 Post subject: Re: Forensic
PostPosted: 2017-03-22 22:19:53 
Offline

Joined: 2015-11-26 10:16:44
Posts: 47
Code:
sub fore() 
   ; var telo = '0x2006' #???? ?????
   var i
   Dim fore[2]
   fore[0] = '0x0000'
   fore[1] = '0x2006'
   For i = 0 To 1
      uo.warmode(0)
      uo.findtype(fore[i],-1,"ground")
      while uo.findcount() > 5
         uo.waittargetobject("finditem")
         uo.UseSkill("Forensic Evaluation")
         wait(3000)
         uo.findtype(fore[i],-1,"ground")
      wend
   next   
end sub


попробывал я зделать через фор и нехт и без изминения
легче зделать так
fore()
fore()
fore()
fore()
fore()


Top
   
 Post subject: Re: Forensic
PostPosted: 2017-03-23 22:02:42 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2754
Location: Иваново
ты либо не понял идею либо не правильно сформулировал задау.
Code:
sub fore() 
   var i
   var telo = '0x2006'
   uo.warmode(0)
   uo.findtype(telo,-1,"ground")
   if uo.findcount() then
      for i = 1 to 5 от
         uo.waittargetobject("finditem")
         uo.UseSkill("Forensic Evaluation")
         wait(3000)
      next
   end if   
end sub

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"


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

All times are UTC+02:00


Who is online

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