Yoko

All sides of Injection
It is currently 2025-10-13 05:29:00

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2009-12-18 12:57:39 
Offline

Joined: 2009-10-07 20:19:34
Posts: 12
Quote:
sub Healing()
While not UO.Dead()
if uo.warmode() == 1 then
uo.warmode( 0 )
wait(100)
endif
If UO.Life < 100 Then
uo.warmode( 0 )
uo.exec("bandageself")
UO.DeleteJournal()
While not (UO.InJournal('You put') or UO.InJournal('You failed'))
Wait(100)
Wend
Endif
Wait(100)
Wend
End Sub


1) после N-количества хеалинга, скрипт прекращает работать. Скрипт запушен, но не хилится
2) Этот скрипт когда в руках лук, без стрел, т.е я не атакую живность, но как сделать, чтобы я мог одеть шилд, но НЕ бить живность


ошибся темой, удалите! :idea:


Top
   
 Post subject:
PostPosted: 2009-12-18 14:43:34 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
1- слетает проверка в журнале - надо вставить временный счетчик
2-теоретически никак практически атаковать животное которое находится вне досягаемости

я качал паринг на 10 курах - 9 стояли кругом и лупили чара, 10 была в загоне и чар атаковал ее и не бил окружающих кур.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-12-18 17:03:25 
Offline

Joined: 2009-10-07 20:19:34
Posts: 12
как сделать 1?


Top
   
 Post subject:
PostPosted: 2009-12-18 17:21:56 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Code:
sub Healing()
var k
While not UO.Dead()
   If UO.Life < uo.str Then
      if uo.warmode() == 1 then
         uo.warmode( 0 )
         wait(100)
      endif
      UO.DeleteJournal()
      uo.bandageself()
      k=0
      repeat
         Wait(100)
         k=k+1
      until UO.InJournal('You put|You failed|but they barely') or k>300
   Endif
   Wait(100)
Wend
End Sub

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-12-18 17:42:20 
Offline

Joined: 2009-10-07 20:19:34
Posts: 12
если беру лук, то меня крыса бьёт, а он не лечится, мол warmode


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