Yoko

All sides of Injection
It is currently 2024-03-29 03:08:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2012-07-25 05:48:15 
Offline

Joined: 2012-07-25 05:37:13
Posts: 3
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?


Top
   
PostPosted: 2012-07-25 06:39:26 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Code:
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

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2012-07-25 07:00:15 
Offline

Joined: 2012-07-25 05:37:13
Posts: 3
Mirage wrote:
Code:
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!!)


Top
   
PostPosted: 2012-07-25 07:28:27 
Offline

Joined: 2012-07-25 05:37:13
Posts: 3
Quote:
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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited