Jump to content

Recommended Posts

Posted (edited)

As title says.

Note: You can change the colors etc from xml.

 

//EnterWorld.java
+PvpColorSystem.getInstance().updateNameColor(player);
+PvpColorSystem.getInstance().updateTitleColor(player);
player.sendPacket(ActionFailed.STATIC_PACKET);

//Player.java
+PvpColorSystem.getInstance().updateNameColor(this);
setKarma(getKarma() + Formulas.calculateKarmaGain(getPkKills(), target instanceof Summon));

+PvpColorSystem.getInstance().updateTitleColor(this);
// Send UserInfo packet to attacker with its Karma and PK Counter
endPacket(new UserInfo(this));

//GameServer.java
+PvpColorSystem.getInstance();
if (Config.ALLOW_BOAT)
		{

 

pastebin pass: maxcheaters

PvpColorSystem.java

 

XML

pvpColors.xml

Edited by LordPanic
  • Like 2
  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock