Yoko
http://forum.yoko.com.ua/

object type
http://forum.yoko.com.ua/viewtopic.php?f=3&t=30
Page 1 of 1

Author:  MR X [ 2004-04-07 19:33:46 ]
Post subject:  object type

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

Author:  Kazoo [ 2004-04-07 22:39:50 ]
Post subject: 

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 !

Author:  MR X [ 2004-04-08 00:26:14 ]
Post subject: 

Ok, and how do I find out the color? I suppose I should use getcolor, but Im not sure how...

Author:  Kazoo [ 2004-04-08 00:44:02 ]
Post subject: 

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

Author:  MR X [ 2004-04-08 00:57:02 ]
Post subject: 

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

Author:  Kazoo [ 2004-04-08 01:04:51 ]
Post subject: 

mr x ! your the man i need :) im learning easy uo right now !

Author:  Yoko [ 2004-04-08 18:41:31 ]
Post subject: 

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/