Yoko

All sides of Injection
It is currently 2024-03-28 14:48:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2017-10-24 03:17:36 
Offline

Joined: 2017-10-24 03:02:00
Posts: 3
hello
i have start to play uo again and i dont remember how to select an npc to snoop and steal gold.
here is the npc's id used razor to find it
0x127 its a architect
here is my script and i use sub snoopstea

edit found the problem needed to add object.
but the new question is how do i only steal gold? he steals everyting now.

thx.

Code:
sub vendorattention()
   while TRUE
      repeat
         UO.msg('vendor')
         wait(10000)
      wend
end sub

sub snoopsteal()
   
   UO.DeleteJournal()
   
   while TRUE    
     
      Repeat
         UO.waittargetobject('st')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.deletejournal()
     
      Repeat
         uo.findtype("-1","-1",'lastcontainer')
         If UO.FindCount() > 0 Then
            uo.waittargetobject("finditem")
            uo.useskill("Stealing")
            wait(6000)
         Endif
      Until UO.FindCount() < 1 or UO.Injournal("can not be")
     
     
      Repeat
         UO.waittargetobject('st2')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.deletejournal()
     
      Repeat
         uo.findtype("-1","-1",'lastcontainer')
         If UO.FindCount() > 0 Then
            uo.waittargetobject("finditem")
            uo.useskill("Stealing")
            wait(6000)
         Endif
      Until UO.FindCount() < 1 or UO.Injournal("can not be")
     
   WEND
end sub

sub stealspam()
   while TRUE
      uo.useskill('Stealing')
      wait(2000)
   wend
end sub

sub snoopy1()
   UO.DeleteJournal()
   Repeat
      UO.waittargetobject('st1')
      uo.usetype(0x13c6)
      wait(3000)
   until UO.Injournal('you successfully open the backpack.')
   UO.deletejournal()
end sub

sub snoopy2()
   UO.DeleteJournal()
   Repeat
      UO.waittargetobject('st2')
      uo.usetype(0x13c6)
      wait(3000)
   until UO.Injournal('you successfully open the backpack.')
   UO.deletejournal()
end sub

sub snoopy3()
   UO.DeleteJournal()
   Repeat
      UO.waittargetobject('st3')
      uo.usetype(0x13c6)
      wait(3000)
   until UO.Injournal('you successfully open the backpack.')
   UO.deletejournal()
end sub

sub dualsnooper12()
   UO.DeleteJournal()
   while TRUE
      Repeat
         UO.waittargetobject('st1')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.DeleteJournal()
      Repeat
         UO.waittargetobject('st2')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.deletejournal()
   WEND
end sub

sub dualsnooper23()
   UO.DeleteJournal()
   while TRUE
      Repeat
         UO.waittargetobject('st2')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.DeleteJournal()
      Repeat
         UO.waittargetobject('st3')
         uo.usetype(0x13c6)
         wait(3000)
      until UO.Injournal('you successfully open the backpack.')
      UO.deletejournal()
   WEND
end sub


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

All times are UTC+02:00


Who is online

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