Okay, I just checked the video to see what you want to achieve, since your posts mislead me, lol
### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 343)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
@@ -1312,6 +1312,7 @@
sendPacket(new RelationChanged(getPet(), getRelation(this), false));
broadcastRelationsChanges();
+ broadcastUserInfo();
}
@Override
@@ -4228,7 +4229,10 @@
PvpFlagTaskManager.getInstance().add(this, Config.PVP_NORMAL_TIME);
if (getPvpFlag() == 0)
+ {
updatePvPFlag(1);
+ setTeam(1);
+ }
}
public void updatePvPStatus(L2Character target)
@@ -4245,7 +4249,10 @@
PvpFlagTaskManager.getInstance().add(this, checkIfPvP(player) ? Config.PVP_PVP_TIME : Config.PVP_NORMAL_TIME);
if (getPvpFlag() == 0)
+ {
updatePvPFlag(1);
+ setTeam(1);
+ }
}
}
Index: java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java
===================================================================
--- java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java (revision 343)
+++ java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java (working copy)
@@ -82,6 +82,7 @@
if (currentTime > timeLeft)
{
entry.getKey().updatePvPFlag(0);
+ entry.getKey().setTeam(0);
iterator.remove();
}
// Time almost runned out, update to blinking PvP flag.