Jump to content
  • 0

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

Recommended Posts

  • 0
Posted
4 hours ago, L2VANPER said:

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

?

  • 0
Posted
7 hours ago, L2VANPER said:

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

Use English mate.

Thanks.

  • 0
Posted

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

  • 0
Posted
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

  • 0
Posted
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

  • 0
Posted
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?

  • 0
Posted

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

  • 0
Posted
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 

  • 0
Posted

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..

  • 0
Posted
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 

  • 0
Posted
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

  • 0
Posted
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

  • 0
Posted
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 

Guest
This topic is now closed to further replies.



×
×
  • Create New...