Yoko

All sides of Injection
It is currently 2025-11-11 12:13:18

All times are UTC+02:00




Post new topic  Reply to topic  [ 24 posts ]  Go to page 1 2 Next
Author Message
PostPosted: 2006-02-11 12:49:07 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Пожалуйста... Нужен скрипт на вызывание друг другу блейдов
Например: я стою на 1 этаже, а мой напарник на 2...
И мы должны катовать друг другу блейдов, т.е. я ему на 2 этаж, а он мне на 1...
Потом отхеливаться, говорить какое нибудь сообщение,и вызывать блейдов заного....
Заранее благодарен


Top
   
 Post subject:
PostPosted: 2006-02-12 00:13:24 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Никто не поможет :(?


Top
   
 Post subject:
PostPosted: 2006-02-12 11:53:55 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
вот скрипт вызывает спирита на другого чара и ждет пока этот чар завалит спирита и пока он не скажет GO потом опять кастует

Code:
sub summ()
var char='00000000';ID чара на которого вызываем
var spirit='0000'; тип блейд спирита
uo.set('finddistance','7')
while not uo.dead()
 uo.cast('Blade Spirit',char)
 uo.findtype(spirit,'-1','ground')
 while uo.findcount()==0
  wait(500)
  uo.findtype(spirit,'-1','ground')
 wend
 uo.findtype(spirit,'-1','ground')
 while uo.findcount()>0
  wait(500)
  uo.findtype(spirit,'-1','ground')
 wend
 while not uo.injournal("GO")
  wait(500)
 wend
 if uo.mana<20 then
  while uo.mana<>uo.int
    uo.useskill('Meditation')
    wait(5000)
  wend
 endif
wend
endsub


Last edited by GimFlex on 2006-02-13 18:26:05, edited 2 times in total.

Top
   
 Post subject:
PostPosted: 2006-02-12 11:57:13 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Огромное спасибо


Top
   
 Post subject:
PostPosted: 2006-02-12 12:36:32 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Что то не пашет :(


Top
   
 Post subject:
PostPosted: 2006-02-12 14:18:50 
Offline

Joined: 2005-09-11 00:53:44
Posts: 79
ti opi6i na kakom meste poritsa,ili pi6et 4to.
var char='00000000';ID чара на которого вызываем
var spirit='0000'; тип блейд спирита
mozhet ti eti stro4ki nepro4etal ili u vas nelza kastovatj na 4ara


Top
   
 Post subject:
PostPosted: 2006-02-12 14:44:12 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Я все прописал
Пишет инвалид сериал номер
И ниого не вызывает


Top
   
 Post subject:
PostPosted: 2006-02-12 14:55:47 
Offline

Joined: 2005-09-11 00:53:44
Posts: 79
zna4et probuj vizivatj na pol


Top
   
 Post subject:
PostPosted: 2006-02-12 16:26:11 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
нееет...
На чара то кастует вообще, а вот скрипт нет :(


Top
   
 Post subject:
PostPosted: 2006-02-12 23:27:43 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
исправил


Top
   
 Post subject:
PostPosted: 2006-02-13 00:56:26 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Теперь он кастует блейда, но потом он пытаеться вызвать его очень много раз, а надо, чтобы он начинал мидитировать и хиляться,как вызовет


Top
   
 Post subject:
PostPosted: 2006-02-13 08:57:09 
Offline

Joined: 2005-06-26 12:29:37
Posts: 65
Забыли журнал стереть :)


Top
   
 Post subject:
PostPosted: 2006-02-13 12:16:17 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
А где именно?


Top
   
 Post subject:
PostPosted: 2006-02-13 13:13:33 
Offline
User avatar

Joined: 2005-02-25 13:31:26
Posts: 62
Location: DRW, [Hussars]
Перед кастом блэйд спирита нужно воткнуть функцию очистки журнала UO.Deletejournal().


Top
   
 Post subject:
PostPosted: 2006-11-11 07:06:13 
Offline

Joined: 2004-11-22 10:43:29
Posts: 22
Народ подскажите пожалуйста как сделать в этом скрипте ещё и проверку на физл, а то он кастует, если физл то стоит потом пока скрипт не перезапустишь.
Заранее благодарен.


Top
   
 Post subject:
PostPosted: 2006-11-11 10:37:04 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
PARASITE wrote:
Народ подскажите пожалуйста как сделать в этом скрипте ещё и проверку на физл, а то он кастует, если физл то стоит потом пока скрипт не перезапустишь.
Заранее благодарен.


Руки кривые у автора просто.


Top
   
 Post subject:
PostPosted: 2006-11-11 11:22:58 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub BladeSP()
var spell='name of a spell'
var summon='type of a summon'
var friend='serial of a friend near whom will be cast a creature'
var i,k
uo.Set('finddistance','15')
  uo.Ignore('self')
  while not uo.Dead()
    uo.FindType(summon,'-1','ground')
    if uo.FindCount() then
      k = 0
      while uo.FindCount()
        wait(1000)
        uo.FindType(summon,'-1','ground')
      wend
    else
      medit:
      uo.DeleteJournal()
      if uo.mana < uo.int then
        while uo.mana < uo.int
          uo.UseSkill('Meditation')
          wait(1000)
          CheckLag()
          if uo.InJournal('attemp') then
            repeat
              wait(100)
              if uo.InJournal('lose') then
                goto medit
              end if   
            until uo.mana == uo.int 
          else
            CheckLag()
            goto medit
          end if
        wend
      end if 
      uo.DeleteJournal()
      k = 0
      uo.Cast(spell,friend)
      repeat
        wait(100)
        k = k + 1
      until uo.InJournal('fizzle') or (k>50)
    end if
  wend
end sub

sub CheckLag()
  uo.DeleteJournal('backpack')
  uo.Click('backpack')
  repeat
    wait(100)
  until uo.InJournal('backpack')
end sub


Top
   
 Post subject:
PostPosted: 2006-11-11 13:12:53 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Просьба отписаться когда протестируете.
Скрипт актуальный-если работать будет, то закину в тему.


Top
   
 Post subject:
PostPosted: 2006-11-11 14:23:18 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Спасибо огромное...
Хотя я его просил очень давно, но сейчас он тоже пригодится ...
Очень благодарен!!!


Top
   
 Post subject:
PostPosted: 2006-11-11 14:24:40 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
You Must Die wrote:
Просьба отписаться когда протестируете.
Скрипт актуальный-если работать будет, то закину в тему.


ого что это на вас вдруг нашло? :roll:


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

All times are UTC+02:00


Who is online

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