Yoko

All sides of Injection
It is currently 2025-10-26 12:19:51

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2007-10-10 13:47:53 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Кое какие процедурки. Смысл таков: пытаемся уйти в хайд, параллельно вешаем проверку здоровья.Если в хайд не ушли , но здоровья < 0.8СТР, пьём инвизку. Проблема: после принятия инвизки сразу выходит из хайда.Я так понимаю он пытаеться применить Хиддинг, но не понимаю почему.(У нас если ты уже в Хайде пытаешься применить Хидинг, то из Хайда вылетаешь)
Code:
Sub invis()
while NOT uo.hidden() AND uo.count('0x0F08')>0
  uo.print(' Inviska ...')
  uo.usetype('0x0F08','0x0060')
  wait(300)
wend 
end sub

Sub CheckHealth()
while NOT uo.dead()
  if uo.life < uo.str*0.8 then
    invis()
    return
  endif
  wait(300)
wend
end sub

############################################################################################################
#########################                        HIDING                          ###########################
############################################################################################################

sub hidd()
uo.deletejournal()
  uo.exec('exec CheckHealth')
  while not UO.Hidden()
          uo.warmode(0)
          uo.print(" Прячемся...")
          UO.UseSkill("Hiding")
          wait(4000)
         if uo.dead() then
          uo.exec('terminate all')
        endif 
 wend
 wait(100)
 uo.exec('terminate CheckHealth')
end sub


Top
   
 Post subject:
PostPosted: 2007-10-10 19:19:41 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Так и напиши так как ты хочешь.

Делай запуск выпивания инвизки только после того как уже 1 раз попробуеш уйти в хайд, а не сразу.


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

All times are UTC+02:00


Who is online

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