Jump to content
  • 0

How to add or change quest markers.


Question

Posted

Hello again.

As the title suggests i would like to ask if anyone knows where in the server (or client?) can i meddle with quest markers?

 

What i mean exactly is this:

If an npc has an available quest to give, then a marker appears over their head. Red for one time and blue for repeatable quests etc etc.

I have searched a bit to find where the option to add a marker like that is, but i couldn't find it.

 

Since i spend a lot of time working on skill ideas and class balance (and a gazillion other things for that matter) and since there has been a great deal of work from college recently

i would really appreciate it if someone could share their knowledge on that matter...

 

I don't know if that is a client (most probably) or server side question, so please feel free to move this post wherever it belongs.

 

Thanx in advance for your time.

6 answers to this question

Recommended Posts

  • 0
Posted

it is client side coded:

32733	LineageNpc2.gracia_ocommander_1hs	LineageNPCs2.gracia_ocommander_1hs_m00	3	LineageMonstersTex5.Gracia_ocommander_t00	LineageMonstersTex5.Gracia_ocommander_t01	LineageMonstersTex5.Gracia_ocommander_t02					0			2	4416	17																																	1.00000000	0	1				4	MonSound.Hit_normal_3	MonSound.Hit_Wet_1	MonSound.Hit_Bone_2	MonSound.Hit_normal_12		3	ChrSound.MNpc_Giant_Dmg_1	ChrSound.MNpc_Giant_Dmg_2	ChrSound.MNpc_Giant_Dmg_3	0			1	10282																																										1	1																																										LineageEffect.p_u002_a	0	50.00000000	250.00000000	70.00000000	1	0	0						0

i think its the 10282 number

  • 0
Posted

From what I know from quests, it is a client modification.

 

You should try questname-e.dat, where all quest related stuff (conds, description of conds, radars markers) are located.

 

Then try to compare repeatable/one time quests (perhaps quest_type column ?).

 

Btw what happens if a NPC got different types of quests ?

  • 0
Posted

I have worked with questname-e.dat extensively since i have changed several things on more than 50 quests and still going.

Unfortunately i haven't worked on them recently though, so i don't remember exactly how they work.

What i have changed is quest descriptions, names, tooltips, radar displays, item requirements so on so on.

The only thing that eludes me is the damn quest markers for some reason....

I will check it again right now to see if maybe i stupidly missed something obvious.

If there is any more info pls do share and thanx for the quick feedback :)

  • 0
Posted

Yeap i found it... it seems if you look carefully its easy to find.

Vampir was right although i just saw that...thought you had refered me to questname-e.dat as well ... :S

 

But, indeed correct, it isn't in the questname-e.dat but in the npcgrp.dat!

 

Since i found it, i think it would be good to share how it works. This is for Freya Chronicle.

 

In the npcgrp.dat you will find all the npcs, their Ids, sounds, meshes etc etc.

After the sounds you will find the "quest_be" column where the quest markers are dealt. I will present an example but not the entire npc line cause it's huge:

 

We will look at Sir Collin Windawood who you MUST know if you've played L2 even a little bit.

Sir Collin takes part in 3 different quests: Step into the Future, Find Sir Windawood, Trial of Duty

Here is the part of this npc's data we care about:

 

ChrSound.MNpc_Fighter_Dmg_3<--this is where sound data ends--> 0 3 6 155 212        <-----after a while of blank line----->                3 3 4294967295 17

 

 

Ok lets break it down:

The first 0 i have no idea what it is but it doesnt concern us.

 

The number 3 afterwards is to say how many quests this npc is involved in.

The next three numbers are the quest Ids found in the questname-e.dat if you search the quest by name.

 

After a while of blank space which is left there in case the npc is involved in a gazillion different quests, you will find the next part we are interested in.

 

The number 3 here is once again how many quests this npc is involved in and the info about them.

The next three numbers are the STAGES of the respective quests at which the quest marker will appear. Keep in mind that for some reason you have to enter the previous stage rather than the actuall one!

 

Again:

3 6 155 212                          <-----after a while of blank space----->                3 3 4294967295 17

 

So in this case sir windawood:

takes part in 3 quests

The first quest's Id is "6"

The second quest's Id is "155"

and the third's Id is "212"

 

now the quest marker will appear over his head:

for the first quest: at the 2nd stage (3-1=2)

for the second quest: at the 1st stage (yes the number 4294967295 is effectively the 0 || 1-1=4294967295)

