Yoko

All sides of Injection
It is currently 2026-01-18 16:37:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-04-11 20:24:03 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
вот скрипт на затам лошадки, когда затамит перс садится на нее..но скрипт не останавливается .....????????????
и тут можно что-то лишнее убрать?
Code:
sub tam_sedlo() 
var count=1
uo.print('Тотем')
uo.exec('addobject Animal')
while uo.targeting()
wait(100)
wend
UO.DeleteJournal()
while NOT UO.Dead()
UO.DeleteJournal()
UO.WaitTargetObject('Animal')
UO.UseSkill('Animal Taming')
CheckLag()
repeat
wait(1000)
until UO.InJournal('You fail') OR UO.InJournal('It seems')
If Uo.InJournal('It seems') Then
UO.Useobject('Animal')
Endif
wend
end sub

sub CheckLag()
uo.DeleteJournal()
uo.Click('backpack')
repeat
wait(50)
until UO.InJournal('backpack')
end sub


Top
   
 Post subject:
PostPosted: 2005-04-11 20:27:51 
Offline
User avatar

Joined: 2004-07-10 00:38:43
Posts: 203
Location: From DrW
Code:
UO.Exec('exec tam_sedlo')

Вставь в нужное место. Если неошибся то так.

_________________
Нет ничего невозможного...
Кто ИЩЕТ, тот всегда найдёт...
Code:
sub UO() 
UO.Chto-To("S Chem-To")
end sub

© I'm


Top
   
 Post subject:
PostPosted: 2005-04-12 13:26:59 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
SAMURAI wrote:
Code:
UO.Exec('exec tam_sedlo')

Вставь в нужное место. Если неошибся то так.


что-то не получается впихнуть....сделал по другому...
Code:
sub tam_sedlo() 
var Exit=0
uo.exec('addobject Animal')
while uo.targeting()
wait(100)
wend
UO.DeleteJournal()
while Exit<>1
UO.DeleteJournal()
UO.WaitTargetObject('Animal')
UO.UseSkill('Animal Taming')
CheckLag()
repeat
wait(1000)
until UO.InJournal('You fail') OR UO.InJournal('It seems') OR UO.InJournal('You can not see')
If Uo.InJournal('It seems') Then
wait(2000)
UO.Useobject('Animal')
CheckLag()
Endif
Exit=1
wend
end sub

sub CheckLag()
uo.DeleteJournal()
uo.Click('backpack')
repeat
wait(50)
until UO.InJournal('backpack')
end sub


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 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