Yoko

All sides of Injection
It is currently 2024-03-29 01:07:24

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2014-05-05 00:04:27 
Offline

Joined: 2014-03-01 21:06:25
Posts: 11
hi guys im looking for easy script of taming for injection i had one but dont work anymore maybe something wrong

Thx



sub Taming()
UO.print("Taming pg by Wolfgang Glueck Modified by Enyce")
var i=0
UO.press(21) ; F11 - TargetNext
UO.ignorereset()
repeat
wait(200)
UO.press(22) ; F12 - UseSkillTaming / LastTarget
wait(500)
If UO.Injournal("as master") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
i = i+1
UO.print("Taming: "+STR(i)+" ")
end if
If UO.Injournal("is already tame") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
end if
If UO.Injournal("can't tame") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
end if
If UO.Injournal("You are your own master") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
end if
If UO.Injournal("the target") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
end if
If UO.Injournal("remembers you") Then
UO.DeleteJournal()
uo.say(" all release")
UO.press(21) ; F11 - TargetNext
end if
until false
end sub


Top
   
PostPosted: 2014-05-05 12:03:15 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
If you mount animal and unmount the animal, his ID is change? If yes you must mount and unmount animal, and than animal not member you because its new. And skill up very faster and you need 1 animal only :wink: But may be you must heal animal, in our shard if animal has hp < maxhp we cant tame creature. And any mount and undmount make animal hungry -1. And i have script, change it for your shard
Code:
sub Taming()
   var animal, waittime, msg = "can't see the target|cannot tame hungry|tame wounded creatures|target is too far away|fail to tame|accept you as master|creature already tame|broke the Taming Staff|put the bloody|apply the bandages|make a mummy|Targeting Cancelled"
   repeat
      if uo.findtype("TYPE find animal", -1, "ground", 2) then
         animal = uo.getserial("finditem")
         uo.msg("All Release")
         wait(300)
         uo.getstatus(animal)
         wait(300)
         if uo.gethp(animal) < uo.getmaxhp(animal) then
            repeat
               uo.deletejournal(msg)
               uo.waittargetobject(animal)
               uo.usetype("0x0E21")
               waittime = uo.timer() + 150
               repeat
                  wait(100)
               until uo.dead() or uo.injournal(msg) or uo.timer() > waittime
               uo.getstatus(animal)
               wait(300)
            until uo.gethp(animal) == uo.getmaxhp(animal)
         end if
         repeat
            if uo.getdistance(animal) > 2 then
               uo.pmove(uo.getx(animal), uo.gety(animal), 1)
            end if
            uo.deletejournal(msg)
            uo.warmode(0)
            uo.waittargetobject(animal)
            uo.usetype("0x0DF0")
            waittime = uo.timer() + 350
            repeat
               wait(100)
            until uo.dead() or uo.injournal(msg) or uo.timer() > waittime
         until uo.dead() or uo.injournal("cannot tame hungry|tame wounded creatures|creature already tame|can't see the target|accept you as master")
      end if
      wait(2000)
      uo.useobject(animal)
      wait(300)
      uo.useobject("self")
      wait(300)
   until uo.dead() or uo.skillval("Animal Taming") == 1000
end sub

_________________
CodeSweeper


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

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