where did you added the command to unequip the items when going to olympiad? try add it here (not sure but ok, i am trying:P)
L2PCinstance.java
public final void onTeleported()
{
super.onTeleported();
getKnownList().updateKnownObjects();
if ((Config.PLAYER_SPAWN_PROTECTION > 0) && !isInOlympiadMode())
setProtection(true);
// Modify the position of the tamed beast if necessary (normal pets are handled by super...though
// L2PcInstance is the only class that actually has pets!!! )
if (getTrainedBeast() != null)
{
getTrainedBeast().getAI().stopFollow();
getTrainedBeast().teleToLocation(getPosition().getX() + Rnd.get(-100, 100), getPosition().getY() + Rnd.get(-100, 100), getPosition().getZ(), false);
getTrainedBeast().getAI().startFollow(this);
}
// Modify the position of the pet if necessary
L2Summon pet = getPet();
if (pet != null)
{
pet.setFollowStatus(false);
pet.teleToLocation(getPosition().getX() + Rnd.get(-100, 100), getPosition().getY() + Rnd.get(-100, 100), getPosition().getZ(), false);
((L2SummonAI)getPet().getAI()).setStartFollowController(true);
pet.setFollowStatus(true);
sendPacket(new PetInfo(pet));
pet.updateEffectIcons(true);
}
}
and add:
if (isInOlympiadMode())
commands here;
commands here;