Jump to content

How to edit weapon grade ( L2FileEdit | Database )


Recommended Posts

Some people often ask me how to change the grade of weapons. For example, how to change a grade from grade A to grade S? Many developers make weapons, but set them with a different grade. Thanks to this manual, you will do everything yourself, and most importantly, you will learn how to do it yourself.

guide1.png.22e41d98f540418ee7c74715dc9c3

 

Tools:

  1. L2FileEdit
  2. Navicat ( for Database ) or Notepad ( if your items are in *.xml ).

 

Grades: ( In the client, the grades are numbered ).

  • 0: NoGrade 
  • 1: D Grade 
  • 2: C Grade 
  • 3: B Grade 
  • 4: A Grade 
  • 5: S Grade 
  • 6: S80 Grade

 

For weapons:

Open weapongrp, using L2FileEdit. For example ( line of weapon ):

0	ID	1	1	7	15	0	DROP_MODEL			DROP_TEXTURE			ICON					95	1600	8	0	0	7	1	1	MODEL		1	TEXTURE			4	ItemSound.sword_small_1	ItemSound.sword_big_7	ItemSound.sword_mid_6	ItemSound.public_sword_shing_4	ItemSound.itemdrop_sword	ItemSound.itemequip_sword		10	8	6	1	0	8	0	0	0	0	379	0	1	1	1000	0	-1	0			0.00000000	0.00000000	0.00000000	1.00000000	1.00000000						LineageWeapons.rangesample		0.94999999	0.55000001	0.55000001	11.00000000	0.00000000	0.00000000						

Find this part there:

ItemSound.itemequip_sword		10	8	6	1	0

After ItemSound.itemequip_sword ( for example ) count to the right 5 times, on the fifth number is the number of the grade.

Screenshot_5.png.231c117e53f265210f10552

 

As you can see, in my example my weapon’s grade number is zero, so it’s NoGrade weapon. Change zero to 5 and the grade will be changed to S. Save it.

 

Next: need to change weapon grade in Database ( or in xml package of you server project ).

Find weapon table and find your weapon ID, next find column Crystal Type and change weapon grade to your ( for example to S ). 

!Important, client know numeric values for Grades but in Database need to write Grades like "S", "S84", "A" and etc. Try.

Link to comment
Share on other sites

2 hours ago, wongerlt said:

about client side just copy and paste to excel and not need to count :D

http://prntscr.com/qaik55

just me advice.

Yes, of course you are right too. We just already on the automatically find this value. And for those who do not have Excel it will be difficult. In any case, these are the correct methods.

Link to comment
Share on other sites

  • 4 months later...
  • 3 years later...
On 12/8/2019 at 9:35 PM, NevesOma said:

Some people often ask me how to change the grade of weapons. For example, how to change a grade from grade A to grade S? Many developers make weapons, but set them with a different grade. Thanks to this manual, you will do everything yourself, and most importantly, you will learn how to do it yourself.

guide1.png.22e41d98f540418ee7c74715dc9c3

 

Tools:

  1. L2FileEdit
  2. Navicat ( for Database ) or Notepad ( if your items are in *.xml ).

 

Grades: ( In the client, the grades are numbered ).

  • 0: NoGrade 
  • 1: D Grade 
  • 2: C Grade 
  • 3: B Grade 
  • 4: A Grade 
  • 5: S Grade 
  • 6: S80 Grade

 

For weapons:

Open weapongrp, using L2FileEdit. For example ( line of weapon 😞

0	ID	1	1	7	15	0	DROP_MODEL			DROP_TEXTURE			ICON					95	1600	8	0	0	7	1	1	MODEL		1	TEXTURE			4	ItemSound.sword_small_1	ItemSound.sword_big_7	ItemSound.sword_mid_6	ItemSound.public_sword_shing_4	ItemSound.itemdrop_sword	ItemSound.itemequip_sword		10	8	6	1	0	8	0	0	0	0	379	0	1	1	1000	0	-1	0			0.00000000	0.00000000	0.00000000	1.00000000	1.00000000						LineageWeapons.rangesample		0.94999999	0.55000001	0.55000001	11.00000000	0.00000000	0.00000000						

Find this part there:

ItemSound.itemequip_sword		10	8	6	1	0

After ItemSound.itemequip_sword ( for example ) count to the right 5 times, on the fifth number is the number of the grade.

Screenshot_5.png.231c117e53f265210f10552

 

As you can see, in my example my weapon’s grade number is zero, so it’s NoGrade weapon. Change zero to 5 and the grade will be changed to S. Save it.

 

Next: need to change weapon grade in Database ( or in xml package of you server project ).

Find weapon table and find your weapon ID, next find column Crystal Type and change weapon grade to your ( for example to S ). 

!Important, client know numeric values for Grades but in Database need to write Grades like "S", "S84", "A" and etc. Try.

 

 

Very useful guide. 

For me as a beginner L2 Developer, those skill tips, must have ! 

Great work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...