lockpicking - Printable Version
+- Imagine Nation Forums (
https://in-uo.net/forums)
+-- Forum: Imagine Nation archive (
https://in-uo.net/forums/forumdisplay.php?fid=6)
+--- Forum: Player Guides (
https://in-uo.net/forums/forumdisplay.php?fid=29)
+--- Thread: lockpicking (
/showthread.php?tid=5483)
lockpicking -
sm0ke - 04-11-2012
is there a macro out for injection?
lockpicking -
Xyn - 04-11-2012
I got you covered bud.
Code:
sub Lockpicking()
While UO.SkillVal("Lockpicking") < 1000
uo.exec("usetype LOCKPICKTYPEHERE")
uo.waittargetobject("box")
wait(4500)
uo.exec("useobject 'key'")
wait(500)
uo.waittargetobject("box")
wend
end sub
,addobject box (target your lockbox)
,addobject key (target the key inside the lockbox)
I wrote this at work, so I don't have the lockpick object type off hand. You'll have to ,info it and enter it yourself. I wrote this up tonight for myself before leaving for work.
lockpicking -
sm0ke - 04-11-2012
Xyn Wrote:I got you covered bud.
Code:
sub Lockpicking()
While UO.SkillVal("Lockpicking") < 1000
uo.exec("usetype LOCKPICKTYPEHERE")
uo.waittargetobject("box")
wait(4500)
uo.exec("useobject 'key'")
wait(500)
uo.waittargetobject("box")
wend
end sub
,addobject box (target your lockbox)
,addobject key (target the key inside the lockbox)
I wrote this at work, so I don't have the lockpick object type off hand. You'll have to ,info it and enter it yourself. I wrote this up tonight for myself before leaving for work.
yeah np, thanks bro
lockpicking -
sm0ke - 04-11-2012
hmm doesn't seem to be working, I keep getting "you can't unlock that"
lockpicking -
Gang - 04-12-2012
Thats because injection isn't supposed to use targets like that... It's:
Target
Action
Targets in injection work this way. You set it, then next action will be used on it...
Imagine a nuclear missle. You have to set the destination point first, only then you launch it. Wouldn't make much sense to do it way around. Or well, try to open a door with a key without an idea where keyhole is...
Quote:uo.exec("useobject 'key'")
wait(500)
uo.waittargetobject("box")
Here you even let it wait 500ms before setting actual target.. Why?
wait(500)
uo.waittargetobject("box")
uo.exec("useobject 'key'")
That is how these three lines should look. And time delays aren't really reliable, better check journal, very few commands to learn actually..
lockpicking -
sm0ke - 04-12-2012
Gang Wrote:Thats because injection isn't supposed to use targets like that... It's:
Target
Action
Targets in injection work this way. You set it, then next action will be used on it...
Imagine a nuclear missle. You have to set the destination point first, only then you launch it. Wouldn't make much sense to do it way around. Or well, try to open a door with a key without an idea where keyhole is...
Here you even let it wait 500ms before setting actual target.. Why?
wait(500)
uo.waittargetobject("box")
uo.exec("useobject 'key'")
That is how these three lines should look. And time delays aren't really reliable, better check journal, very few commands to learn actually..
I know i fixed that, but it's not locking the box or it's doing it at the wrong time or something that's why it's not registering and saying the you can't unlock that it still doesn't work even with the thing you said
lockpicking -
Mael - 04-12-2012
why not use Easy uo...so much easier to script with
lockpicking -
Gang - 04-14-2012
Mael Wrote:why not use Easy uo...so much easier to script with
It's really easy with injection as well if you know what you're doing though xd
lockpicking -
Mael - 04-14-2012
ya for some reason i cant understand injection at all but easy uo i can..wierd