Jump to content
  • 0

[HELP]Converting Laikeriz Faction Engine to L2j leatest Epilogue rev


Question

Posted

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.

7 answers to this question

Recommended Posts

  • 0
Posted

mind telling us the errors or you want us to read the whole code?

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

  • 0
Posted

Give us the link of the initial starting engine to see what you touched/removed/changed/added.

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  :-[

 

  • 0
Posted

Well, for the TvTEvent, he is probably using a modified one, otherwise it would obviously throw no errors.

If you aren't using any event like that in your server, simply remove that check.

As for the other methods, make sure that you are following the patch properly, do not miss even 1 line because it may fuck up the result.

  • 0
Posted

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

 

  • 0
Posted

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

 

 

I sent you a PM.

Answer to it and I will tell you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock