Playable vs Doors

Issue #6 new
Sahar Atias created an issue

when trying to attack a door with a summon a path is never being found, it always returns at:

@Override
protected void onIntentionAttack(L2Character target)
{
   if ((Config.PATHFINDING > 0) && (PathFinding.getInstance().findPath(_actor.getX(), _actor.getY(), _actor.getZ(), target.getX(), target.getY(), target.getZ(), _actor.getInstanceId(), true) == null))
   {
      return;
   }

   super.onIntentionAttack(target);
}

Well seems like this bug applies to players too, doors are somewhat "fine", but walls are like hell, you need to be supreme close and in the correct xy position in the friggin pixel in orde to be able to attack.

Not to mention that even if maybeMoveToPawn returns true because you are far from door/wall, the character still wouldn't do any movement towards it (perheps same issue with pathfinding for summons, no path could be found), you need to manually press near the door until you are in the correct position for attack.

Comments (3)

  1. HorridoJoho

    Please try out the patch from this snipped.

    Note that everywhere where doors could be involved to interact, be it talking or attacking, it must be checked with the new getInteractX() and getInteractY() introduced with that patch.

  2. Log in to comment