Yoko

All sides of Injection
It is currently 2025-12-07 18:55:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-04-01 21:18:04 
Offline

Joined: 2006-02-03 19:32:33
Posts: 156
Code:
sub heal()    
VAR X=0
repeat
   if uo.life < uo.str then   ;;; healing
   uo.unequip("Rhand")
   while uo.life < uo.str
      uo.exec("bandageself")
      uo.deletejournal()
      while not (X == 60 or uo.injournal("backpack") or uo.injournal ("reach that") or uo.injournal("current state") or uo.injournal("barely") or uo.injournal("mummy") or uo.injournal("target info"))
         wait(100)
         X=X+1
         if uo.injournal("reach that") or uo.injournal("current state") or uo.injournal("target info") then
            wait(1000)
         endif
         if uo.stamina < 65 then
            uo.usetype("0x0F0B") ;пьем рефрешку
         endif
      wend
   X=0
   wend
      uo.deletejournal()
       uo.usetype("0x143C") ;стучалка
       uo.usetype("0x1B73") ;щит
     
   endif
wait(100)
until uo.dead()
end sub   


блин опять та же проблема, что и в спаринге
после того как отхиливается берет в руки щит, а на оружие пишет:
the item should be equpped :x :x :x :x
в чем проблема??????


Top
   
 Post subject:
PostPosted: 2006-04-01 23:08:39 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Паузу какую-нибудь между одеванием щита и оружия вставь... Какую - смотри настройки твоего шарда.


Top
   
 Post subject:
PostPosted: 2007-02-19 10:06:26 
Offline
User avatar

Joined: 2006-11-02 11:57:11
Posts: 95
:roll: сначала щит потом оружие) и все будет нармалек....

Я ПОЛЬЗУЮСЬ ТАКИМ СКРИПТОМ:

Code:
sub healing() 
var i
Var яli1="cliloc# 0xA4E9"

while not uo.dead()
 
  if uo.gethp()<uo.getmaxhp() then
    uo.deletejournal()
    uo.msg(".bandageself")
    for i=1 to 50
        wait(100)
        if uo.injournal(яli1) or uo.injournal("cliloc# 0xA4E7") or uo.injournal("cliloc# 0x2D47") or uo.injournal("cliloc# 0x2D70") then
             i=50
        end if
    next
  end if
  wait(100)
wend
end sub



впринцыпе скрипт отличный! Помогите мне в нем разобраться...
1 он меня хиляет в независимости от стамины... тоесть пусть её збили хоть на 20! всеравно следующий бинтик налаживаеться после срабатывания предыдущего...


Когда я убераю wend в конце, и выставляю скрипт на кнопку, то при её нажатии бинты летят как сумашедшие... где эта задержка? естественно меня отхиливает хуже...

помогите мне зделать так что при нажатии и удерживании клавиши, небыло налаживания бинта друг на друга...


Top
   
 Post subject:
PostPosted: 2007-02-20 09:32:01 
Offline
User avatar

Joined: 2006-11-02 11:57:11
Posts: 95
трабла в том что при бинтовании каст збиваеться... а в пвп бинтоваться надо все время... касты уходят в топку...

может можно всунуть в скрипт как бы проверку? если каст то жду таргета?????????


Top
   
 Post subject:
PostPosted: 2007-02-21 16:58:44 
Offline
User avatar

Joined: 2006-11-02 11:57:11
Posts: 95
ЧТО НИКАКИХ ИДЕЙ НЕТ????

неужели это сложно........


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 8 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