Yoko

All sides of Injection
It is currently 2026-01-16 21:28:27

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2010-02-14 20:49:05 
Offline

Joined: 2010-02-14 20:44:44
Posts: 1
Помогите, пожалуйста, сломал голову, не получается.
Стою у Target Dummy, вручную бью его, командой ,info получаю с него всю инфу. И никак не работает.
Пробовал:

Code:
while not uo.dead()
   uo.findtype('0x1070','0x0000','ground')
   uo.usetype('finditem')
   uo.usetype('0x7402CB26')
   uo.usetype('lastobect')
   uo.usetype('lastattack')
   uo.attack( "lastattack" )
   uo.attack( "lastobject" )
   uo.attack('finditem')
   uo.attack('0x7402CA9A')
   wait (5000)
wend


ничего не помогает. Как её "ударить" или "заюзать"?
В УО это работает как LastObject - если забиндить на клавишу и жать её - будет бить его.
Как в инжекте это сделать - не понимаю, все вышеприведенное не работает, а клавиши "посылать" инжект в клиент - не может (насколько я понял).
Использовать другие проги, пожалуйста, не предлагать, у меня с этим связаны определенные ограничения, нужно сделать только средствами инжекта.
Поиск не помог - нигде не нашел решения.


Top
   
PostPosted: 2010-02-14 23:28:09 
Offline

Joined: 2008-04-02 08:24:35
Posts: 41
while not uo.dead()
uo.findtype('0x1070','0x0000','ground')
UO.UseObject('finditem')
wait (5000)
wend


Top
   
PostPosted: 2010-02-14 23:31:28 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
тип СТОЯЧЕЙ куклы укажи. Качается до скилла 30.0
Code:
sub Dool()
VAR item ="0x1070"
UO.Set('finddistance','1')
uo.DeleteJournal()
repeat
   UO.FindType(item,-1,'ground')
   If UO.FindCount() > 0 Then
      UO.UseObject( 'finditem' )
      Wait( 500 )
   endif
   Wait( 200 )
until UO.Dead() or uo.injournal("30.0")
endsub

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


Top
   
PostPosted: 2010-02-14 23:32:06 
Offline
Expert!
User avatar

Joined: 2005-04-23 10:19:43
Posts: 388
Мой вариант самый лучший :)
Указываешь прицелом куклу и он её бьет.

Code:
sub attackDummy()
   var dummy = addObject('dummy')
   
   while (true) #повторять безконечно
      UO.UseObject(dummy)
      Wait(500) #Поставь здесь нужную тебе задержку
   wend
endsub

## Очень полезная функция для добавления предмета в память инжекта
Sub addObject(name)
   repeat
      if uo.waiting() then
         uo.canceltarget()
      endif
      UO.AddObject(name)
      while (NOT uo.Targeting())
         wait(50)
      wend
      while (uo.Targeting())
         wait(50)
      wend
   until UO.GetSerial(name) > 0
   
   return UO.GetSerial(name)
endsub


Top
   
PostPosted: 2010-02-15 01:05:10 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
не самый лучший ;)
у куклы 2 типа - висящая и качающаяся. Ваши (1 и 3) учитывают только ID куклы Мой бьет только спокойную - работает быстрее.

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


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited