Jump to content

Recommended Posts

Posted

This might sound really retarded, but where do add all of these files. I cannot even find the map entity, or clientpackets etc. I am confused where i have to add all of these. If someone can helpme out with this by guiding me a bit it would be really appreciated!

 

Thanks in advance!

nlajay

  • 1 month later...
Posted

Freya L2Characker.java Peace zone attack

 

//return;

+ if(!player.isInFunEvent() || !player.getTarget().isInFunEvent())

{

player.sendPacket(new SystemMessage(SystemMessageId.TARGET_IN_PEACEZONE));

player.sendPacket(ActionFailed.STATIC_PACKET);

}

 

Freya L2PcInstance.java Peace zonel attack and skill attack

 

// Check if the attacker is in TvT and TvT is started

if (TvTEvent.isStarted() && TvTEvent.isPlayerParticipant(getObjectId()))

return true;

 

+

+ if(!this.isInFunEvent() || !attacker.isInFunEvent())

+ return false;

 

// Check if this is offensive magic skill

if (skill.isOffensive())

{

if ((isInsidePeaceZone(this, target)) && !getAccessLevel().allowPeaceAttack())

{

+ if(!this.isInFunEvent() || !target.isInFunEvent())

+                               return false;

Posted

Can anybody add some random spawns for the players when the event start and when they res. It will be nice if the players spawns in different location instead of spawning all in the same place.

 

Also it is working in my epilogue server.

Posted

Hi  at all, I tryed to implement this share on L2J Freja server but I have encountered some problems.

 

On Core in the file L2PcInstance.java

@@ -4052,6 +4060,14 @@

player.sendPacket(ActionFailed.STATIC_PACKET);

return;

}

+ if (DM._started && !Config.DM_ALLOW_INTERFERENCE)

+ {

+ if ((_inEventDM && !player._inEventDM) || (!_inEventDM && player._inEventDM))

+ {

+ sendPacket(ActionFailed.STATIC_PACKET);

+ return;

+ }

+ }

 

// Check if the L2PcInstance is confused

if (player.isOutOfControl())

 

@@ -4091,7 +4107,7 @@

else

{

// Check if this L2PcInstance is autoAttackable

- if (isAutoAttackable(player))

+ if (isAutoAttackable(player) || (player._inEventDM && DM._started))

{

// Player with lvl < 21 can't attack a cursed weapon holder

// And a cursed weapon holder  can't attack players with lvl < 21

 

@@ -8933,6 +9008,8 @@

        // finally, after passing all conditions

        return true;

}

+ return dontMove;

+ }

 

public boolean checkIfOkToUseStriderSiegeAssault(boolean isCheckOnly)

{

 

This diff @@ -4052,6 +4060,14 @@ and @@ -4091,7 +4107,7 @@ doesn't more supported in that class, maybe are moved in other ?

This diff @@ -8933,6 +9008,8 @@ I think are an error

 

 

 

On Core in the file L2Npc.java

@@ -685,6 +687,8 @@

{

L2Event.showEventHtml(player, String.valueOf(getObjectId()));

}

+ else if (_isEventMobDM)

+ DM.showEventHtml(player, String.valueOf(getObjectId()));

else

{

Quest[] qlsa = getTemplate().getEventQuests(Quest.QuestEventType.QUEST_START);

+ continue;

+ }

if (player.isInDuel())

{

if (player.getDuelId() != obj.getDuelId())

 

This diff @@ -685,6 +687,8 @@ doesn't more supported in that class, maybe are moved in other ?

 

 

 

On Datapack the file Recall.java doesn't exist anymore.

On Datapack the file Potions.java doesn't exist anymore.

 

 

Anyone can help me ? thx alot.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • Topics

×
×
  • 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