L2JLisvus

Would you like to react to this message? Create an account in a few clicks or log in to continue.

3 posters

    Bug Raid Boss [SOLVED]

    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Bug Raid Boss [SOLVED]

    Post  Marmok 15th March 2020, 13:56

    If you attack Raid Boss from a mountain or take him so that he falls off a cliff, Raid Boss can be attacked and he will do nothing.
    How can this be fixed?

    Bug Raid Boss [SOLVED] 3210
    DnR
    DnR
    Admin
    Admin


    Posts : 1476
    Join date : 2012-12-03
    Age : 34

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  DnR 15th March 2020, 14:41

    Are you using Geodata?
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 15th March 2020, 15:43

    DnR wrote:Are you using Geodata?

    Yes
    DnR
    DnR
    Admin
    Admin


    Posts : 1476
    Join date : 2012-12-03
    Age : 34

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  DnR 15th March 2020, 19:24

    This is one of the l2j glitch cases that have been occuring for years. There is no good server-side solution for this.

    EDITED: Might be a geodata issue. Try this geodata and let me know if issue persists: https://1fichier.com/?kc3k4itv5x1uggxu6mdk


    BR,
    DnR
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Karakan 15th March 2020, 22:12

    Never happened on my live server using the files i posted a while ago.

    With those files.... Raids might not use pathnodes everywhere, but they can always reach attacking players.

    At least way better then exploitable bosses.
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 16th March 2020, 11:51

    DnR wrote:This is one of the l2j glitch cases that have been occuring for years. There is no good server-side solution for this.

    EDITED: Might be a geodata issue. Try this geodata and let me know if issue persists: https://1fichier.com/?kc3k4itv5x1uggxu6mdk


    BR,
    DnR

    I use your geodata, the problem remains. If you stand on certain points of the cliff, you can attack the Raid Boss.

    Bug Raid Boss [SOLVED] 221_bm10

    I give a description of the bug from the forum zhyk.ru (sorry for the poor translation) :
    quote:
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Karakan 16th March 2020, 13:01

    @Marmok

    Can you make a clip and post the link here ?


    The same boss followed me up the hill and attacked me without any trouble using the same Geo-data files.
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 16th March 2020, 17:14

    @DnR
    @Karakan


    My replay kill raid boss bug:
    https://1fichier.com/?phsly9xubv5w35dq9e8z


    I learned from the cheater that the bug only works with raid boss without guards and that this was fixed on one of the servers by decreasing the range of the magic attack of the players on the Raid Boss. Then they simply will not be able to attack from the mountain. How much to reduce it, I do not know, tell me how this can be done and I will test.
    DnR
    DnR
    Admin
    Admin


    Posts : 1476
    Join date : 2012-12-03
    Age : 34

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  DnR 16th March 2020, 18:25

    Marmok wrote:@DnR
    @Karakan


    My replay kill raid boss bug:
    https://1fichier.com/?phsly9xubv5w35dq9e8z


    I learned from the cheater that the bug only works with raid boss without guards  and that this was fixed on one of the servers by decreasing the range of the magic attack of the players on the Raid Boss. Then they simply will not be able to attack from the mountain. How much to reduce it, I do not know, tell me how this can be done and I will test.

    Confirmed. Unfortunately, there is no good solution for this.
    I have a small patch that I want you to try. It includes a small change that's supposed to allow raid bosses hunt players through textures, but I'm not sure whether bosses are still exploitable or not.
    Note: Even though this patch bypasses Geodata move check, bosses will still respect canSeeTarget and canMove methods.
    Code:

    ### Eclipse Workspace Patch 1.0
    #P Lisvus_GameServer
    Index: java/net/sf/l2j/gameserver/model/L2Character.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/L2Character.java   (revision 716)
    +++ java/net/sf/l2j/gameserver/model/L2Character.java   (working copy)
    @@ -673,7 +673,7 @@
              return;
           }
     
    -      // GeoData Los Check here (or dz > 1000)
    +      // GeoData Los Check here
           if (!GeoData.getInstance().canSeeTarget(this, target))
           {
              sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -4425,7 +4425,8 @@
     
                 if (!isInBoat)
                 {
    -               Location destiny = GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
    +               // For now, we do this to prevent raid boss glitch
    +               Location destiny = isRaid() ? new Location(x, y, z) : GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
                    // location different if destination wasn't reached (or just z coord is different)
                    x = destiny.getX();
                    y = destiny.getY();
    @@ -5175,7 +5176,7 @@
              return;
           }
     
    -      // GeoData Los Check or dz > 1000
    +      // GeoData Los Check
           if (!GeoData.getInstance().canSeeTarget(player, this))
           {
              player.sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -5567,22 +5568,17 @@
                       continue;
                    }
     
    +               if (!GeoData.getInstance().canSeeTarget(this, target))
    +               {
    +                  continue;
    +               }
    +               
                    if (skill.isOffensive())
                    {
    -                  if (this instanceof L2PcInstance)
    +                  if (((L2Character) target).isInsidePeaceZone(this, this instanceof L2PcInstance ? this : target))
                       {
    -                     if (((L2Character) target).isInsidePeaceZone((L2PcInstance) this))
    -                     {
    -                        continue;
    -                     }
    +                     continue;
                       }
    -                  else
    -                  {
    -                     if (((L2Character) target).isInsidePeaceZone(this, target))
    -                     {
    -                        continue;
    -                     }
    -                  }
                    }
     
                    targetList.add((L2Character) target);


    Try doing a decent amount of tests. If it's helpful, we might even add it to sources.


    BR,
    DnR
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 18th March 2020, 12:23

    DnR wrote:
    Marmok wrote:@DnR
    @Karakan


    My replay kill raid boss bug:
    https://1fichier.com/?phsly9xubv5w35dq9e8z


    I learned from the cheater that the bug only works with raid boss without guards  and that this was fixed on one of the servers by decreasing the range of the magic attack of the players on the Raid Boss. Then they simply will not be able to attack from the mountain. How much to reduce it, I do not know, tell me how this can be done and I will test.

    Confirmed. Unfortunately, there is no good solution for this.
    I have a small patch that I want you to try. It includes a small change that's supposed to allow raid bosses hunt players through textures, but I'm not sure whether bosses are still exploitable or not.
    Note: Even though this patch bypasses Geodata move check, bosses will still respect canSeeTarget and canMove methods.
    Code:

    ### Eclipse Workspace Patch 1.0
    #P Lisvus_GameServer
    Index: java/net/sf/l2j/gameserver/model/L2Character.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/L2Character.java (revision 716)
    +++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)
    @@ -673,7 +673,7 @@
     return;
     }
     
    - // GeoData Los Check here (or dz > 1000)
    + // GeoData Los Check here
     if (!GeoData.getInstance().canSeeTarget(this, target))
     {
     sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -4425,7 +4425,8 @@
     
     if (!isInBoat)
     {
    - Location destiny = GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
    + // For now, we do this to prevent raid boss glitch
    + Location destiny = isRaid() ? new Location(x, y, z) : GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
     // location different if destination wasn't reached (or just z coord is different)
     x = destiny.getX();
     y = destiny.getY();
    @@ -5175,7 +5176,7 @@
     return;
     }
     
    - // GeoData Los Check or dz > 1000
    + // GeoData Los Check
     if (!GeoData.getInstance().canSeeTarget(player, this))
     {
     player.sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -5567,22 +5568,17 @@
     continue;
     }
     
    + if (!GeoData.getInstance().canSeeTarget(this, target))
    + {
    + continue;
    + }
    +
     if (skill.isOffensive())
     {
    - if (this instanceof L2PcInstance)
    + if (((L2Character) target).isInsidePeaceZone(this, this instanceof L2PcInstance ? this : target))
     {
    - if (((L2Character) target).isInsidePeaceZone((L2PcInstance) this))
    - {
    - continue;
    - }
    + continue;
     }
    - else
    - {
    - if (((L2Character) target).isInsidePeaceZone(this, target))
    - {
    - continue;
    - }
    - }
     }
     
     targetList.add((L2Character) target);


    Try doing a decent amount of tests. If it's helpful, we might even add it to sources.


    BR,
    DnR

    Thank you, I tested the patch, RB now crawls onto any mountain and kills the players), since the geodata you dropped earlier fixed most RBs, I won’t use this patch on a live server unless the players start using the bugs again.
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 12th April 2020, 03:47

    DnR wrote:
    Marmok wrote:@DnR
    @Karakan


    My replay kill raid boss bug:
    https://1fichier.com/?phsly9xubv5w35dq9e8z


    I learned from the cheater that the bug only works with raid boss without guards  and that this was fixed on one of the servers by decreasing the range of the magic attack of the players on the Raid Boss. Then they simply will not be able to attack from the mountain. How much to reduce it, I do not know, tell me how this can be done and I will test.

    Confirmed. Unfortunately, there is no good solution for this.
    I have a small patch that I want you to try. It includes a small change that's supposed to allow raid bosses hunt players through textures, but I'm not sure whether bosses are still exploitable or not.
    Note: Even though this patch bypasses Geodata move check, bosses will still respect canSeeTarget and canMove methods.
    Code:

    ### Eclipse Workspace Patch 1.0
    #P Lisvus_GameServer
    Index: java/net/sf/l2j/gameserver/model/L2Character.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/L2Character.java (revision 716)
    +++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)
    @@ -673,7 +673,7 @@
     return;
     }
     
    - // GeoData Los Check here (or dz > 1000)
    + // GeoData Los Check here
     if (!GeoData.getInstance().canSeeTarget(this, target))
     {
     sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -4425,7 +4425,8 @@
     
     if (!isInBoat)
     {
    - Location destiny = GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
    + // For now, we do this to prevent raid boss glitch
    + Location destiny = isRaid() ? new Location(x, y, z) : GeoData.getInstance().moveCheck(curX, curY, curZ, x, y, z);
     // location different if destination wasn't reached (or just z coord is different)
     x = destiny.getX();
     y = destiny.getY();
    @@ -5175,7 +5176,7 @@
     return;
     }
     
    - // GeoData Los Check or dz > 1000
    + // GeoData Los Check
     if (!GeoData.getInstance().canSeeTarget(player, this))
     {
     player.sendPacket(new SystemMessage(SystemMessage.CANT_SEE_TARGET));
    @@ -5567,22 +5568,17 @@
     continue;
     }
     
    + if (!GeoData.getInstance().canSeeTarget(this, target))
    + {
    + continue;
    + }
    +
     if (skill.isOffensive())
     {
    - if (this instanceof L2PcInstance)
    + if (((L2Character) target).isInsidePeaceZone(this, this instanceof L2PcInstance ? this : target))
     {
    - if (((L2Character) target).isInsidePeaceZone((L2PcInstance) this))
    - {
    - continue;
    - }
    + continue;
     }
    - else
    - {
    - if (((L2Character) target).isInsidePeaceZone(this, target))
    - {
    - continue;
    - }
    - }
     }
     
     targetList.add((L2Character) target);


    Try doing a decent amount of tests. If it's helpful, we might even add it to sources.


    BR,
    DnR


    2 weeks testing on a live server with 150 online, everything works fine!
    DnR
    DnR
    Admin
    Admin


    Posts : 1476
    Join date : 2012-12-03
    Age : 34

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  DnR 13th April 2020, 17:27

    Did you make use of my patch to achieve this result? Or everything went smoothly on its own?
    avatar
    Marmok


    Posts : 47
    Join date : 2020-03-10

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Marmok 13th April 2020, 19:07

    DnR wrote:Did you make use of my patch to achieve this result? Or everything went smoothly on its own?

    using your patch
    DnR
    DnR
    Admin
    Admin


    Posts : 1476
    Join date : 2012-12-03
    Age : 34

    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  DnR 20th May 2020, 16:17

    Patch added to trunk. Thanks a lot for your feedback.

    Sponsored content


    Bug Raid Boss [SOLVED] Empty Re: Bug Raid Boss [SOLVED]

    Post  Sponsored content


      Current date/time is 16th October 2024, 19:22