i solved the problem with TvTEvent error just needed to put one import
But what about the others? i didn't missed any line i checked 5 times already (
But any way thx you for spending time on my question
P.S Maybe you can recommend me another Faction engine similar to this one that's work on epilogue ?
Sorry my English level is same as my java
If i understood you wright i need to give you the original Laikeriz faction patch
so here is original core patch
and what i have made to it
Thx you for helping such a noob in java :-[
I'am so sorry i forgot about that
so i got 1 error in com/l2jserver/gameserver/model/L2Character.java
Part of L2character.java code
{
if (trgtF.getFactionId() == player.getFactionId())
cond = false;
if (trgtF.isInOlympiadMode() && player.isInOlympiadMode())
cond = true;
if (TvTEvent.isStarted() && TvTEvent.isPlayerParticipant(trgtF.getObjectId()) && TvTEvent.isPlayerParticipant(player.getObjectId()))
cond = true;
}
Couple of errors in com/l2jserver/gameserver/model/actor/istance/L2PcInstance.java
public void onKillUpdatePvPKarma(L2Character target)
{
if (target == null) return;
if (!(target instanceof L2Playable)) return;
L2PcInstance targetPlayer = target.getActingPlayer();
if (targetPlayer == null) return; // Target player is null
if (targetPlayer == this) return; // Target player is self
if(checkPvpCond(target) && (target instanceof L2PcInstance))
increasePvpKills();
}
and another part of code in L2PcInstance.java
public void increasePkKillsAndKarma(L2Character target)
{
increasePvpKills();
And last two errors in com/l2jserver/gameserver/network/clientpackets/UseItem.java
if (!activeChar.getReuseTimeStamp().containsKey(skill.getId()))
{
activeChar.addTimeStamp(skill.getId(), 30000);
activeChar.disableSkill(skill.getId(), 30000);
}
So lines marked with red are errors
I hope some one will help to make it work on epilogue.
P.S if you use patch from my firs post on latest l2jserver epilogue you wil se the same errors
Since no one talking to you i will try too help :)
Assassina you can restrict usage of this skill by adding couple lines in skill xml
just an example of skil that dont work in oly mode
<skill id="456" levels="1" name="Symbol of Resistance">
<set name="target" val="TARGET_SELF" />
<set name="skillType" val="SIGNET" />
<set name="operateType" val="OP_ACTIVE" />
<set name="hitTime" val="5000" />
<set name="staticHitTime" val="true" />
<set name="reuseDelay" val="1800000" />
<set name="skillRadius" val="180" />
<set name="staticReuse" val="true" />
<set name="magicLvl" val="80" />
<set name="effectNpcId" val="13018" />
<set name="effectId" val="5125" />
<set name="power" val="200" />
<set name="itemConsumeId" val="8875" />
<set name="itemConsumeCount" val="1" />
<set name="mpInitialConsume" val="36" />
<set name="mpConsume" val="44" />
<cond msgId="1509">
<player olympiad="false" />
</cond>
<for>
<effect count="24" name="Signet" time="5" val="0" />
</for>
</skill>
so lines marked with red you need to put in you skill
tested and works on l2jserver
Hi Dev's and Cheaters!
I start converting Laikeriz faction engine to Epilogue but since i'am noob in java i stuck on couple errors maybe someone could help me a bit :'(
Here is my diff this patch has only 5 errors
Please some one take a look and help me if you got some time
Thx you.