Jump to content

Recommended Posts

Posted

Hi guys,

 

as the topic says, my question is. What do you use to edit .dat files and any other files in Lineage 2? We all probably know L2FileEdit, but editing text files in that is sooo painful, that I decided to ask for few tips and ideas how do YOU edit the files?

 

For example me:

 

I was really pissed off regarding editing text files in L2FE, so I copy whole text into excel, I have all columns straight up and I do edit it there, or  I copy it once more into Notepad++ and edit files there. Then I usually copy it back and encrypt or use L2encdec to put the files on their place. Still, this kind of workflow is cumbersome, so I would like to improve it.

 

What is your workflow and how do you edit your files? Let's collaborate on this topic and I hope we gotta get some inspiration from others :) Thanks in advance

Posted

i use notepad++, if you know how to set and use it well and know the basic .grp's structures then i tink you have the fastest speed this way !

customize and set notepad++ to be confortable to you when you use it

testing things around is allways a good idea i tink :P

Posted

Ultimate File Edit...it has GRID mode

What's that? Google did not find anything about such a thing. 

 

i use notepad++, if you know how to set and use it well and know the basic .grp's structures then i tink you have the fastest speed this way !

customize and set notepad++ to be confortable to you when you use it

testing things around is allways a good idea i tink :P

Could you give me some idea how did you set up your notepad++ workflow? thanks :)

Posted

Thank you for provided link, looks promising, gonna check it out. 

 

 

 

Anyone else has some inspiration or wanna share his setup with other so we can learn from each other and get better? :) 

Posted

Anyone else has some inspiration or wanna share his setup with other so we can learn from each other and get better? :)

 

some .grp's tips

basicaly you need to take the path/name of texture/mesh and implement it in a new code

to create a new linecode you copy an working one an modify the id, mesh, texture, damage, weight, . . . etc

 

incomplete and not 100% exact info for the moment

hope is usefull for some of you :)

 

 

 

if you have for example

 

item id :  30001

item name :  Mana Potion

 

after you set the item in sql, server, etc you need to implement in your client system too

 

basic

EtcItemgrp.dat -> this is the phisical item that you see in your inventory and his icon

ItemName-e.dat  -> this is his name and description

 

optional for advanced effects like sound and others

Skillgrp.dat -> this is the skill information like how long will be casted , icon ,range . . .

SkillName-e.dat -> name ofcorse and description

SkillSoundgrp -> the sound

 

use the codes from other items and see how they are made

for example take an item from game that you know wath is doing and try to understand its code

 

hope this helps a little bit

 

 

 

Weapongrp.dat

 

0    34001    1    1    6    10    0    dods_ixion_bigsword.dods_ixion_bigsword    dods_ixion_bigsword.dods_ixion_bigsword        dods_ixiontex.ixion_buffer_sword    dods_ixiontex.ixion_buffer_sword            0    0    0    0    0    1    1    0    icon.etc_reaper_i00    icon.etc_reaper_i00    icon.etc_reaper_i00            -1    *1    47    1    0    0        1        *2    *3    *2    dods_ixion_bigsword.dods_ixion_bigsword    dods_ixion_bigsword.dods_ixion_bigsword    *4    *4    *5    dods_ixiontex.ixion_buffer_sword    dods_ixiontex.ixion_buffer_sword            4    ItemSound.public_sword_shing_8    ItemSound.sword_great_4    ItemSound.sword_mid_2    ItemSound.public_sword_shing_4    ItemSound.itemdrop_dualsword    ItemSound.itemequip_dualsword        10    *6    *7    *8    *9    8    0    0    0    0    *10    0    1    1    1000    0    *11    0    LineageEffect.e_u092_a    LineageEffect.e_u092_a    *13    0.00000000    *14    *13    0.00000000    *14    *15    *15    *16    *16    LineageWeapons.rangesample    LineageWeapons.rangesample    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    0.00000000    6    6    -1    -1    -1    -1                

 

*1   ->   weight

 

*2   ->   needs testing , i tink 7 is for duals ? or more precisely is like lefthand=1 and righthand=-1 and you have dual swords, than the sword in the righthand that is set to -1 will show backwords

 

*3   ->   stances are how you hold the weapons

             2 for 2H sword

             3 for dual swords

             4 for pole & 2H staff

             8 for fists ? not tested

             9 for rapier

 

*4   ->   if you set 1 is for weapons with skeleton + texture and no animations

             if you set 2 is for weapons with skeleton + texture + animation

 

*5   ->   i tink is needed a litle test here too

             if you set 2 than the weapon will have 4 slots for example 2 for skeleton and 2 for texture

             if you set 4 than the weapon will have 6 slots for example 2 for skeleton and 2 for texture and 2 for animations

 

*6   ->   p.atack

 

*7   ->   m.atack

 

*8   ->   if dualswods are equiped and the stance is set for dualswords 1 will only show right hand sword and 8 is for left and right hand sword , probability for fists , not tested butt if 8=fists than 3=duals , test's needed

             use 8 just in case if you want duals :P

 

*9   ->   grade , 0 is for no grade , 1 is for D , . . . , 6 i tink for s80 ? , 7 for s84 ? , needs tests

 

*10 ->   p.atack speed ? , needs hard test , i tink is about like for duals that are normal atack speed and daggers are very fast , 325 is hardcoded and says > normal <

 

