object type

Ask for help

Moderators: Murderator+, Murderator

Post Reply
MR X
Posts: 7
Joined: 2004-04-05 14:52:56

object type

Post 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
Kazoo
Posts: 173
Joined: 2004-04-03 18:39:28
Contact:

Post 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 !
MR X
Posts: 7
Joined: 2004-04-05 14:52:56

Post by MR X »

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

Post 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
MR X
Posts: 7
Joined: 2004-04-05 14:52:56

Post 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
Kazoo
Posts: 173
Joined: 2004-04-03 18:39:28
Contact:

Post by Kazoo »

mr x ! your the man i need :) im learning easy uo right now !
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

it is possible you miss your forum kid
your forum located at http://www.easyuo.com
Post Reply