diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java index 2f47bb6bd5..e0cc882419 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java @@ -229,6 +229,11 @@ public class Q039_RedEyedInvaders extends Quest if ((partyMember != null) && (npcId != MAILLE_LIZARDMAN)) { final QuestState st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } + final int[] list = SECOND_DP.get(npcId); if (st.dropItems(list[0], 1, 30, list[2]) && (st.getQuestItemsCount(list[1]) == 30)) { diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java index 2e01e7cd7b..f1287f3afa 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java @@ -228,6 +228,10 @@ public class Q374_WhisperOfDreams_Part1 extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } if (st.dropItems(SEALED_MYSTERIOUS_STONE, 1, 1, 1000)) { diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java index a54fafe37e..619c8d9810 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java @@ -214,6 +214,10 @@ public class Q376_ExplorationOfTheGiantsCave_Part1 extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } if (st.dropItems(MYSTERIOUS_BOOK, 1, 1, 1000)) { diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java index bf3abd8dd8..e7c7e92d6a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java @@ -353,6 +353,10 @@ public class Q605_AllianceWithKetraOrcs extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } final int cond = st.getInt("cond"); if (cond == 6) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java index 67446c2b1e..41597572c9 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java @@ -353,6 +353,10 @@ public class Q611_AllianceWithVarkaSilenos extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } final int cond = st.getInt("cond"); if (cond == 6) diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java index 2f47bb6bd5..e0cc882419 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q039_RedEyedInvaders/Q039_RedEyedInvaders.java @@ -229,6 +229,11 @@ public class Q039_RedEyedInvaders extends Quest if ((partyMember != null) && (npcId != MAILLE_LIZARDMAN)) { final QuestState st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } + final int[] list = SECOND_DP.get(npcId); if (st.dropItems(list[0], 1, 30, list[2]) && (st.getQuestItemsCount(list[1]) == 30)) { diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java index 2e01e7cd7b..f1287f3afa 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q374_WhisperOfDreams_Part1/Q374_WhisperOfDreams_Part1.java @@ -228,6 +228,10 @@ public class Q374_WhisperOfDreams_Part1 extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } if (st.dropItems(SEALED_MYSTERIOUS_STONE, 1, 1, 1000)) { diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java index a54fafe37e..619c8d9810 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q376_ExplorationOfTheGiantsCave_Part1/Q376_ExplorationOfTheGiantsCave_Part1.java @@ -214,6 +214,10 @@ public class Q376_ExplorationOfTheGiantsCave_Part1 extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } if (st.dropItems(MYSTERIOUS_BOOK, 1, 1, 1000)) { diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java index bf3abd8dd8..e7c7e92d6a 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q605_AllianceWithKetraOrcs/Q605_AllianceWithKetraOrcs.java @@ -353,6 +353,10 @@ public class Q605_AllianceWithKetraOrcs extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } final int cond = st.getInt("cond"); if (cond == 6) diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java index 67446c2b1e..41597572c9 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q611_AllianceWithVarkaSilenos/Q611_AllianceWithVarkaSilenos.java @@ -353,6 +353,10 @@ public class Q611_AllianceWithVarkaSilenos extends Quest } st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } final int cond = st.getInt("cond"); if (cond == 6)