Yoko

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

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2008-01-16 18:34:22 
Offline

Joined: 2006-08-31 15:05:51
Posts: 44
Я не пойму,почему когда нападаюна игрока или на моба,хочу кастить например параль,то пишит,что Не видно таргета,акогда второй раз жмешь,то все норм каститься.Каст идет без скроллов!И так каждый спелл,покаэтот глюк проходит я уж падаю!)))))
Помогите плз!)

Code:
sub ParalyZe()
   UO.Set('lasttarget','lastattack')
   UO.FindType('0x1F52',-1,'my')
   If UO.GetQuantity('finditem')>0 then
      if UO.Mana>=14 then
         UO.WaitTargetObject('lasttarget')
         UO.UseObject('finditem')
         UO.Print(" scroll")
else
         UO.Print("Low mana!!!")
      endif
   else
      if UO.Mana>=0 then
         UO.Cast('Paralyze','lastattack')
         UO.Print("HeTy cKpoJIoB")
else
         UO.Print("Low mana!!!")
      endif
   endif
end sub


Top
   
 Post subject:
PostPosted: 2008-01-16 19:24:34 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
UO.Set('lasttarget','lastattack')

Ага.. щазз... кто разрешил?) В принципе, ноги растут именно отсюда.

_________________
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: 2008-01-17 14:33:25 
Offline

Joined: 2006-08-31 15:05:51
Posts: 44
Destruction wrote:
UO.Set('lasttarget','lastattack')

Ага.. щазз... кто разрешил?) В принципе, ноги растут именно отсюда.


Ооо) Спасибо большое!)))


Top
   
 Post subject:
PostPosted: 2008-01-17 23:19:27 
Offline
User avatar

Joined: 2005-04-05 04:13:24
Posts: 139
Location: DRW
UO.Set('lasttarget','laststatus') - а так можно:?:


Top
   
 Post subject:
PostPosted: 2008-01-18 09:28:48 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
stickman wrote:
UO.Set('lasttarget','laststatus') - а так можно:?:

А можно проснуться в понедельник, сказать, что сегодня воскресенье и неипёт и пойти соответственно пить?)

_________________
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: 2008-01-26 00:01:21 
Offline

Joined: 2006-08-31 15:05:51
Posts: 44
Теперь другая проблема,когда нажимаеш 1 раз на забенденную клавишу этого спелла,то он пишет,кастую со скроллов,в паке их нету.А второй раз жмешь начинает с регов кастить.Вообщем как сделать чтобы он не глючел так,кто знает?)))


Top
   
PostPosted: 2008-01-26 09:23:15 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Code:
sub ParalyZe()
   UO.FindType('0x1F52',-1,'backpack')
   If UO.GetQuantity('finditem')>0 then
      if UO.Mana >= 14 then
         UO.WaitTargetObject('lastattack')
         UO.UseObject('finditem')
         UO.Print(" scroll")
      else
         UO.Print("Low mana!!!")
      endif
   else
      if UO.Mana >= 0 then
         UO.WaitTargetObject('lastattack')
         UO.Cast('Paralyze')
         UO.Print("HeTy cKpoJIoB")
      else
         UO.Print("Low mana!!!")
      endif
   endif
end sub


Top
   
 Post subject:
PostPosted: 2008-01-26 12:21:58 
Offline

Joined: 2006-08-31 15:05:51
Posts: 44
Пасибо большое!)))


Top
   
 Post subject:
PostPosted: 2008-01-26 12:57:39 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
drozd wrote:
Пасибо большое!)))


Да не за что :roll: Кстати это мой 600ый пост ))) :lol:


Top
   
 Post subject:
PostPosted: 2008-01-26 19:38:08 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
У меня сосед п окомнате в общаге был со старого оскола :roll:


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

All times are UTC+02:00


Who is online

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