Yoko

All sides of Injection
It is currently 2024-04-19 09:58:48

All times are UTC+02:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: taming upgrade
PostPosted: 2006-12-03 22:55:28 
Offline
User avatar

Joined: 2006-04-22 20:37:37
Posts: 79
надо очень


Last edited by -=Morf=- on 2006-12-03 22:59:47, edited 1 time in total.

Top
   
 
 Post subject: Re: taming upgrade
PostPosted: 2006-12-03 22:59:02 
Offline
User avatar

Joined: 2006-04-22 20:37:37
Posts: 79
Code:


sub Taming()
var count=0
uo.print('Тотем')
uo.exec('addobject TOT')
while uo.targeting()
wait(100)
wend
UO.DeleteJournal()
while NOT UO.Dead()
UO.DeleteJournal()
UO.WaitTargetObject('TOT')
UO.UseSkill('Animal Taming')
repeat
wait(1000)
until UO.InJournal('You fail') OR UO.InJournal('It seems')
If Uo.InJournal('It seems') Then
UO.Say('All release')
Endif
wend
end sub




Добавте пжлста чтобы кормил выбранный объект 'TOT' сеном, а сено брал из сундука


Top
   
 
 Post subject: Re: taming upgrade
PostPosted: 2006-12-04 00:32:24 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
-=Morf=- wrote:
Code:


sub Taming()
var count=0
uo.print('Тотем')
uo.exec('addobject TOT')
while uo.targeting()
wait(100)
wend
UO.DeleteJournal()
while NOT UO.Dead()
UO.DeleteJournal()
UO.WaitTargetObject('TOT')
UO.UseSkill('Animal Taming')
repeat
wait(1000)
until UO.InJournal('You fail') OR UO.InJournal('It seems')
If Uo.InJournal('It seems') Then
UO.Say('All release')
Endif
wend
end sub




Добавте пжлста чтобы кормил выбранный объект 'TOT' сеном, а сено брал из сундука


а сундук в утке, а утка в небе, а небо далекоооооооо...


Top
   
 
 Post subject:
PostPosted: 2006-12-04 04:37:20 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
findtype(seno,'-1','backpack')
if findcount() then
  uo.waittargetobject('TOT')
  moveitem('finditem')
  wait(750)
else
  findtype(seno,'-1',sunduk)
  if findcount() then
    uo.waittargetobject('TOT') # || moveitem('finditem','TOT')
    uo.moveitem('finditem')    #
    wait(750)
  else
    uo.closeuo()
  end if
end if


Top
   
 
 Post subject:
PostPosted: 2006-12-04 14:35:25 
Offline
User avatar

Joined: 2006-04-22 20:37:37
Posts: 79
а можно еще 1 дополнение, если при тамление напишут This creature very hungry, тогда скрипт кормил объект и запускал заново Taming()


=)))


Top
   
 
 Post subject:
PostPosted: 2006-12-05 15:22:51 
Offline
User avatar

Joined: 2006-04-22 20:37:37
Posts: 79
Админы удалите тему пжлста, я все нашел что мне нужно 8)


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 24 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