Page 1 of 1

object type

Posted: 2004-04-07 19:33:46
by MR X
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

Posted: 2004-04-07 22:39:50
by Kazoo

Code: Select all

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 !

Posted: 2004-04-08 00:26:14
by MR X
Ok, and how do I find out the color? I suppose I should use getcolor, but Im not sure how...

Posted: 2004-04-08 00:44:02
by Kazoo
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: Select all

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

Posted: 2004-04-08 00:57:02
by MR X
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

Posted: 2004-04-08 01:04:51
by Kazoo
mr x ! your the man i need :) im learning easy uo right now !

Posted: 2004-04-08 18:41:31
by Yoko
it is possible you miss your forum kid
your forum located at http://www.easyuo.com