Seby. 6 Posted July 14, 2015 Share Posted July 14, 2015 (edited) Hello I found a bug quite profitable , can someone help me to solve it? https://metin2.download/picture/btfJgP9Gne2otwl1LZdO0gX2cVkjK8Ib/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Seby. 6 Posted August 9, 2015 Author Share Posted August 9, 2015 nobody knows ? Link to comment Share on other sites More sharing options...
Rideas 168 Posted August 10, 2015 Share Posted August 10, 2015 (edited) Hello I found a bug quite profitable , can someone help me to solve it? https://metin2.download/picture/btfJgP9Gne2otwl1LZdO0gX2cVkjK8Ib/.png open char_item.cppSearch: if (item->GetWearFlag() & WEARABLE_UNIQUE) { if ((GetWear(WEAR_UNIQUE1) && GetWear(WEAR_UNIQUE1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_UNIQUE2) && GetWear(WEAR_UNIQUE2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°°Àº Á¾·ùÀÇ À¯´ÏÅ© ¾ÆÀÌÅÛ µÎ °³¸¦ µ¿½Ã¿¡ ÀåÂøÇÒ ¼ö ¾ø½À´Ï´Ù.")); return false; } if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) && !marriage::CManager::instance().IsMarried(GetPlayerID())) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°áÈ¥ÇÏÁö ¾ÊÀº »óÅ¿¡¼ ¿¹¹°À» Âø¿ëÇÒ ¼ö ¾ø½À´Ï´Ù.")); return false; } } after add: if (item->GetWearFlag() & WEARABLE_UNIQUE) { if ((GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item))) { ChatPacket(CHAT_TYPE_INFO, "Bug fix "); return false; } if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) && !marriage::CManager::instance().IsMarried(GetPlayerID())) { ChatPacket(CHAT_TYPE_INFO, "Bug fix "); return false; } } Edited August 31, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
Seby. 6 Posted August 19, 2015 Author Share Posted August 19, 2015 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now