From 4e637f21333c9a1ac7d1a44346d06f52d2b26aa9 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 6 Aug 2017 12:22:04 +0000 Subject: [PATCH] More Tutorial improvements. --- .../data/scripts/handlers/bypasshandlers/QuestLink.java | 5 +++++ .../game/data/scripts/quests/Q00255_Tutorial/30008-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30009-5.html | 3 ++- .../game/data/scripts/quests/Q00255_Tutorial/30017-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30019-5.html | 3 ++- .../game/data/scripts/quests/Q00255_Tutorial/30129-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30131-5.html | 3 ++- .../game/data/scripts/quests/Q00255_Tutorial/30370-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30400-5.html | 3 ++- .../game/data/scripts/quests/Q00255_Tutorial/30528-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30530-5.html | 3 ++- .../game/data/scripts/quests/Q00255_Tutorial/30573-3.html | 1 + .../game/data/scripts/quests/Q00255_Tutorial/30575-5.html | 3 ++- .../scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java | 1 - .../data/scripts/quests/Q00255_Tutorial/tutorial_06.html | 7 ++++--- 15 files changed, 27 insertions(+), 10 deletions(-) diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java b/L2J_Mobius_Classic/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java index 04ed22dc5e..90dabb8aa6 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java +++ b/L2J_Mobius_Classic/dist/game/data/scripts/handlers/bypasshandlers/QuestLink.java @@ -109,6 +109,11 @@ public class QuestLink implements IBypassHandler for (Quest quest : quests) { + if (quest.getId() == 255) // do not list tutorial quest + { + continue; + } + final QuestState qs = player.getQuestState(quest.getScriptName()); if ((qs == null) || qs.isCreated() || (qs.isCompleted() && qs.isNowAvailable())) { diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-3.html index 026173d8c6..50bed34d7f 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-3.html @@ -1,3 +1,4 @@ Grand Master Roien:
Go to Talking Island Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30009-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30009-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30009-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30009-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-3.html index 4e2c34f419..ea89bb1fce 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-3.html @@ -1,3 +1,4 @@ Grand Magister Gallint:
Go to Talking Island Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30019-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30019-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30019-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30019-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-3.html index befcb8b0fd..ab78015333 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-3.html @@ -1,3 +1,4 @@ Dark Elf Chief Mithraell:
Go to Dark Elf Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30131-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30131-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30131-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30131-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-3.html index c1765254d9..9b9ab82387 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-3.html @@ -1,3 +1,4 @@ Nerupa:
Go to Elven Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30400-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30400-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30400-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30400-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-3.html index 21bb544974..3424293792 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-3.html @@ -1,3 +1,4 @@ Foreman Laferon:
Go to Dwarven Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30530-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30530-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30530-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30530-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-3.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-3.html index c74cfdec67..439035582f 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-3.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-3.html @@ -1,3 +1,4 @@ Flame Guardian Vulkus:
Go to Orc Village and meet the Newbie Guide. He will give you much important advice. He also has a gift for you.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30575-5.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30575-5.html index 6d038fc2ab..4dd0b4fc9c 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30575-5.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30575-5.html @@ -1,3 +1,4 @@ Newbie Helper:
-I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be! +I've taught you all I can, my child. Go now, out into the world! Live every day like it was your last! It very well might be!
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java index c192ebc0cf..5b3e0634d7 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/Q00255_Tutorial.java @@ -356,7 +356,6 @@ public class Q00255_Tutorial extends Quest } else if (qs.isMemoState(3)) { - showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000); final int classId = event.getActiveChar().getClassId().getId(); addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ()); showTutorialHtml(event.getActiveChar(), "tutorial_06.html"); diff --git a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/tutorial_06.html b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/tutorial_06.html index 357aba7452..70a9058eee 100644 --- a/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/tutorial_06.html +++ b/L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/tutorial_06.html @@ -1,5 +1,6 @@ -Oh, you found the Blue Gemstone. Good job!
-Now, return and have a conversation with the newbie helper.
- +Oh, you found the Blue Gemstone. Well done!
+Now, return and have a conversation with the Newbie Helper. Just follow the arrow above your head. +Farewell and good luck!
+ \ No newline at end of file