L2JMobius

Custom quest examples / How to make a simple quest

Mobius · 12 · 10127

Online Mobius

  • Distinguished King
  • *****
    • Posts: 17001
All russian based packs use many google translated or custom html quests to fill their missing quests.
After the addition of not done quests, we decided to add custom quests to also fill our blanks.

The following quests can be used as templates to make almost any simple go kill, or go talk quest.

Go kill X monsters / Return - Reward.
Q00529_RegularBarrierMaintenance

Get quest from either of two diffrent NPCs / Go kill X monsters / Return - Reward.
Q00683_AdventOfKrofinSubspecies

Go talk to NPC 1 / Go talk to NPC 2 / Go talk to finish NPC / Reward.
Q10516_UnveiledFafurionTemple

Go kill X monsters and also gather X items / Return - Reward.
Q10517_FafurionsMinions

Go gather X monster drops / Return - Go kill X monsters / Return - Reward.
Q10529_IvoryTowersResearchFloatingSeaJournal

Go kill X monsters and also gather X items / Return - Go gather X items / Return - Reward.
Q10518_SucceedingThePriestess

Participate in killing a raidboss / Return - Reward.
Q10519_ControllingYourTemper

Go talk to NPC 1 / Participate in killing a raidboss / Return - Reward.
Q10533_OrfensAmbition


Offline Pavlov

  • Baron
  • *****
    • Posts: 214
  • Chief Datapack Developer
    • https://l2jmobius.org/
Creating a custom quest (or editing an existing one) would require client support, right?
Lineage II · Server Development


Online CostyKiller

  • Distinguished King
  • *****
    • Posts: 998
Custom quest refers to quests already in the client that can be added but not fully retail like, if you want to add a new quest or modify one to your needs, client editing is required.


Offline Pavlov

  • Baron
  • *****
    • Posts: 214
  • Chief Datapack Developer
    • https://l2jmobius.org/
What I mean is, let's say one decides to edit an existing quest that requires killing 100 monsters by default, and the in-game quest shows that 100 monsters are required. Now, you change the required monsters to 150 within the quest's Java code on the server side only.


Will the player see that 150 monsters are required in-game because the server files were edited, or will this require client modification?
Lineage II · Server Development


Online Mobius

  • Distinguished King
  • *****
    • Posts: 17001
What I mean is, let's say one decides to edit an existing quest that requires killing 100 monsters by default, and the in-game quest shows that 100 monsters are required. Now, you change the required monsters to 150 within the quest's Java code on the server side only.


Will the player see that 150 monsters are required in-game because the server files were edited, or will this require client modification?

It will require client mod.
And as said above, not what this post is about.



Offline artemi4

  • Heir
  • **
    • Posts: 10
Is there some article that explains how to update client with custom quest, or alter existing one?


Offline artemi4

  • Heir
  • **
    • Posts: 10
Is there some article that explains how to update client with custom quest, or alter existing one?
Okay I figured it out, just modify QuestName_Classic-eu.dat file with dat editor and put new quest there.


Offline Gripao

  • Vassal
  • *
    • Posts: 4
All russian based packs use many google translated or custom html quests to fill their missing quests.
After the addition of not done quests, we decided to add custom quests to also fill our blanks.

The following quests can be used as templates to make almost any simple go kill, or go talk quest.

Go kill X monsters / Return - Reward.
Q00529_RegularBarrierMaintenance

Get quest from either of two diffrent NPCs / Go kill X monsters / Return - Reward.
Q00683_AdventOfKrofinSubspecies

Go talk to NPC 1 / Go talk to NPC 2 / Go talk to finish NPC / Reward.
Q10516_UnveiledFafurionTemple

Go kill X monsters and also gather X items / Return - Reward.
Q10517_FafurionsMinions

Go gather X monster drops / Return - Go kill X monsters / Return - Reward.
Q10529_IvoryTowersResearchFloatingSeaJournal

Go kill X monsters and also gather X items / Return - Go gather X items / Return - Reward.
Q10518_SucceedingThePriestess

Participate in killing a raidboss / Return - Reward.
Q10519_ControllingYourTemper

Go talk to NPC 1 / Participate in killing a raidboss / Return - Reward.
Q10533_OrfensAmbition

Hello!

Where can i get those quest? I im using Interlude CT0 and didnt found it con quest folder java

Thanks for your work Mobius!


Online Naker

  • Elder
  • ****
    • Posts: 124
Hello!

Where can i get those quest? I im using Interlude CT0 and didnt found it con quest folder java

Thanks for your work Mobius!
Quest are not on java folder.
\dist\game\data\scripts\quests


Offline Gripao

  • Vassal
  • *
    • Posts: 4
Quest are not on java folder.
\dist\game\data\scripts\quests

Hey! Yea i was meaning that path but that quest template not are on Interlude CT0. I checked Azteca and SevenSigns and they are not there either.


Offline SavitarGodOfSpeed

  • Baron
  • *****
    • Posts: 232
  • Here to gain knowledge
The guide requires an update. And unfortunately with the most recent chronicles you can't avoid Client modifications. So For Educational purposes Only i offer my experience in Adding a new Quest!

Step 1: Create your quest with a unique ID for this example i will refer to the Quest as "Q98765 - NewQuest"
Step 2: when you have created succesfully your quest and Eclipse is not giving you any errors you can then add the quest's name and import it in the "QuestMasterHandler.java" file.
Step 3: Go to your client and with the help of client editor add the quest on the following .dat files "questname-eu.dat" - "QuestMarkConditionData.dat"

The Following additional steps are for any recent chronicles that utilize the pop up quest windows.

Step 4: Locate in the server files the file named "NewQuestData.xml" and add your quest.
Step 5: Lacate int he client the following files and add your quest "NewQuestData-eu.dat" - "NewQuestDialog-eu.dat" - "NewQuestNpcPortrait.dat".

If i forget something feel free to correct me. This Guide was for educational purposes only.