Yoko

All sides of Injection
It is currently 2025-10-18 01:07:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Challenging Script
PostPosted: 2009-04-12 16:02:25 
Offline

Joined: 2009-04-09 14:09:07
Posts: 9
this one is a challenging Script, i beleave it's almost impossible, i guess.

It's a Snooping/Stealing Script
it's necessary to 2x click a glove, that gives a target so u click a npc to snoop, if succesfull a backpack will open, and u can use the skill stealing each 3 seconds to get an item inside this bag.

I've tryed to write something.
Can someone help me?

At this moment the injection acuse an error at the line uo.useskill('Stealing')

sub snoopsteal()
uo.deletejournal()
inicio:
wait(80)
if uo.injournal("you successfully open the backpack") then
goto Steal
uo.deletejournal()
end if

wait(80)
if uo.injournal("You have successfully stolen the item") then
goto Steal
uo.deletejournal()
end if


wait(80)
if uo.injournal("You are noticed snooping in the backpack") then
goto Snoop
uo.deletejournal()
end if

Snoop:
uo.waittargettype('0x0191')
uo.usetype('0x13C6)
wait(1000)

Steal:
UO.findtype('-1', '-1', 'lastcontainer')
uo.addobject('aleatorio', 'finditem')
uo.waittargettype('aleatorio')
uo.useskill('Stealing')
goto inicio
end sub


Top
   
 Post subject:
PostPosted: 2009-05-18 21:31:26 
Offline

Joined: 2004-05-16 00:08:59
Posts: 9
Location: Utah
Your UO.DeleteJournal() calls aren't being called because they're after the goto. Gotos are sloppy.

Also, just do uo.exec("useskill Stealing lasttarget")


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 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:  
Powered by phpBB® Forum Software © phpBB Limited