Proper question marks for Tutorial quest.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Grand Master Roien:<br>
|
<html><body>Grand Master Roien:<br>
|
||||||
Go to <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30008-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grand Master Roien:<br>
|
||||||
|
Go to <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Grand Magister Gallint:<br>
|
<html><body>Grand Magister Gallint:<br>
|
||||||
Go to <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30017-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grand Magister Gallint:<br>
|
||||||
|
Go to <font color="LEVEL">Talking Island Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Dark Elf Chief Mithraell:<br>
|
<html><body>Dark Elf Chief Mithraell:<br>
|
||||||
Go to <font color="LEVEL">Dark Elf Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Dark Elf Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30129-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Dark Elf Chief Mithraell:<br>
|
||||||
|
Go to <font color="LEVEL">Dark Elf Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Nerupa:<br>
|
<html><body>Nerupa:<br>
|
||||||
Go to <font color="LEVEL">Elven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Elven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30370-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Nerupa:<br>
|
||||||
|
Go to <font color="LEVEL">Elven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Foreman Laferon:<br>
|
<html><body>Foreman Laferon:<br>
|
||||||
Go to <font color="LEVEL">Dwarven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Dwarven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30528-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Foreman Laferon:<br>
|
||||||
|
Go to <font color="LEVEL">Dwarven Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,4 +1,5 @@
|
|||||||
<html><body>Flame Guardian Vulkus:<br>
|
<html><body>Flame Guardian Vulkus:<br>
|
||||||
Go to <font color="LEVEL">Orc Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
Go to the <font color="LEVEL">Orc Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will teach you many useful things.<br>
|
||||||
|
Click on the <font color="LEVEL">question mark</font> on the lower right and follow the arrow to meet the Newbie Guide. Well, good luck!<br>
|
||||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
</body></html>
|
</body></html>
|
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-4.html
vendored
Normal file
4
L2J_Mobius_Classic/dist/game/data/scripts/quests/Q00255_Tutorial/30573-4.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Flame Guardian Vulkus:<br>
|
||||||
|
Go to <font color="LEVEL">Orc Village</font> and meet the <font color="LEVEL">Newbie Guide</font>. He will give you much important advice. He also has a gift for you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -121,6 +121,9 @@ public class Q00255_Tutorial extends Quest
|
|||||||
COMPLETE_LOCATION.put(53, new Location(115632, -177996, -905));
|
COMPLETE_LOCATION.put(53, new Location(115632, -177996, -905));
|
||||||
}
|
}
|
||||||
private static final String TUTORIAL_BUYPASS = "Quest Q00255_Tutorial ";
|
private static final String TUTORIAL_BUYPASS = "Quest Q00255_Tutorial ";
|
||||||
|
private static final int QUESTION_MARK_ID_1 = 1;
|
||||||
|
private static final int QUESTION_MARK_ID_2 = 5;
|
||||||
|
private static final int QUESTION_MARK_ID_3 = 28;
|
||||||
|
|
||||||
public Q00255_Tutorial()
|
public Q00255_Tutorial()
|
||||||
{
|
{
|
||||||
@@ -169,7 +172,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
{
|
{
|
||||||
if (qs.isMemoState(1))
|
if (qs.isMemoState(1))
|
||||||
{
|
{
|
||||||
player.sendPacket(new TutorialShowQuestionMark(1, 0));
|
player.sendPacket(new TutorialShowQuestionMark(QUESTION_MARK_ID_1, 0));
|
||||||
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
|
player.sendPacket(TutorialCloseHtml.STATIC_PACKET);
|
||||||
player.clearHtmlActions(HtmlActionScope.TUTORIAL_HTML);
|
player.clearHtmlActions(HtmlActionScope.TUTORIAL_HTML);
|
||||||
}
|
}
|
||||||
@@ -191,9 +194,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
playTutorialVoice(player, "tutorial_voice_026");
|
playTutorialVoice(player, "tutorial_voice_026");
|
||||||
}
|
}
|
||||||
htmltext = (npc != null ? npc.getId() : player.getTarget().getId()) + "-3.html";
|
htmltext = (npc != null ? npc.getId() : player.getTarget().getId()) + "-3.html";
|
||||||
final int classId = player.getClassId().getId();
|
player.sendPacket(new TutorialShowQuestionMark(QUESTION_MARK_ID_3, 0));
|
||||||
addRadar(player, COMPLETE_LOCATION.get(classId).getX(), COMPLETE_LOCATION.get(classId).getY(), COMPLETE_LOCATION.get(classId).getZ());
|
|
||||||
playSound(player, "ItemSound.quest_tutorial");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -294,7 +295,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
case 5:
|
case 5:
|
||||||
case 6:
|
case 6:
|
||||||
{
|
{
|
||||||
return npc.getId() + "-3.html";
|
return npc.getId() + "-4.html";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -336,7 +337,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
qs.setMemoState(3);
|
qs.setMemoState(3);
|
||||||
playSound(player, "ItemSound.quest_tutorial");
|
playSound(player, "ItemSound.quest_tutorial");
|
||||||
playTutorialVoice(player, "tutorial_voice_013");
|
playTutorialVoice(player, "tutorial_voice_013");
|
||||||
player.sendPacket(new TutorialShowQuestionMark(1, 0));
|
player.sendPacket(new TutorialShowQuestionMark(QUESTION_MARK_ID_2, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -345,20 +346,41 @@ public class Q00255_Tutorial extends Quest
|
|||||||
public void onPlayerPressTutorialMark(OnPlayerPressTutorialMark event)
|
public void onPlayerPressTutorialMark(OnPlayerPressTutorialMark event)
|
||||||
{
|
{
|
||||||
final QuestState qs = getQuestState(event.getActiveChar(), false);
|
final QuestState qs = getQuestState(event.getActiveChar(), false);
|
||||||
if ((qs != null) && (event.getMarkId() == 1)) // tutorial mark
|
if (qs != null)
|
||||||
{
|
{
|
||||||
if (qs.isMemoState(1))
|
switch (event.getMarkId())
|
||||||
{
|
{
|
||||||
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
case QUESTION_MARK_ID_1:
|
||||||
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());
|
if (qs.isMemoState(1))
|
||||||
showTutorialHtml(event.getActiveChar(), "tutorial_04.html");
|
{
|
||||||
}
|
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||||
else if (qs.isMemoState(3))
|
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());
|
||||||
final int classId = event.getActiveChar().getClassId().getId();
|
showTutorialHtml(event.getActiveChar(), "tutorial_04.html");
|
||||||
addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ());
|
}
|
||||||
showTutorialHtml(event.getActiveChar(), "tutorial_06.html");
|
break;
|
||||||
|
}
|
||||||
|
case QUESTION_MARK_ID_2:
|
||||||
|
{
|
||||||
|
if (qs.isMemoState(3))
|
||||||
|
{
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case QUESTION_MARK_ID_3:
|
||||||
|
{
|
||||||
|
if (qs.isMemoState(5))
|
||||||
|
{
|
||||||
|
final int classId = event.getActiveChar().getClassId().getId();
|
||||||
|
addRadar(event.getActiveChar(), COMPLETE_LOCATION.get(classId).getX(), COMPLETE_LOCATION.get(classId).getY(), COMPLETE_LOCATION.get(classId).getZ());
|
||||||
|
playSound(event.getActiveChar(), "ItemSound.quest_tutorial");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user