*11 ->   1 is herro weapon , -1 is not an herro weapon

 

*12 ->   the effects that will show for right and left hand if *11 is set to 1 , if *11 is set to -1 the effect needs to be set to normal effect so the weapon effect flames will be visible when enchanted more

 

testing   1   ->   the sound haves 6 slots i tink

                       1 is for p.attack hiting mob

                       2 is for p.crit.attack

                       3 is for m.attack

                       4 is for m.crit.attack

                       5 for drop

                       6 for equip

 

*13 ->   the effect is more longer and or bigger i tink , some are just moved back to te hand or forward to the tip of the sword i tink

 

*14 ->   the effect is moved right or left so as you wach the char from the front , the weapon from left (for char perspective is right hand) if value is like negative wil have effect moved to right (for char view is moved to left)

 

*15 ->   the  effect is animated or moving more to the front or back

 

*16 ->   the effect is bigger i tink

 

 

 

Armorgrp

 

1    13141    0    0    5    2    0    dropitems.drop_sack_m00            dropitemstex.drop_sack_t00                0    0    0    0    0    1    0    0    icon.armor_leather_helmet_i00                    -1    *1    14    1    0    0        1        6    1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1        1            0                0            LineageEffect.p_u002_a    1                    ItemSound.itemdrop_armor_leather    ItemSound.itemequip_armor_helmet    1    0    0    *2    0    *3    *4    0    0

 

1    932    0    0    4    5    0    dropitems.drop_necklace_m00            dropitemstex.drop_necklace_t00                0    0    0    0    0    1    0    0    icon.accessary_necklace_of_holy_spirit_i00                    -1    150    4    1    0    0        1        3    1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1        1            0                0            LineageEffect.p_u002_a    1                    ItemSound.itemdrop_neckles    ItemSound.itemequip_etc_neckles    1    0    0    7    0    0    72    0    0

1    870    0    0    4    5    0    dropitems.drop_earring_m00            dropitemstex.drop_earring_t00                0    0    0    0    0    1    0    0    icon.accessary_earing_of_holy_spirit_i00                    -1    150    4    1    0    0        1        1    1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1        1            0                0            LineageEffect.p_u002_a    1                    ItemSound.itemdrop_pair    ItemSound.itemequip_etc_pair    1    0    0    7    0    0    54    0    0

1    901    0    0    4    5    0    dropitems.drop_ring_m00            dropitemstex.drop_ring_t00                0    0    0    0    0    1    0    0    icon.accessary_ring_of_holy_spirit_i00                    -1    150    3    1    0    0        1        4    1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                    1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1                    1                        1        0    255                                                                1                                1        1            0                0            LineageEffect.p_u002_a    1                    ItemSound.itemdrop_ring    ItemSound.itemequip_etc_ring    1    0    0    7    0    0    36    0    0

 

*1   ->   weight

 

*2   ->   grade o , 1 , . . . , 7 is s84

 

*3   ->   p.defensive

 

*4   ->   m.defensive

 

 

ItemName-e

 

30001    Enchanted Mana Potion        a,A magical liquid medicine that restores MP every 2s for a certain amount of time.\0    -1    0    0                        a,    0    0        a,    0    0    0    0    0    0    0    0    0    0    a,    *1

 

*1   ->   if set to 1 than the name collor of item will be normal white

             if set to 2 than the name collor of item will be gold

 

 

 

Skillgrp

 

36001    1    0    0    60    1200    7    3.00000000    0    U    345    icon.skill4407        0    0    60    a,none\0    50    9    11    0    a,none\0

36002    1    0    0    60    1200    10    3.00000000    0    Mix06    6    icon.skill0006        0    0    60    a,none\0    0    9    11    0    a,none\0

36101    1    1    0    60    600    0    0.00000000    1    L2    524    icon.skill5662        0    0    0    a,none\0    0    -1    11    0    a,none\0

36102    *1    *2    0    *3    *4    0    *5    *6    *7    *8    icon.skill1448        0    0    *9    a,none\0    0    -1    11    0    a,none\0

 

*1   skill lvl

*2   when you open the skills panel they are clasified by

       0 is physic , 1 is magic , 2 is reinforcement , 3 is weakening , 4 is nobless , 5 is item , 6 is togle , 7 is transform , 8,9,10,11,12,13 passive unknown tabs

*3   mp cost

*4   range

*5   hittime , cast time , 3.00000000 is 3 seconds , pls use all the zeros or it might not work

*6   this i tink is for if is magic skill like for example wath to use like bss->blessed spirit shots or ss->soul shots

       if an skill is set in server to use ss and in client will be set to bss , well will be a mess of effects trust me

       remember to set correctly

*7   different annimation for char manifest , can be different for using different weapons

       if i am correct the code U will show for an female kamael with arbalet the animation from Death Roullete skill

       while the code L2 will do nothing i tink

*8   the annimation skill effect

*9   hp cost

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • 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.
    • Add prices please.
    • WTS: - AQ - Baium - Zaken  - Frintezza - Vesper Fighter Focus Fire Element   pm for detalis
    • We have the best price! L2Reborn.org Signature x1 Franz NEW!! 1KK = $20 HURRY TO BUY AT THE TOP PRICE discord - adver745645
  • 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