Yoko

All sides of Injection
It is currently 2025-12-04 00:45:46

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2009-09-28 13:22:56 
Offline

Joined: 2009-09-18 12:18:13
Posts: 10
На что и как можно заменить
Code:
uo.attack('laststatus')


допустим в скрипте
Code:
sub Hide()
   UO.WarMode(0)
   UO.UseSkill('Stealth')
wait(2350)
   uo.attack('laststatus')
Endsub


чтобы не ориентироваться на последний таргет а ориентироваться по другому параметру!


Например брать ID человека на котором стоит таргет! без поиска!


Top
   
 Post subject:
PostPosted: 2009-09-28 16:12:51 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Code:
sub Ataka()
var i
uo.ignore('0x0084CF3F') ; игнорит себя на всякий случай
DIM H[2]
H[1]='0x0190'
H[2]='0x0191'
UO.set('finddistance','2')
for i=1 to 2
  UO.FindType(H[i],-1,'ground')
  If UO.FindCount() > 0 Then
uo.attack('finditem')
  Wait( 3000 )
else
     Wait( 300 )
     Endif
next
end sub


Оп не заметил что "без поиска!" :) Ну просто напиши
Code:
sub Ataka()
UO.set('finddistance','3')
uo.attack('ID человека')
end sub

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


Top
   
 Post subject:
PostPosted: 2009-09-28 22:16:34 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
http://yoko.com.ua/help/help.php?lang=r ... tem=object

Code:
var target=uo.getserial('object')

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited