Yoko

All sides of Injection
It is currently 2025-12-19 21:56:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Автоатака.
PostPosted: 2005-05-25 13:07:54 
Offline
User avatar

Joined: 2005-02-27 19:47:55
Posts: 56
Реально ли сделать так, чтобы наводилась атака на того, кто меня атакует автоматически? Если реально, то помогите плз реализовать.


Top
   
 Post subject: Re: Автоатака.
PostPosted: 2005-05-25 13:36:54 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
RiFeX aka Maybek wrote:
Реально ли сделать так, чтобы наводилась атака на того, кто меня атакует автоматически? Если реально, то помогите плз реализовать.
отлавливаешь в в журнале сообщение об атаке... вытягиваешь сериал атакуещего и UO.Atack() на него.


Top
   
 Post subject:
PostPosted: 2005-05-25 18:26:31 
Offline
User avatar

Joined: 2005-02-27 19:47:55
Posts: 56
Code:
sub Attack() 
 var myaso = 0x00000000
   repeat
   if UO.InJournal("is attacking you") then
   myaso = UO.JournalSerial(UO.InJournal("is attacking you")-1)
   uo.Atack('myaso')
   UO.DeleteJournal()
  endif
 Wait(1000)
 until false
end sub

Сфаг, так?


Top
   
 Post subject:
PostPosted: 2005-05-25 21:55:43 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
RiFeX aka Maybek wrote:
Code:
sub Attack() 
 var myaso = 0x00000000
   repeat
   if UO.InJournal("is attacking you") then
   myaso = UO.JournalSerial(UO.InJournal("is attacking you")-1)
   uo.Atack(myaso)
   UO.DeleteJournal()
  endif
 Wait(1000)
 until false
end sub

Сфаг, так?
так, наверное... ;)
пробуй :P


Top
   
 Post subject:
PostPosted: 2005-05-26 10:16:58 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Лол, ИМХО ведь правда смешно :)
uo.attack()

Так же у меня был недавно топик в разделе scripts с точно таким же названием - прочти, что там написано, тебе пригодится навярняка.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2005-05-26 15:12:51 
Offline
User avatar

Joined: 2005-02-27 19:47:55
Posts: 56
Destruction wrote:
Лол, ИМХО ведь правда смешно :)
uo.attack()

Так же у меня был недавно топик в разделе scripts с точно таким же названием - прочти, что там написано, тебе пригодится навярняка.
Опечатался.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 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