How do I force the Silence to doesn't blocks the scrolls?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

How do I force the Silence to doesn't blocks the scrolls?

Post by Arantir »

Physical silence blocks the Scroll of Escape & Scroll of Resurrection. How can I change it?
I try to add "ignoreSkillMute" with value "true" to 2013/2014 skills, but there was no effect!
If I add "isPotion" to this skills Silence no more blocks the scrolls, but appeared some bugs (because scroll is not a potion, yes?). Also if add "isMagic" to skill, physical silence doesn't block it, but magic silence does. But why does "ignoreSkillMute" not work? I want that any type of silence could not block the scrolls.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How do I force the Silence to doesn't blocks the scrolls

Post by MELERIX »

Arantir wrote:Physical silence blocks the Scroll of Escape & Scroll of Resurrection. How can I change it?
I try to add "ignoreSkillMute" with value "true" to 2013/2014 skills, but there was no effect!
If I add "isPotion" to this skills Silence no more blocks the scrolls, but appeared some bugs (because scroll is not a potion, yes?). Also if add "isMagic" to skill, physical silence doesn't block it, but magic silence does. But why does "ignoreSkillMute" not work? I want that any type of silence could not block the scrolls.
it will be fixed later probably, atm Adry_85 is reworking isMagic system from skills.
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

Re: How do I force the Silence to doesn't blocks the scrolls

Post by Arantir »

MELERIX wrote:it will be fixed later probably, atm Adry_85 is reworking isMagic system from skills.
"isMagic" works fine as I noticed =) The problem is in "ignoreSkillMute" =(
Interesting thing is that "<some L2Skill variable for id 2013>.ignoreSkillMute()" really returns "true" if it is set in xml, but in some reason silence (mute) still blocks this skill.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How do I force the Silence to doesn't blocks the scrolls

Post by MELERIX »

isMagic is incomplete in L2J, you will understand later why is related with ignoreSkillMute and probably it will fix the bug :P
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

Re: How do I force the Silence to doesn't blocks the scrolls

Post by Arantir »

I think I have found this bug!
com.l2jserver.gameserver.model.actor.L2Character.checkDoCastConditions(), line:
if (!skill.isPotion() || !skill.ignoreSkillMute())
{
// block skill if char is mute ...
// ...
It must be:
if (!skill.isPotion() && !skill.ignoreSkillMute)
Another way this condition returns false only if skill "isPotion" and "ignoreSkillMute" at the same time!
Example for SOE with "ignoreSkillMute":
(!false || !true) == (true || false) == true, so script continue and see that char.isMute() of isPhisicalMute() and blocks skill!
but:
(!false && !true) == (true && false) == false -> skill is not blocked! =)
Also potions still don't blocked:
(!true && !false) == (false && true) == false

P.S.: There are more that one line like in the first quote inside the core...
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: How do I force the Silence to doesn't blocks the scrolls

Post by Zoey76 »

That was changed because there was other problem.

In my opiniuon ignore mute skill is wrong.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Arantir
Posts: 151
Joined: Wed Jan 04, 2012 7:10 pm

Re: How do I force the Silence to doesn't blocks the scrolls

Post by Arantir »

Zoey76 wrote:That was changed because there was other problem.
H-m-m-m... What the problem, may I ask?
Zoey76 wrote:In my opiniuon ignore mute skill is wrong.
It was my own choice to make scrolls non-blocked by silence, (players are tired of retail =))
Problem have become in the way to reach this feature, specific in "ignoreSkillMute"...
Post Reply