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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...