RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Double Hueing

K

KevinEvans

Guest
Double Hueing

I noticed that images can be hued multiple times, which just changings an image to a solid color -_-
but is there anyway to prevent this? x__x

etiher c# or vb.net will help!!! :D

currently, i'm using this:
Code:
PictureBox3.Image = Nothing
Dim image As Image = Ultima.Art.GetStatic(ClothingItem)
PictureBox3.Image = image

Hues.GetHue(clothinghue).ApplyTo(PictureBox3.Image, False)

but it still allows it to be hued multiple times
 

Jeff

Lord
KevinEvans;798240 said:
I noticed that images can be hued multiple times, which just changings an image to a solid color -_-
but is there anyway to prevent this? x__x

etiher c# or vb.net will help!!! :D

currently, i'm using this:
Code:
PictureBox3.Image = Nothing
Dim image As Image = Ultima.Art.GetStatic(ClothingItem)
PictureBox3.Image = image

Hues.GetHue(clothinghue).ApplyTo(PictureBox3.Image, False)

but it still allows it to be hued multiple times

Why don't you keep track of it yourself. If the item has been hued one time, bool alreadyHued = true; if the item changes, alreadHued = false; The SDK doesnt know if its been hued because it is just receiving an Image.
 
Top