I just installed this, and added my own colors and added a few more.. This is not the problem, the problem is that the characters only gain the first color from the code and all the other codes is just ignored.. How can this be? :o
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (revision 4092)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (working copy)
@@ -174,6 +174,51 @@
engage(activeChar);
notifyPartner(activeChar,activeChar.getPartnerId());
}
+
+ // PvP Color System
+
+ if (Config.ENABLE_COLOR_PVP)
+ {
+ if (activeChar.getPvpKills()>= 100)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PVP_100);
+ }
+ if (activeChar.getPvpKills()>= 500)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PVP_500);
+ }
+ if (activeChar.getPvpKills()>= 1000)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PVP_1000);
+ }
+ if (activeChar.getPvpKills()>= 5000)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PVP_5000);
+ }
+ }
+
+ // Pk Color System
+
+ if (Config.ENABLE_COLOR_PK)
+ {
+ if (activeChar.getPkKills()>= 100)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PK_100);
+ }
+ if (activeChar.getPkKills()>= 500)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PK_500);
+ }
+ if (activeChar.getPkKills()>= 1000)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PK_1000);
+ }
+ if (activeChar.getPkKills()>= 5000)
+ {
+ activeChar.getAppearance().setNameColor(Config.COLOR_PK_5000);
+ }
+ }
+
Worked my problem out, I just delete "Else" like above...