Jump to content

Material subtype : DS_CHANGE_ATTR


Go to solution Solved by ARiver,

Recommended Posts

  • Premium

Hello, 

I have a stupid issue that is rocking my brain : whatever i do i can't seem to add a new material subtype fo the DS_CHANGE_ATTR system,

 

DB in navicat have the right value Serverside seem to have it right too, 

I think it's coming from Dump_proto but i can't seem to find the issue because i'vre tried to remove unused material to see if the values would changes or if they were a limitation of any kind that i didn't see,

and they do change actually but the subtype for the change attribute item still stay on 0 Client side.

Can someone ever had the same issue or help me understand where the isssue might be coming from ? 

Link to comment
https://metin2.dev/topic/34070-material-subtype-ds_change_attr/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Active+ Member

In the file dump_proto/ItemCSVReader.cpp, search within the function int get_Item_SubType_Value for the string arSub5[] =, and post it here.

It should look something like this:

 

    string arSub5[] = { "MATERIAL_LEATHER", "MATERIAL_BLOOD", "MATERIAL_ROOT", "MATERIAL_NEEDLE", "MATERIAL_JEWEL", "MATERIAL_DS_REFINE_NORMAL", "MATERIAL_DS_REFINE_BLESSED", "MATERIAL_DS_REFINE_HOLLY", "MATERIAL_DS_CHANGE_ATTR"};




Very important: do not put a comma (,) after "MATERIAL_DS_CHANGE_ATTR".

Edited by Eremit2
  • Premium
  • Solution
1 hour ago, Eremit2 said:

In the file dump_proto/ItemCSVReader.cpp, search within the function int get_Item_SubType_Value for the string arSub5[] =, and post it here.

It should look something like this:

 

    string arSub5[] = { "MATERIAL_LEATHER", "MATERIAL_BLOOD", "MATERIAL_ROOT", "MATERIAL_NEEDLE", "MATERIAL_JEWEL", "MATERIAL_DS_REFINE_NORMAL", "MATERIAL_DS_REFINE_BLESSED", "MATERIAL_DS_REFINE_HOLLY", "MATERIAL_DS_CHANGE_ATTR"};




Very important: do not put a comma (,) after "MATERIAL_DS_CHANGE_ATTR".

Thank you for your answer,  it was already done, i have added already a lot of subtypes for different items or systems that's why i didn't understand why it will Always be kept at 0 but i just figure it out : duplicate line in proto with material_leather as subtypes coming from a time when i added a bunch of items. I have deleted the lines and it works fine now,

Thanks for your time 

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.