GsL Posted May 7, 2021 Posted May 7, 2021 (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 May 7, 2021 by GsL
0 BAN_L2JDev Posted May 7, 2021 Posted May 7, 2021 eu queria muito saber onde eu brincava com os efeitos dentro dos sedpackts
0 GsL Posted May 8, 2021 Author Posted May 8, 2021 4 hours ago, L2VANPER said: eu queria muito saber onde eu brincava com os efeitos dentro dos sedpackts ?
0 Vision Posted May 8, 2021 Posted May 8, 2021 7 hours ago, L2VANPER said: eu queria muito saber onde eu brincava com os efeitos dentro dos sedpackts Use English mate. Thanks.
0 GsL Posted May 8, 2021 Author Posted May 8, 2021 I wanna add an effect like stun as example to party members.. is it possible to be seen only by party members only ?
0 BAN_L2JDev Posted May 9, 2021 Posted May 9, 2021 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 GsL Posted May 9, 2021 Author Posted May 9, 2021 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 Zake Posted May 9, 2021 Posted May 9, 2021 Just broadcast MagicSkillUse to a specific group of players
0 GsL Posted May 9, 2021 Author Posted May 9, 2021 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 Zake Posted May 9, 2021 Posted May 9, 2021 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 GsL Posted May 9, 2021 Author Posted May 9, 2021 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 melron Posted May 9, 2021 Posted May 9, 2021 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 GsL Posted May 9, 2021 Author Posted May 9, 2021 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 GsL Posted May 10, 2021 Author Posted May 10, 2021 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 nikpappa Posted May 10, 2021 Posted May 10, 2021 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 GsL Posted May 10, 2021 Author Posted May 10, 2021 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
Question
GsL
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 GsL33 answers to this question
Recommended Posts