Page 1 of 1
Help with "Pick up from ground"
Posted: 2009-03-01 17:25:58
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?
Posted: 2009-03-01 19:28:10
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
Posted: 2009-03-03 19:57:37
by hijackthis
называется : найди десять отличий
может ткнёшь пальцем мну
а то ниче не заметил никаких изменений
Posted: 2009-03-03 20:21:12
by Ever1x
mine UO.findtype('head','0x0000','ground')
his UO.findtype(head,'0x0000','ground')
Posted: 2009-03-03 21:12:10
by hijackthis
thanks