Yoko

All sides of Injection
It is currently 2025-12-21 12:49:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-05-26 18:38:54 
Offline

Joined: 2006-04-14 10:51:44
Posts: 121
Code:
sub VasAnOrt() 
   VAR ManaNeed=40
   VAR ManaNeedScroll=20
      UO.FindType('0x1f62',-1,'my')
      If UO.FindCount()>0 Then
         If UO.Mana>=ManaNeedScroll Then
            UO.WaitTargetSelf()
            UO.UseObject('finditem')
            UO.Print("Scroll!!!")
         Else
            UO.Print("Low mana scroll!!!")
         Endif
      Else
         If UO.Mana>=ManaNeed Then
            UO.Cast('Mass Dispel','self')
            UO.Print("Spell!!!")
         Else
            UO.Print("Low mana spell!!!")
         Endif
      Endif
      condomnick()
end sub


Code:
Sub condomnick() 
  var z
  var item='0x0FA7'
    uo.UseType(item)
    for z = 0 to 4
      uo.UseType(item)
      wait(10)
    next
end sub


Top
   
 Post subject:
PostPosted: 2006-05-26 18:39:29 
Offline

Joined: 2006-04-14 10:51:44
Posts: 121
он юзает итем 5 раз,но не кастует!ХЭЛП!


Top
   
PostPosted: 2006-05-26 23:01:07 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
ДРВ wrote:
он юзает итем 5 раз,но не кастует!ХЭЛП!

Code:
Sub condomnick() 
  var z
  var item='0x0FA7'
    uo.UseType(item)
    for z = 0 to 4
      uo.UseType(item)
      wait(10)
    next
end sub


Не пять раз, а шесть. Именно как написано в скрипте. А никаких кастов здесь нет. О чем ты говоришь?

_________________
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...


Top
   
PostPosted: 2006-05-27 05:31:47 
Offline

Joined: 2006-04-14 10:51:44
Posts: 121
Edred wrote:
ДРВ wrote:
он юзает итем 5 раз,но не кастует!ХЭЛП!

Code:
Sub condomnick() 
  var z
  var item='0x0FA7'
    uo.UseType(item)
    for z = 0 to 4
      uo.UseType(item)
      wait(10)
    next
end sub


Не пять раз, а шесть. Именно как написано в скрипте. А никаких кастов здесь нет. О чем ты говоришь?
последний скрипт нужно воткнуть в первый!


Top
   
 Post subject:
PostPosted: 2006-05-27 07:36:26 
Offline
User avatar

Joined: 2006-05-26 11:44:07
Posts: 39
Location: Москва
Code:
sub VasAnOrt() 
VAR ManaNeed=40
VAR ManaNeedScroll=20 
var z
var item='0x0FA7'
      UO.FindType('0x1f62',-1,'my')
      If UO.FindCount()>0 Then
         If UO.Mana>=ManaNeedScroll Then
            UO.WaitTargetSelf()
            UO.UseObject('finditem')
            UO.Print("Scroll!!!")
         Else
            UO.Print("Low mana scroll!!!")
         Endif
      Else
         If UO.Mana>=ManaNeed Then
            UO.Cast('Mass Dispel','self')
            UO.Print("Spell!!!")
         Else
            UO.Print("Low mana spell!!!")
         Endif
      Endif
    uo.UseType(item)
    for z = 0 to 4
      uo.UseType(item)
      wait(10)
    next
end sub


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 1 guest


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