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

Help with "Pick up from ground"
http://forum.yoko.com.ua/viewtopic.php?f=20&t=14489
Page 1 of 1

Author:  Ever1x [ 2009-03-01 17:25:58 ]
Post subject:  Help with "Pick up from ground"

Code:
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?

Author:  Millerbeer [ 2009-03-01 19:28:10 ]
Post subject: 

Code:
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

Author:  hijackthis [ 2009-03-03 19:57:37 ]
Post subject: 

называется : найди десять отличий
может ткнёшь пальцем мну
а то ниче не заметил никаких изменений

Author:  Ever1x [ 2009-03-03 20:21:12 ]
Post subject: 

mine UO.findtype('head','0x0000','ground')
his UO.findtype(head,'0x0000','ground')

Author:  hijackthis [ 2009-03-03 21:12:10 ]
Post subject: 

thanks

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