» Find Revision
L2J Revision 5123:
L2JDP Revision 8615:
Hi i have a little problem.
When im setting a player name ex: FF0000 (red) he gets blue and vice versa.
So i think that the red and blue are wrong.
I tried to modify the pcappearance.java at this point
Code: Select all
public void setNameColor(int red, int green, int blue) { _nameColor = (red & 0xFF) + ((green & 0xFF) << 8) + ((blue & 0xFF) << 16); }
Code: Select all
public void setNameColor(int red, int green, int blue) { _nameColor = (blue & 0xFF) + ((green & 0xFF) << 8) + ((red & 0xFF) << 16); }
Any help?
*I did a small research but i didnt found anything.