L2JMobius

Free Users => Shares/Contributions => Committed User Contributions => Topic started by: panther on November 20, 2022, 04:33:02 PM

Title: [Fixed] Q10797_CrossingFate
Post by: panther on November 20, 2022, 04:33:02 PM
Delete.
Title: Re: [Fixed] Q10797_CrossingFate
Post by: Mobius on December 09, 2022, 09:05:09 AM
Returning null avoids exploiting.

Try this instead.
Code: [Select]
Index: dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java
===================================================================
--- dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java (revision 11051)
+++ dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java (working copy)
@@ -85,11 +85,13 @@
  case "31683-02.htm":
  case "31683-03.htm":
  {
+ htmltext = event;
  break;
  }
  case "31683-04.htm":
  {
  qs.startQuest();
+ htmltext = event;
  break;
  }
  case "31683-07.html":
Title: Re: [Fixed] Q10797_CrossingFate
Post by: panther on December 09, 2022, 12:43:24 PM
Returning null avoids exploiting.

Try this instead.
Code: [Select]
Index: dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java
===================================================================
--- dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java (revision 11051)
+++ dist/game/data/scripts/quests/Q10797_CrossingFate/Q10797_CrossingFate.java (working copy)
@@ -85,11 +85,13 @@
  case "31683-02.htm":
  case "31683-03.htm":
  {
+ htmltext = event;
  break;
  }
  case "31683-04.htm":
  {
  qs.startQuest();
+ htmltext = event;
  break;
  }
  case "31683-07.html":

It works fine without any problems!! :D
Title: Re: [Fixed] Q10797_CrossingFate
Post by: Mobius on December 11, 2022, 06:09:08 AM
Committed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/4b81d68a40f19e70f1fe4dc9d350e3cb2edc322b