Yoko

All sides of Injection
It is currently 2025-11-23 15:23:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2008-01-07 01:08:12 
Offline

Joined: 2008-01-07 01:04:03
Posts: 6
нужен вот такой вот макрос.... флуд стрелки и файрбола... такое возможно ? :oops:


Top
   
 Post subject:
PostPosted: 2008-01-07 04:52:03 
Offline

Joined: 2007-04-26 23:35:15
Posts: 220
Code:
sub arrow()
  UO.Cast('Magic Arrow','laststatus')
  uo.msg(' - ')
  uo.msg(' - ')
  uo.msg(' - ')
  uo.msg(' - ')
end sub


Такой ? :)


Top
   
 Post subject:
PostPosted: 2008-01-07 16:31:07 
Offline

Joined: 2008-01-07 01:04:03
Posts: 6
может я как не так выразился... :)
нужно:
нажимаю кнопку - кастую стрелку и фарбол (одно за другим)
зажимаю кнопку - кастую стрелка-файрбол-стрелка-фарбол...до тех пор пока кнопку не отпущу )))

все это в последнюю цель...)


Top
   
 Post subject:
PostPosted: 2008-01-07 22:48:13 
Offline

Joined: 2008-01-07 01:04:03
Posts: 6
хееелппп :oops:


Top
   
 Post subject:
PostPosted: 2008-01-08 16:55:39 
Offline

Joined: 2007-09-28 13:04:46
Posts: 65
sub Fire_Arrow()
uo.Cast('Fireball','laststatus')
wait(900)
uo.cast('Magic Arrow','laststatus')
end sub


ммм вот нажал кнопку летит фаербол+стерлка! Токо если зажать кнопку то не чего хорошего не выдит, самому нужен такой скрипт=)
wait - ставишь сам (под своего чара)


Top
   
 Post subject:
PostPosted: 2008-01-08 16:59:19 
Offline

Joined: 2008-01-07 01:04:03
Posts: 6
вот ...2 скрипта по отдельности..

Sub Arrow()
uo.cast('Magic Arrow','last')
if uo.injournal('cliloc# 0xA3A1') then
uo.cast('Magic Arrow','lastattack')
uo.deletejournal()
endif
endsub

sub fireball()
if not uo.waiting() then
UO.exec("cast 'Fireball' lasttarget")
end if
if (UO.InJournal('cliloc# 0xA3A1') or UO.InJournal('cliloc# 0xAB74')) then
UO.exec("cast 'Fireball' ")
UO.DeleteJournal()
end if
end sub


надо их как-то объеденить в один...у мну ничегошеньки не получается ..... :roll:


Top
   
 Post subject:
PostPosted: 2008-01-09 09:17:24 
Offline

Joined: 2007-04-26 23:35:15
Posts: 220
Code:
sub mafb() ; magic arrow, fireball
  If uo.getglobal('mafb')=='On' then
    uo.setglobal('mafb',0)
    uo.print(' Stop! ')
    uo.exec('Terminate mafb')
  else
    uo.setglobal('mafb','On')
    uo.print(' Strart! ')
  endif
  repeat
    UO.Cast('Magic Arrow','laststatus')
    wait(2000) ; задержку под себя выстави
    UO.Cast('Fireball','laststatus')
    wait(2000) ; задержку под себя выстави
  until false
end sub


Нажал 1 раз - кидает стрелку и фаербол
Нажал еще раз - скрипт остановится
Не тестил, пробуй.


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

All times are UTC+02:00


Who is online

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