Auto kill Help!

Ask for help

Moderators: Murderator+, Murderator

Post Reply
angel6929
Posts: 15
Joined: 2014-07-08 10:48:50

Auto kill Help!

Post by angel6929 »

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: Select all

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
Mirage
Posts: 2802
Joined: 2009-05-28 09:58:28
Location: Иваново
Contact:

Re: Auto kill Help!

Post by Mirage »

Code: Select all

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
Post Reply