Jump to content
  • 0

Blow Skills' Success Sound Effect


showma

Question

on offmod when a character land a blow skill (deadly, mortal, lethal etc..) successfully it has a critical strike effect, but on l2j it has the same effect for both success and fail. I never saw it working properly on l2j. why?

 

here is a video about it.

 

Link to comment
Share on other sites

Recommended Posts

  • 0

My first guess, because its NPC, some packs block dmg on NPC, therefore they get no damage and make no sound/effect/stance etc.

Sound effect is not linking with npcs block or what ever with 'targets'.. its clearly about the attacker and his conditions

 

so which pack has it right? I tested it on acis btw

 

acis havent implemented this one as i know. i dont know where you can find it completed .. im working with my own so .. :/

Edited by melron
Link to comment
Share on other sites

  • 0

Since we are speaking for effect nothing to do with damage..

Should work normally..

Test it here l2centos.com

Edited by Reborn12
Link to comment
Share on other sites

  • 0

My first guess, because its NPC, some packs block dmg on NPC, therefore they get no damage and make no sound/effect/stance etc.

L2j Developer ? wtf ? what is this ? just tell me what are you going there ?

 

they show on video how work on  official and ask how can fix it on l2j and you talk about packs ? wtf ?

 

one Moderator can get this membership from this new " java dev " ( it is ridiculous )

 

[OnTopic]

 

package net.sf.l2j.gameserver.handler.skillhandlers;

Blow.java

 

on success send packet sound

Edited by pirama
Link to comment
Share on other sites

  • 0

how can I do that exactly?

 

find this

if (activeChar instanceof L2PcInstance)
        ((L2PcInstance) activeChar).sendDamageMessage(target, (int) damage, false, true, false);

and make it

if (activeChar instanceof L2PcInstance)
{
	((L2PcInstance) activeChar).sendDamageMessage(target, (int) damage, false, crit, false);
	activeChar.sendPacket(new PlaySound("skillsound.critical_hit_02"));
}
Edited by pirama
Link to comment
Share on other sites

  • 0

 

find this

if (activeChar instanceof L2PcInstance)
        ((L2PcInstance) activeChar).sendDamageMessage(target, (int) damage, false, true, false);

and make it

if (activeChar instanceof L2PcInstance)
{
	((L2PcInstance) activeChar).sendDamageMessage(target, (int) damage, false, crit, false);
	activeChar.sendPacket(new PlaySound("skillsound.critical_hit_02"));
}

It says playsound cannot be resolved to a type after I edit the code. sry for being a nab Im new at this

Link to comment
Share on other sites

  • 0

It says playsound cannot be resolved to a type after I edit the code. sry for being a nab Im new at this

you mean this (new PlaySound ...... )   ?

 

you have add the import ?

 

import net.sf.l2j.gameserver.network.serverpackets.PlaySound;

 

your pack is ?

 

go the mouse on error and get print screen

Edited by pirama
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • thx for answer, i tried and woks encrypting, but i still having crashes 😞 i changed the icon in skillgrp.dat from "icon.skill0003" to "Myicons.misil" as i saved the file before endec and nothing. this is the report i got
    • New Season coming May 2024! First post updated      Website: L2Kain.net  Discord: https://discord.gg/l2kain  Wiki: https://info.kain.ws/   Important Dates   Server Start: TBD  Open Beta Test: 10th of May 2024!   Basic Information     Briefly about the concept of the server! We decided to move away from the standard Mid-Rate server concept and keep the mechanics of our beloved Lineage 2 that everyone loves! Massive battles for epic bosses, battles for profitable farming locations, resource spoilage and equipment crafting, daily instances, a balanced economy and much more. This server is build as a Craft-PvP concept. The goal is to gather players with a variety of preferences in the game and make a high-quality and interesting server with alternative character development options. We are well aware that "grinding" is an integral part of the game, but we diluted the boring and the same type of farming with interesting solutions and non-standard mechanics!   We have prepared a new High Five x25 on Modern Client for you. This server will be another step in the development of the platform and the project as a whole! Your appeals to those. support was not ignored, which means the new server will be even better than the previous one!      ⭐ Promotions and Bonuses for new players!     ⭐ Events and Giveaways daily!   ⭐ Rewards for Voting!   ℹ️ Server Rates Learn more about server rates! Server rates are configured in such a way that farming is best rewarded. Adena, drops, quests, various rewards and prices in the game store are well balanced among themselves!   Basic Server Rates:  ⭐ Experience & Skill Points - x25  ⭐ Adena Drop - x15 & Fixed Chance 66%  ⭐ Drop Rates - x10  ⭐ Spoil Rates - x10   Crafting keys, recipes drop & spoil with fixed amount from 2 to 3 and increased chances on all locations and quests  related to farm them.  ⭐ Quest Rates - x5  ⭐ Fortresses & Sieges - x5  ⭐ Raid Bosses & Epic Bosses - x1  ⭐ Weight Limit - x10      Connect with Us:  Discord: https://discord.gg/l2kain  Facebook: https://www.facebook.com/KainLineage2  TikTok: https://www.tiktok.com/@l2kain.net  YouTube: https://www.youtube.com/@Lineage2Kain
  • Topics

×
×
  • Create New...