Armor Dye Issues from R174
It appears that the armor dye fix in R174 was a little too good lol. Now it seems to be saving the slot color of whatever was worn first after the server was updated to a version with the Dye fix in it. So, if you were wearing purple armor, anything you put on now is purple no matter what color it is supposed to be.
I imagine that it is saving the colors in the player profile. But, I think it needs to know how to tie certain saved colors to certain pieces of equipment, instead of just to the slot in general, which is what it seems to be doing. |
Barnywear for everyone!
|
on live i know it dyes by the slot. dye your chest slot black for example and it stays black regardless of item equiped (even no item equiped) until you dye again.
is this what ya mean its doin Trevius? or is it like perma dying even if you dye again it doesnt change colors? |
I think the problem is that it is dying the slot by the color of any item worn the first time logging in after the new code was put in for dyes, even if you didn't use dyes to get it that color. The color of the slot can be changed with dyes, but it shouldn't be setting the slot dye color until a dye is actually used.
EDIT: After looking at the diff, I think this is what is causing the problem: zonedb.cpp Code:
// Fix use_tint, previously it was set to 1 for a dyed slot, client wants it set to 0xFF |
The main problem was that the original code would dye the slot to the color of whatever item you put in it, which was wrong.
I've put in a #undyeme command which resets all slots to undyed, so after using that command, everything should then behave correctly relating to dying. |
All times are GMT -4. The time now is 05:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.