It is currently 28 Mar 2024, 11:56

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Автохил
PostPosted: 12 Jan 2018, 13:07 
Offline
Игрок

Joined: 11 Jan 2018, 16:04
Posts: 70
Выложите скрипт на инжект автохила плизз


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 12 Jan 2018, 17:19 
Offline
Игрок

Joined: 06 Jan 2017, 16:39
Posts: 127
Code:
sub healing()
   while 1
      if uo.gethp() < uo.getmaxhp() then
         uo.msg('.bandageself')
         wait(1000)
      else
         wait(200)
      endif
   wend
endsub

_________________
Scripts writer Yoko Injection


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 12 Jan 2018, 19:36 
Offline
Игрок

Joined: 11 Jan 2018, 16:04
Posts: 70
Работает если задержку выставить
Но может кто поможет вот этот доработать ?

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


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 13 Jan 2018, 03:20 
Offline
Эксперт
User avatar

Joined: 22 Jun 2013, 13:27
Posts: 1272
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


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 13 Jan 2018, 15:50 
Offline
Игрок

Joined: 11 Jan 2018, 16:04
Posts: 70
Большое спасибо


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 13 Jan 2018, 16:30 
Offline
Игрок

Joined: 11 Jan 2018, 16:04
Posts: 70
А можно сделать так чтобы начинал хилится не сразу а хотябы когда урон будет больше 20 а то когда под пойзоном бинты мгновенно кончаются ?


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 13 Jan 2018, 20:50 
Offline
Игрок

Joined: 29 Jun 2015, 15:39
Posts: 122
оставлять чара на афк фарм запрещено...


Top
 Profile  
 
 Post subject: Re: Автохил
PostPosted: 13 Jan 2018, 21:04 
Offline
English Support
User avatar

Joined: 21 Nov 2010, 18:42
Posts: 1460
Location: Deutschland
mupuk wrote:
оставлять чара на афк фарм запрещено...


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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 2 hours [ DST ]


Who is online

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