Yoko

All sides of Injection
It is currently 2024-04-18 21:34:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: object type
PostPosted: 2004-04-07 19:33:46 
Offline

Joined: 2004-04-05 14:52:56
Posts: 7
OK, now I came to this problem, I need to use both invisibility and TMR potions in PvP combat, but these two have the same object types :

0x0F09 - This is TMR, EUO literat is XUF and the same goes for invisibility

So I cant use - UO.Usetype ("0x0F09") - because sometimes it uses TMR and sometimes invis

Does anyone have an idea how to distinct these two? THX


Top
   
 Post subject:
PostPosted: 2004-04-07 22:39:50 
Offline
User avatar

Joined: 2004-04-03 18:39:28
Posts: 173
Code:
sub invis()
   UO.UseType('0x0F0E','0x0631') ; inviz potion
   end sub
   
sub mana()
            UO.UseType('0x0F0E','0x09DF') ; total mana potion
            end sub

Write the Bottles color !


Top
   
 Post subject:
PostPosted: 2004-04-08 00:26:14 
Offline

Joined: 2004-04-05 14:52:56
Posts: 7
Ok, and how do I find out the color? I suppose I should use getcolor, but Im not sure how...


Top
   
 Post subject:
PostPosted: 2004-04-08 00:44:02 
Offline
User avatar

Joined: 2004-04-03 18:39:28
Posts: 173
MR X wrote:
Ok, and how do I find out the color? I suppose I should use getcolor, but Im not sure how...


,info
Code:
ID=0x4007BD4B Type=0x0F0E Name=Total Mana 
Quantity: 217  Colour: 0x09DF  <------ Here is The color
X=2931 Y=296 Z=4 C=0xFFFFFFFF F=0x20


Top
   
 Post subject:
PostPosted: 2004-04-08 00:57:02 
Offline

Joined: 2004-04-05 14:52:56
Posts: 7
Thank U very much Kazoo, I finally got it to work, I know EUO pretty well, but I have yet to learn scripting with injection. Thanks again


Top
   
 Post subject:
PostPosted: 2004-04-08 01:04:51 
Offline
User avatar

Joined: 2004-04-03 18:39:28
Posts: 173
mr x ! your the man i need :) im learning easy uo right now !


Top
   
 Post subject:
PostPosted: 2004-04-08 18:41:31 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
it is possible you miss your forum kid
your forum located at http://www.easyuo.com


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 11 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