for the third quest: at the 16th stage (17-1=16)

 

ok im done...fiouf!

 

Hope this makes some sense and it may help someone....

Oh i forgot to mention everything else is done in the questname-e.dat. For example if the quest marker is blue or red etc etc..

Guest
This topic is now closed to further replies.


  • Posts

    • in conclusion when somebody who has a project for 10+ years still on development writes an e-say to try until you succeed and then advertises his project, one of the reasons is he needs money, so l2j has once more become pure expensive hobby, you wont make money out of it.   You can still use L2jFrozen and get better results for this, i know some people that done it    keep in mind that C in aCis stands for Crappy, and after all these years its not a cool wordplay anymore, its a fact, prove me wrong.
    • First, don't really follow the "main voice", moreover if you consider it an hobby. Simply do what you want, you got only one life so use it as you want. If you make it an hobby, it's exactly like piano, or velo - only practice makes you better.   Secondly, how do you learn things ? It's actually a really important question, since some can simply be scholar, read books (theory) then practice ; and some simply can't read books. I'm the second type, I hated school, I find it boring - my knowledge in Java comes from try-and-fail. You improve your coding style every year or so, I can myself rewrite my own code (which I already considered top-notched) after a while. You always learn something new - even if Java barely evolves. L2J is a fun way to learn programming, it's a giant sandbox where you can edit anything, and I believe it should be taken as it.   My own way of learning was as follow : Add existing customs, no matter what they are : the point is to know main classes used by L2J / customs. L2J is barely Java knowledge ; the true knowledge is to know WHAT to search in WHICH location (what I call, organization). You have to understand than EVERYTHING you think already exists, in a form on another, in the source code. A custom is only the association of the different mechanisms you found "here and there", glued together in a proper goal. Once you know main classes to edit, and the customs you added are compiling fine, the main point is to know WHAT exactly you DID. Try to understand WHY and WHERE you actually copied the code. Third point would be to MANIPULATE the customs you added in order to fit your wish. First edit little values, then logic conditions ; eventually add a new Config, or a new functionality to the custom. Fourth point would be to begin to craft your own ideas. Once again, EVERYTHING already exists, in a form or another. You want a cycled event ? You got Seven Signs main task as exemple. Npc ? Search any type of Npc and figure out what it does. Fifth point would be to understand Java - mostly containers (WHAT and WHERE to use them), variables types and main Java mechanisms (inheritance, static modifier, etc). You should also begin to cut your code into maintainable classes or methods. Java can actually run without optimization, but bigger your ideas, more optimized and well-thought it should be. It's direct saved time in the future, and you would thank yourself doing so. Main tips : ALWAYS use any type of versioning system - GIT or SVN. It allows to save your work, step by step and eventually revert back anytime you want if you terribly messed up. L2J is 80% organization knowledge, and 20% Java knowledge. Basically, if you know WHAT and WHERE to search, if you aren't dumb, it's easy to replicate and re-use things. Cherry on top is to use a already good coded pack to avoid copy-paste crap and get bad habits. Avoid any type of russian or brazilian packs, for exemple - their best ability is to leak someone's else code. Obviously you need some default sense of logic, but Java and programming in general help you to improve it.   Finally, most of your questions could be solved joining related Discord (at least for aCis, I can't speak for others) - from the moment your question was correctly asked (and you seemed to search for the answer). My community (and myself) welcomes newbies, but got some issues with noobies.   The simpliest is to try, fail and repeat until you succeed - it sounds stupid, but that's basically how life works.   PS : about Java ressources, before ChatGPT, it was mostly about stackoverflow website, and site like Baeldung's one. With ChatGPT and alike, you generally double-cross AI output to avoid fucked up answers. Also, care about AI, they are often hallucinating really hard, even today. They can give you complete wrong answer, you tell them they are wrong, and they say "indeed, I suck, sorry - here's a new fucked up answer". You shouldn't 100% rely over AI answer, even if that can give sometimes legit answers, full code or just skeletons of ideas.   PPS : I don't think there are reliable ressources regarding L2J itself, also most of the proposed code decays pretty fast if the source code is actually maintained (at least for aCis). Still, old coded customs for old aCis sources are actually a good beginner challenge to apply on latest source.
    • WTS: - AQ - Baium - Zaken  - Frintezza - Vesper Fighter Focus Fire Element   pm for detalis
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock