Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Help I need info about create an effect to be seen only by party


Question

Posted (edited)

As title say guys

 

only party members can see it when we use a skill

 

any idea ? i try to understand hide skill is similar but no idea

Edited by GsL

Share this post


Link to post
Share on other sites
  • Answers 33
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

This is so funny, so this guy leaves bad comments on @Kara for shared codes while cant handle a limit on effect. amazing!  

Really ?      public void broadcastToParty(final IClientOutgoingPacket[] gsp)     {         for (final var member : getMembers())         {             member.sendPacket(gsp);         }     }   {gr]   epidi einai mobius i paparia exeis idea pws kanw adapt edw?

skill apla prepei na legete , nmz to fixara   to last part  L2Character.java find this (more than one) broadcastPacket(new MagicSkillUse(...)); change it to if (skill.isPartyBroadcast())     broadcastToMyParty(new MagicSkillUse(...)); else     broadcastPacket(new MagicSkillUse(...));     prepei na exei parei auto apo to l2character k na to exei balei sto skillcaster  o mobius opote paw ekei k kanw to check   example pws einai   

Recommended Posts

  • 0
7 hours ago, L2VANPER said:

eu queria muito saber onde eu brincava com os efeitos dentro dos sedpackts

Use English mate.

Thanks.

Share this post


Link to post
Share on other sites
  • 0

I wanna add an effect like stun as example to party members.. is it possible to be seen only by party members only ?

Share this post


Link to post
Share on other sites
  • 0
21 hours ago, Vision said:

Use companheiro inglês.

Obrigado.

I say I wanted to create a voicedcommand

cache cleaner

remove skill effects || this I already found methods

remove effect soushot

remove aura hero
understand what I mean

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, L2VANPER said:

I say I wanted to create a voicedcommand

cache cleaner

remove skill effects || this I already found methods

remove effect soushot

remove aura hero
understand what I mean

example skill HIDE when a player use it can be seen only by his party members .. i search all source and no option that say only pt  members can see it

Share this post


Link to post
Share on other sites
  • 0
40 minutes ago, Zake said:

Just broadcast MagicSkillUse to a specific group of players

do u have any example ? i m low on create code from 0 

or any similar skill?

Share this post


Link to post
Share on other sites
  • 0

aCis -> Creature#broadcastPacket

public void broadcastPacket(L2GameServerPacket packet, boolean selfToo)
    {
        for (final Player player : getKnownType(Player.class))
            player.sendPacket(packet);
    }

 

send the packet if players are in the same party

Share this post


Link to post
Share on other sites
  • 0
15 minutes ago, Zake said:

aCis -> Creature#broadcastPacket

public void broadcastPacket(L2GameServerPacket packet, boolean selfToo)
    {
        for (final Player player : getKnownType(Player.class))
            player.sendPacket(packet);
    }

 

send the packet if players are in the same party

Hmm thanks for your support but still hard for me I won't ask for more 

I use mobius .. 

I think in char.info exist a code about gm see invisible I think I can make it same pt can see effect 

Share this post


Link to post
Share on other sites
  • 0

It would be better if you put some details for the thing you need... Your question is a bit unclear.

Do you need to 'hide' the casting animation or the effect like stun (the stars)? Or both?

 

If you dont mind, share with us your thought in order to understand what you need..

Share this post


Link to post
Share on other sites
  • 0
21 minutes ago, melron said:

It would be better if you put some details for the thing you need... Your question is a bit unclear.

Do you need to 'hide' the casting animation or the effect like stun (the stars)? Or both?

 

If you dont mind, share with us your thought in order to understand what you need..

 

imagine when  u do a custom buff , all party members get  root effect at their legs as example

and this can be seen only by same party members 

Share this post


Link to post
Share on other sites
  • 0
On 5/9/2021 at 4:40 PM, melron said:

It would be better if you put some details for the thing you need... Your question is a bit unclear.

Do you need to 'hide' the casting animation or the effect like stun (the stars)? Or both?

 

If you dont mind, share with us your thought in order to understand what you need..

in char.info


        if (player.isInParty())
        {
          packet.writeH(AbnormalVisualEffect.STEALTH.getClientId());
            for (PlayerInstance member : player.getParty().getMembers())
            {
                // And re-add
                if (member != player)
                {
                   packet.writeH(AbnormalVisualEffect.STEALTH.getClientId());
                }
            }
        }

 

something like this? this dont work of course

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, GsL said:

in char.info


        if (player.isInParty())
        {
          packet.writeH(AbnormalVisualEffect.STEALTH.getClientId());
            for (PlayerInstance member : player.getParty().getMembers())
            {
                // And re-add
                if (member != player)
                {
                   packet.writeH(AbnormalVisualEffect.STEALTH.getClientId());
                }
            }
        }

 

something like this? this dont work of course

this seems correct, but you will also need to sent a packet for when players leave party

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, nikpappa said:

this seems correct, but you will also need to sent a packet for when players leave party

i need it when a X skill effected is active plus this dont work 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.