Color Appearance problem
Posted: Mon Jan 09, 2012 8:52 pm
If you want to receive support we need this info to help you properly.
» 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
and made it
i changed the red and blue only but im still getting the same.
Any help?
*I did a small research but i didnt found anything.
» 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.