Yoko

All sides of Injection
It is currently 2025-10-15 09:26:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-05-28 13:04:43 
Offline

Joined: 2004-04-16 09:18:08
Posts: 25
Есть такой скрипт
Code:
                UO.WaitTargetObject('orn') ; mustang
                UO.UseType('0x0E81') ; crock
                wait(1000)
                UO.LClick(504,186)
                wait(3000)


Возможно ли заменить UO.LClick(504,186) на что нить другое, без клика как такого? а то такой вариант не всегда срабатывает, если во время скрипта работать.


Top
   
 Post subject:
PostPosted: 2004-05-29 14:25:33 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
Code:
sub herding()
while uo.skillval("Herding",1) < 1000
  UO.WaitTargetObject('orn',"self")
  UO.UseType('0x0E81')
  wait(4000)
wend

Это сработает, если позволяется тыкнуть на себя, указывая цель, куда идти животному (типа - подойти к этому объекту). Если же кликать надо ТОЛЬКО на замлю, то придется 1) Использовать WaitTargetTile() сразу после UseType - что может не сработать при быстром коннэкте, 2) Номер тайла для WaitTargetTile придется указать "0", т.к. заранее он неизвестен. Если не заработает - пиши пропало.

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-05-29 16:28:33 
Offline

Joined: 2004-04-16 09:18:08
Posts: 25
Спасибо, такой вариант сработал


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