Yoko
http://forum.yoko.com.ua/

Auto kill Help!
http://forum.yoko.com.ua/viewtopic.php?f=3&t=17555
Page 1 of 1

Author:  angel6929 [ 2015-02-28 06:13:53 ]
Post subject:  Auto kill Help!

Cycle in one place and kill strange to pick something up, pick up things script omitted;

At present, so write inj always collapse, don't know why;

We help have a look how to optimize your script;

Logical judgment fault automatically appear and kill - stealth - pick loops

Code:
sub AutoKill()
   start:
   uo.set('finddistance','8')
   repeat   
      uo.findtype('0x003B','-1','ground')
      if uo.findcount()>0  then
         uo.attack('finditem')
         wait(2000)
      endif
   until UO.FindCount('finditem') < 1
   tohide()
   wait(1000)
   auto_loot()
   wait(60000)
   goto start
endsub

Author:  Mirage [ 2015-02-28 07:23:49 ]
Post subject:  Re: Auto kill Help!

Code:
sub AutoKill()
   uo.set('finddistance','8')
   repeat   
      uo.findtype('0x003B','-1','ground')
      if uo.findcount()>0  then
         uo.attack('finditem')
         repeat
            wait(100)
         until uo.dead() or uo.GetX('finditem')==0
      else
         tohide()
         wait(1000)
         auto_loot()
         wait(1000)
      endif
      wait(1000)
   until uo.dead()
endsub

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/