UORPG.net Free UO Shard
http://forum.uorpg.net/

Автохил
http://forum.uorpg.net/viewtopic.php?f=28&t=17741
Page 1 of 2

Author:  Jestkach [ 12 Jan 2018, 13:07 ]
Post subject:  Автохил

Выложите скрипт на инжект автохила плизз

Author:  nmy [ 12 Jan 2018, 17:19 ]
Post subject:  Re: Автохил

Code:
sub healing()
   while 1
      if uo.gethp() < uo.getmaxhp() then
         uo.msg('.bandageself')
         wait(1000)
      else
         wait(200)
      endif
   wend
endsub

Author:  Jestkach [ 12 Jan 2018, 19:36 ]
Post subject:  Re: Автохил

Работает если задержку выставить
Но может кто поможет вот этот доработать ?

sub autoheal()
VAR Success = 'You put the bloody bandage'
VAR Fizzle = 'failed.'
VAR bandag = '0x0E21'
VAR k
repeat
If UO.GetHP() < UO.GetMaxHP() - 1 Then
If UO.Count( Bandag ) > 0 Then
uo.DeleteJournal( Success )
uo.DeleteJournal( Fizzle )
k = 0
UO.Bandageself()
repeat
wait(100)
k = k + 1
until UO.InJournal( Success ) or UO.InJournal( Fizzle ) or k > 100
Else
return
Endif
Else
wait(50)
Endif
until UO.Life == 0
endsub

Author:  Vel [ 13 Jan 2018, 03:20 ]
Post subject:  Re: Автохил

Code:
sub AutoHeal()
   var player  = uo.getserial('self')
   VAR Success = ': HP +'
   VAR Fizzle =  ': *Healing Failed*'
   VAR bandag =  '0x0E21'
   VAR healtimer
   start:
   while not uo.Dead()
      If UO.GetHP() < UO.GetMaxHP() - 1 Then
         If UO.Count( Bandag ) > 0 Then
            uo.DeleteJournal( Success )
            uo.DeleteJournal( Fizzle )
            uo.DeleteJournal('Healing,')
            uo.msg('.bandageself')
            healtimer = uo.timer()
            repeat
               wait(50)
               if healtimer + 30 <= uo.timer() and not UO.InJournal('Healing,') then
                  uo.print('Script restarted!')
                  goto start
               end if
            until uo.JournalSerial(UO.InJournal(Success)-1) == player or uo.JournalSerial(UO.InJournal(Fizzle)-1) == player or UO.GetHP()==UO.GetMaxHP()
         Else
            uo.print('Bandage not found!')
            wait(500)
         Endif
      Else
         wait(500)
      Endif
   wend
   wait(1500)
   uo.print('You are ghost!')
   while uo.Dead()
      wait(500)
   wend
   goto start
end sub

Author:  Jestkach [ 13 Jan 2018, 15:50 ]
Post subject:  Re: Автохил

Большое спасибо

Author:  Jestkach [ 13 Jan 2018, 16:30 ]
Post subject:  Re: Автохил

А можно сделать так чтобы начинал хилится не сразу а хотябы когда урон будет больше 20 а то когда под пойзоном бинты мгновенно кончаются ?

Author:  mupuk [ 13 Jan 2018, 20:50 ]
Post subject:  Re: Автохил

оставлять чара на афк фарм запрещено...

Author:  Vikky [ 13 Jan 2018, 21:04 ]
Post subject:  Re: Автохил

mupuk wrote:
оставлять чара на афк фарм запрещено...


это каким правилом запрещено ?

Page 1 of 2 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/