L2JMobius

C6 Quest rogue Bug

FanaticoLineage2 · 8 · 5310

Offline FanaticoLineage2

  • Heir
  • **
    • Posts: 13
Hello, I found a bug in the quest, when you are going to kill ruins of agony, with the weapons they give you, it doesn't give you the item, no matter how many monsters you kill.

Sorry for my English, translated with google


Imagen: https://ibb.co/dPKcVL1


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16041
Try this.
Code: [Select]
Index: dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java
===================================================================
--- dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (revision 7140)
+++ dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (working copy)
@@ -197,7 +197,7 @@
  }
 
  final int equippedItemId = player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND);
- if ((equippedItemId != NETI_BOW) || (equippedItemId != NETI_DAGGER))
+ if ((equippedItemId != NETI_BOW) && (equippedItemId != NETI_DAGGER))
  {
  return null;
  }


Offline FanaticoLineage2

  • Heir
  • **
    • Posts: 13
Try this.
Code: [Select]
Index: dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java
===================================================================
--- dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (revision 7140)
+++ dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (working copy)
@@ -197,7 +197,7 @@
  }
 
  final int equippedItemId = player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND);
- if ((equippedItemId != NETI_BOW) || (equippedItemId != NETI_DAGGER))
+ if ((equippedItemId != NETI_BOW) && (equippedItemId != NETI_DAGGER))
  {
  return null;
  }


it does not work  :-\  :'(
does not give the item when kill monster.


Online G-hamsteR

  • Viscount
  • *****
    • Posts: 332
Are you killing them using NETI_BOW or NETI_DAGGER? Or are you using the //kill command?


Offline FanaticoLineage2

  • Heir
  • **
    • Posts: 13
Are you killing them using NETI_BOW or NETI_DAGGER? Or are you using the //kill command?

Using dagger and bow, everything is tested with normal character, not administrator.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16041
My patch should fix the weapon check.
Try debuging what goes wrong.


Offline tevsko

  • Knight
  • ***
    • Posts: 96
    • L2Babylon
It works perfect, and I was able to finish the quest, Thanks !! ;)





Try this.
Code: [Select]
Index: dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java
===================================================================
--- dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (revision 7140)
+++ dist/game/data/scripts/quests/Q403_PathToARogue/Q403_PathToARogue.java (working copy)
@@ -197,7 +197,7 @@
  }
 
  final int equippedItemId = player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_RHAND);
- if ((equippedItemId != NETI_BOW) || (equippedItemId != NETI_DAGGER))
+ if ((equippedItemId != NETI_BOW) && (equippedItemId != NETI_DAGGER))
  {
  return null;
  }