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
Need script for taming simple mine dont work anymore
Moderators: Murderator+, Murderator
-
- Posts: 11
- Joined: 2014-03-01 21:06:25
-
- Posts: 949
- Joined: 2011-05-23 00:33:30
Re: Need script for taming simple mine dont work anymore
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
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: Select all
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