Skip to content

PvP Color System acis 401

Featured Replies

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

These old features remind me of childhood memories. 😇

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.