Hello
-
Posts
2 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Hello
-
-
root/uiinventory.py
Search x2
if not item.GetItemType() in (item.ITEM_TYPE_WEAPON, item.ITEM_TYPE_ARMOR):
Replaceif not item.GetItemType() in (item.ITEM_TYPE_WEAPON, item.ITEM_TYPE_ARMOR, item.ITEM_TYPE_BELT):
item_attribute.cppin function int CItem::GetAttributeSetIndex()
Search
if (GetType() == ITEM_ARMOR)
After whole function add
else if (GetType() == ITEM_BELT) return ATTRIBUTE_SET_BELT;
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 )
- 3
- 1
- 2
- 5
Bonus on Belts
in Programming & Scripts
Posted
Working, but maybe you make a mistake when you install this.