Yoko
http://forum.yoko.com.ua/

help with my snoop steal script
http://forum.yoko.com.ua/viewtopic.php?f=3&t=18035
Page 1 of 1

Author:  engong [ 2017-10-24 03:17:36 ]
Post subject:  help with my snoop steal script

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/