Jump to content

Hello

Banned
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Hello

  1. root/uiinventory.py

    Search x2

    if not item.GetItemType() in (item.ITEM_TYPE_WEAPON, item.ITEM_TYPE_ARMOR):


    Replace

    if not item.GetItemType() in (item.ITEM_TYPE_WEAPON, item.ITEM_TYPE_ARMOR, item.ITEM_TYPE_BELT):

    3de4f8673d1e586c7e0b88f651ec4cf0.png


    ffc01df6cc1a7f541b7168b8f701e82c.png


    item_attribute.cpp

    in function int CItem::GetAttributeSetIndex()

    Search

    if (GetType() == ITEM_ARMOR)

    After whole function add

    else if (GetType() == ITEM_BELT)
    	return ATTRIBUTE_SET_BELT;

    EnbQUA5.png

     

    UPDATE:

    If you want table for item_attr mysql below:

     

    1. Open length.h and search: 

    ATTRIBUTE_SET_MAX_NUM

    and add before:

    ATTRIBUTE_SET_BELT,

    Like that: https://metin2.download/picture/97TBdRmicEaDlFZppwu21u1P3Kb6Ci19/.png

    2. Open ClientManagerBoot.cpp and search: 

    bool CClientManager::InitializeItemAttrTable()

    put here this:

    ", belt"

    Like that: https://metin2.download/picture/kZkp4UuHKP7YfcZRd8xI50O56gCtc514/.png

     

    Search ([!]Careful this line must be in bool CClientManager::InitializeItemAttrTable() )

    str_to_number(t.bMaxLevelBySet[ATTRIBUTE_SET_EAR], data[col++]);

    and add after:

    str_to_number(t.bMaxLevelBySet[ATTRIBUTE_SET_BELT], data[col++]);

    Like that: https://metin2.download/picture/8GQV74bdSZl98wmkMfcNROlFz3lLG5I4/.png

     

    If you want this for item_attr_rare table make the 2nd step but in function: bool CClientManager::InitializeItemRareTable() 

     

    And make this new table (belt) on item_attr & item_attr_rare (if you did for item_attr_rare in ClientManagerBoot.cpp )

     

    a7410ee1169fd03047161f39c837325a.png

    • Metin2 Dev 3
    • Confused 1
    • Good 2
    • Love 5
×
×
  • 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.