L2JMobius

Helios Q10398 ASuspiciousBadge - dupe experience

RootShell · 3 · 155

Offline RootShell

  • Heir
  • **
    • Posts: 12
The quest does not end and allows you to dupe experience.

Possible fix

Code: [Select]
--- ./Q10398_ASuspiciousBadge_bug.java  2026-01-17 23:51:28.000000000 +0300
+++ Q10398_ASuspiciousBadge.java        2026-01-20 18:09:51.122102711 +0300
@@ -92,7 +92,8 @@
                        {
                                if (qs.isCond(2))
                                {
-                                       qs.exitQuest(false, true);
+                                       qs.setCond(0);
+                                       qs.setState(State.COMPLETED);
                                        giveItems(player, EAB, 5);
                                        giveStoryQuestReward(player, 36);
                                        if (player.getLevel() >= MIN_LEVEL)


Offline Trevor The Third

  • Elder
  • ****
    • Posts: 139
Here is a fix for all projects:
Code: (diff) [Select]
diff --git a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
new file mode 100644
index 0000000..685d5e6
--- /dev/null
+++ b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
@@ -0,0 +1,3 @@
+<html><body>Paterson's Disciple Bacon:<br>
+Thank You for bringing all those <font color="LEVEL">Unidentified Suspicious Badges</font>! I'm gonna need some more time for experiments to figure out what they are for...<br>
+</body></html>
\ No newline at end of file
diff --git a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
new file mode 100644
index 0000000..685d5e6
--- /dev/null
+++ b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
@@ -0,0 +1,3 @@
+<html><body>Paterson's Disciple Bacon:<br>
+Thank You for bringing all those <font color="LEVEL">Unidentified Suspicious Badges</font>! I'm gonna need some more time for experiments to figure out what they are for...<br>
+</body></html>
\ No newline at end of file
diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
new file mode 100644
index 0000000..685d5e6
--- /dev/null
+++ b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
@@ -0,0 +1,3 @@
+<html><body>Paterson's Disciple Bacon:<br>
+Thank You for bringing all those <font color="LEVEL">Unidentified Suspicious Badges</font>! I'm gonna need some more time for experiments to figure out what they are for...<br>
+</body></html>
\ No newline at end of file
diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/Q10398_ASuspiciousBadge.java b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/Q10398_ASuspiciousBadge.java
index 6a1e3ab..d2cd3d2 100644
--- a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/Q10398_ASuspiciousBadge.java
+++ b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/Q10398_ASuspiciousBadge.java
@@ -99,6 +99,7 @@
  {
  addExpAndSp(player, 6135787, 914);
  }
+ htmltext = event;
  }
  break;
  }
diff --git a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
new file mode 100644
index 0000000..685d5e6
--- /dev/null
+++ b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
@@ -0,0 +1,3 @@
+<html><body>Paterson's Disciple Bacon:<br>
+Thank You for bringing all those <font color="LEVEL">Unidentified Suspicious Badges</font>! I'm gonna need some more time for experiments to figure out what they are for...<br>
+</body></html>
\ No newline at end of file
diff --git a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
new file mode 100644
index 0000000..685d5e6
--- /dev/null
+++ b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/quests/Q10398_ASuspiciousBadge/33846-03.html
@@ -0,0 +1,3 @@
+<html><body>Paterson's Disciple Bacon:<br>
+Thank You for bringing all those <font color="LEVEL">Unidentified Suspicious Badges</font>! I'm gonna need some more time for experiments to figure out what they are for...<br>
+</body></html>
\ No newline at end of file