I'm not familiar with aCis, but your current v1.0 version would require a one liner patch in scripts.cfg on L2J : a new DP scripts in scripts.cfg
E.g this :
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 1)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
@@ -14,6 +14,8 @@
*/
package net.sf.l2j.gameserver.model.actor.instance;
+import eu.elfocrash.mods.acis.PvpColor;
+
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
@@ -4232,6 +4234,7 @@
// Send UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
+ PvpColor.updateColor(this);
}
}
// Otherwise, killer is considered as a PKer.
Could be adressed with a listener (and I bet aCis does have that too), e.g for L2J
@RegisterEvent(EventType.ON_PLAYER_PK_CHANGED)
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
public void OnPlayerPKChanged(OnPlayerPKChanged event)
{
PvpColor.updateColor(event.getActiveChar());
}
Etc... Just saying I would have done it differently actually.