Page 1 of 1
help me(hao to return and print " finditem's color")
Posted: 2012-07-25 05:48:15
by wsqlzh
who can help me!!please!
i want's to know each finditem's color
fox example:
TEMP_coloritem[i]=xxxxxx
uo.print(TEMP_coloritem[i])
how to get the "TEMP_coloritem[i]= "
i try to use "yoyoinjection/object type "tool get the Bback item's "Graphic",but no color val.
anytools can be do?
Re: help me(hao to return and print " finditem's color")
Posted: 2012-07-25 06:39:26
by Mirage
Code: Select all
sub main()
var ItemName, ItemID, ItemType, ItemColor
uo.findtype(-1,-1,'my')
uo.click('finditem')
ItemName=UO.GetName('finditem')
ItemID=UO.GetSerial('finditem')
ItemType=UO.GetGraphic(UO.GetSerial( 'finditem'))
ItemColor=UO.GetColor('finditem')
uo.Print(ItemName +', ' +ItemID +', ' +ItemType +', ' +ItemColor)
end sub
uo.click('finditem') for ItemName
Re: help me(hao to return and print " finditem's color")
Posted: 2012-07-25 07:00:15
by wsqlzh
Mirage wrote:Code: Select all
sub main()
var ItemName, ItemID, ItemType, ItemColor
uo.findtype(-1,-1,'my')
uo.click('finditem')
ItemName=UO.GetName('finditem')
ItemID=UO.GetSerial('finditem')
ItemType=UO.GetGraphic(UO.GetSerial( 'finditem'))
ItemColor=UO.GetColor('finditem')
uo.Print(ItemName +', ' +ItemID +', ' +ItemType +', ' +ItemColor)
end sub
uo.click('finditem') for ItemName
so cool...thanks very much~~~~
how to active the script? doubleclick item?or.....?
when i login and runing function ,uo client print:
Horse. 0x4000173B. 0x3EA0.
0x0000
(oh.sorry~~.i'm a app of script!!)
Re: help me(hao to return and print " finditem's color")
Posted: 2012-07-25 07:28:27
by wsqlzh
sub main()
var ItemName, ItemID, ItemType, ItemColor
uo.findtype(-1,-1,'my')
#uo.click('finditem')
UO.Click('lasttarget')
UO.DeleteJournal()
ItemColor=UO.GetColor('lasttarget')
ItemName=UO.GetName('lasttarget')
ItemID=UO.GetSerial('lasttarget')
ItemType=UO.GetGraphic(UO.GetSerial( 'lasttarget'))
#ItemColor=UO.GetColor('finditem')
uo.Print(ItemName +', ' +ItemID +', ' +ItemType +', ' +ItemColor)
end sub
thank you!!!
when i serch!i find a script:
UO.DeleteJournal()
Color=UO.GetColor('lasttarget')
UO.Click('lasttarget')
so i changed!login and use the lastobject finished. each item object run function once!the client will print four type!