Yoko

All sides of Injection
It is currently 2025-12-24 00:54:52

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2007-02-21 21:13:13 
Offline
User avatar

Joined: 2005-07-17 15:30:52
Posts: 308
Location: www.drw.ru
Скрипты под инж пишу не первый день, первый раз такая фигня.

Code:
sub FighterLeft()
var a, b, c
uo.print('Кого будем бить?')
uo.exec('addobject AtackPlayer')
while uo.targeting()
  wait(100)
wend
uo.deletejournal()
wait(1000)
while not uo.dead()
  uo.warmode('1')
  uo.attack('AtackPlayer')
  repeat
    wait(100)
  until uo.life < 30 or uo.injournal('stop')
  uo.say('stop')
  uo.deletejournal()
  for a = 1 to 3
    uo.press(37)
    wait(300)
  next
  uo.findtype('0x0E20')
  if uo.findcount() > 0 then
    uo.waittargettype('0x1008')
    uo.useobject('finditem')
    wait(1000)
    checklag()
  else
    wait(50)     
  endif
  while uo.life <> uo.str
    if uo.count('0x0E21') == 0 then
      uo.print('Нет бинтов')
      return
    else
      wait(50)
    endif
    b = 0
    uo.deletejournal()
    uo.setarm('1')
    uo.bandageself()
    wait(500)
    uo.arm('1')
    uo.unsetarm()
    repeat
      wait(100)
      b = b + 1
    until b > 35 or uo.injournal("You don't need healing") or uo.injournal('You apply the') or uo.injournal('You put the bloody')
  wend
  for c = 1 to 3
    uo.press(39)
    wait(300)
  next
wend
end sub


Это скрипт на спаринг, чар почему-то игнорируя журнал бегает туда сюда и кричит stop, как-будто тот в журнале не удаляется или хп меньше 30, хотя оно полное, вобщем мож кто что подскажет умное?


Top
   
 Post subject:
PostPosted: 2007-02-21 21:52:03 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
скрипты на спарринг тут хватает :!:

Code:
while uo.life <> uo.str
:?: :?:

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


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