Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Code Block Skills Resurrection and Mass Resurrection in Siege


Recommended Posts

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;
        +        }
        +   }

 

Share this post


Link to post
Share on other sites
  • 6 months later...
  • 4 months later...
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

Share this post


Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.