gazuotas11 Posted January 7, 2011 Posted January 7, 2011 omg. ty man its work !!!! NICE !!!!! TY FOR SHARE.. NICE MAN U !! ^^ Thank you again. :D Quote
AbSoLuTeP0WeR Posted January 7, 2011 Posted January 7, 2011 [Eng]thx for Share with us Work Perfect(tested)!!! [Gr]euxaristoume pou to mirastikes mazi mas douleuei apsoga(dokimasmeno!!!) Quote
dimas19 Posted January 10, 2011 Posted January 10, 2011 I used it but it seems that the color configuration doesn't work...the color are preset at the compile...so the config file is kinda useless ^^ Quote
v1hack Posted January 10, 2011 Posted January 10, 2011 if you do something wrong it not works ofcourse Quote
dimas19 Posted January 10, 2011 Posted January 10, 2011 yeah i can't insist on my opinion i may be wrong :P...i just did everything like the guide ;) Quote
RandomDude Posted February 18, 2011 Posted February 18, 2011 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... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.