L2JMobius

Free Users => Solved/Invalid Bug Reports => Topic started by: snyderjgz on July 19, 2020, 03:43:27 AM

Title: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: snyderjgz on July 19, 2020, 03:43:27 AM
Hello, I just wanted to report that angels only appear once and then no longer appear only until you restart the server



(https://i.imgur.com/6vDsmxd.jpg)
Title: Re: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: Mobius on July 19, 2020, 10:07:02 PM
If quest 242 does not manage those spawns, find what does.
Title: Re: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: snyderjgz on July 20, 2020, 08:27:02 PM
Add more information about the quest

Name: Possessor Of A PreciousSoul
NÂș Quest: 242
Npc id: 31752
Spawn id: 58978, 58979, 58980.

Little description: Once the server is started, the npcs appear normally, but after talking to the angels, they disappear and do not appear again, the only solution is to restart and the same thing happens.

Note: I have seen some other posts on the subject but they do not solve the problem (at least in my case). I am using the latest revision of interlude.



Title: Re: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: Mobius on July 20, 2020, 09:07:16 PM
Try this.
Code: [Select]
Index: dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java
===================================================================
--- dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java (revision 7463)
+++ dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java (working copy)
@@ -285,7 +285,7 @@
  case ANGEL_CORPSE:
  if (cond == 4)
  {
- npc.deleteMe();
+ npc.doDie(npc);
  int hair = st.getInt("angel");
  hair++;
 
Title: Re: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: snyderjgz on July 21, 2020, 06:10:22 AM
Try this.
Code: [Select]
Index: dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java
===================================================================
--- dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java (revision 7463)
+++ dist/game/data/scripts/quests/Q242_PossessorOfAPreciousSoul/Q242_PossessorOfAPreciousSoul.java (working copy)
@@ -285,7 +285,7 @@
  case ANGEL_CORPSE:
  if (cond == 4)
  {
- npc.deleteMe();
+ npc.doDie(npc);
  int hair = st.getInt("angel");
  hair++;
 

This works correctly. Thank you very much
Title: Re: Q242 PossessorOfAPreciousSoul (Part 2)
Post by: Mobius on August 01, 2020, 07:11:44 AM
Fixed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/e3ce97529aec213ae3ffd6e57b77480e8e7ce68a