NevesOma Posted December 8, 2019 Posted December 8, 2019 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. Tools: L2FileEdit 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. 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. Quote
L2TechSup Posted December 13, 2019 Posted December 13, 2019 BEST Guide ever ! Thanks Neves :) 1 Quote
wongerlt Posted December 13, 2019 Posted December 13, 2019 about client side just copy and paste to excel and not need to count :D http://prntscr.com/qaik55 just me advice. Quote
NevesOma Posted December 13, 2019 Author Posted December 13, 2019 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. Quote
CriticalError Posted April 30, 2020 Posted April 30, 2020 hahahaha nice one, good guide, simple but efective. Quote
รoftcorє Posted December 6, 2023 Posted December 6, 2023 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. Tools: L2FileEdit 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. 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. Quote
dgitalbox Posted January 8 Posted January 8 hello, i found dificult change armorgrp where line code if change grade ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.