Jump to content
  • 0

Blow Skills' Success Sound Effect


Question

Posted

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.

 

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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

Its the same on npc and mobs, so its something else

  • 0
Posted (edited)

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
  • 0
Posted (edited)

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

Should work normally..

Test it here l2centos.com

Edited by Reborn12
  • 0
Posted (edited)

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
  • 0
Posted (edited)

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

 

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

  • 0
Posted (edited)

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
  • 0
Posted (edited)

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

 

your pack is ?

 

go the mouse on error and get print screen

 

here u go

 

GAlOVon.png

Edited by showma
Guest
This topic is now closed to further replies.


  • Posts

    • What could be the price for source?
    • Yea actually you can tell this to whole mc shares about, there is no point on this. If you have some skills you can easy solve problems.
    • sql procedure missed and wrong...fixed it...ZOUMHS 
    • Hello Dexters! https://lineage2dex.com    This is pre-announcing of NEW season server, so we want to share some key points of it. Full details with road map, patch notes we will announce a bit latter Opening September 27 at 19:00 (UTC +3) Open Beta Test from September 23 What’s New This Season?, This is just a short preview of the most exciting changes and updates. A patch note with balance change will be posted later in this thread – one topic with all patchnotes history from 2022 year EXP/SP x25 - Over the past few seasons, our servers were drifting closer to a mid-rate style. And hard to call it now pure PVP server. That’s why we’ve reduced EXP/SP rates from x50 to x25 – making progression smoother, more balanced, and more in line with the mid-rate identity., Improved Olympiad matchmaking – opponents will be matched by strength, making feeding much harder., K/D stats for CC – track your real impact!, New In-Game Shop Interface - no more running to NPCs for supplies – buy everything directly from the interface. NPC Astarte will now only handle services like WH, sales, LS insertion, etc., Balance Adjustments - small but important tweaks for a smoother PvP experience (details in patch notes)., Replica Instance System Reworked - upgrading replicas now requires not only fragments but also real jewellery from B to S grades. You can choose from 3 instance types: PvP Instance – biggest rewards (everyone spawns together for mass PvP)., CC Instance – private instance for your CC., Party Instance – private instance for your party., , Dino Island Returns - back by popular demand: Dark Zone (PvP) and Light Zone (PvE)., Newbie Pass Questline - available at character creation – helps you get familiar with the server and make start progression faster., Clan members taxation system, Full announce - read on forum, https://forum.lineage2dex.com/threads/16723/ (edited)   We’re excited to show you how the Newbie Path will look on the Seasonal Server and share a few details about it. The Newbie Path is designed to help new players on Dex adapt more easily on project. While it won’t reveal the full content of the game, it will greatly assist during the early stages of your journey. But it’s not just for newcomers! Even veteran players will find it useful — completing Newbie Path steps will grant you small progression boosts and extra rewards(exp boosts, some gear, potions etc). Definitely worth using! You’ll be able to test the full Newbie Path system yourself during the Open Beta, launching on September 23rd!
  • 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