kaiserxd 0 Posted September 25, 2019 Posted September 25, 2019 Hello young people, Here is a simple protection. in -> l2jserver/gameserver/network/clientpackets/RequestMagicSkillUse.java method -> runImpl() search for: // Check the validity of the skill if (skill != null) { Add: + if (activeChar.isInSiege()) + { + //Proibe Ress em Sieges + if (skill.getId() == 1016 || skill.getId() == 1254) + { + activeChar.sendMessage("Não é possivel utilizar " + skill.getName() + " durante a Siege!"); + activeChar.sendPacket(ActionFailed.STATIC_PACKET); + return; + } + } Quote Share this post Link to post Share on other sites
thepsolartek 1 Posted April 16, 2020 Posted April 16, 2020 how can line + if (activeChar.isInSiege()) change in l2jfrozen? Quote Share this post Link to post Share on other sites
aonniemnoi 0 Posted August 18, 2020 Posted August 18, 2020 On 9/26/2019 at 6:01 AM, kaiserxd said: Hello young people, Here is a simple protection. in -> l2jserver/gameserver/network/clientpackets/RequestMagicSkillUse.java method -> runImpl() search for: // Check the validity of the skill if (skill != null) { Add: + if (activeChar.isInSiege()) + { + //Proibe Ress em Sieges + if (skill.getId() == 1016 || skill.getId() == 1254) + { + activeChar.sendMessage("Não é possivel utilizar " + skill.getName() + " durante a Siege!"); + activeChar.sendPacket(ActionFailed.STATIC_PACKET); + return; + } + } bro still cant use. that code still cant block i use l2jserver SV-6670 DP-10490 Quote Share this post Link to post Share on other sites
MaXZoR 1 Posted October 4, 2020 Posted October 4, 2020 anyone can addapt on l2jfrozen? Quote Share this post Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.