Help with "Pick up from ground"

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Ever1x
Posts: 38
Joined: 2009-02-09 17:12:23

Help with "Pick up from ground"

Post by Ever1x »

Code: Select all

sub head()
VAR weapon=0x0E85
VAR head=0x09D0

  uo.WaitTargetObject('lastcorpse')
  uo.UseType(weapon)
  wait(500)
   Cheklag()
    UO.SetReceivingContainer('0x403C30AB') ;Backpacka ID
    UO.findtype('head','0x0000','ground')
    UO.grab ('1','finditem')
end sub

Sub Cheklag()
   UO.DeleteJournal()
   UO.Click('backpack')
   Repeat
      Wait(10)
   Until UO.InJournal("backpack")
end sub


Why My script doesn't pick head?
Millerbeer
Posts: 247
Joined: 2008-09-12 05:07:34

Post by Millerbeer »

Code: Select all

sub head() 
VAR weapon='0x0E85'
VAR head='0x09D0'

  uo.WaitTargetObject('lastcorpse')
  uo.UseType(weapon)
  wait(500)
   Cheklag()
    UO.SetReceivingContainer('0x403C30AB') ;Backpacka ID
    UO.findtype(head,'0x0000','ground')
    UO.grab ('1','finditem')
end sub

Sub Cheklag()
   UO.DeleteJournal()
   UO.Click('backpack')
   Repeat
      Wait(10)
   Until UO.InJournal("backpack")
end sub
hijackthis
Posts: 26
Joined: 2009-02-26 23:44:26

Post by hijackthis »

называется : найди десять отличий
может ткнёшь пальцем мну
а то ниче не заметил никаких изменений
Ever1x
Posts: 38
Joined: 2009-02-09 17:12:23

Post by Ever1x »

mine UO.findtype('head','0x0000','ground')
his UO.findtype(head,'0x0000','ground')
hijackthis
Posts: 26
Joined: 2009-02-26 23:44:26

Post by hijackthis »

thanks
Post Reply