FuveZeq 0 Posted February 26, 2023 Share Posted February 26, 2023 (edited) Hello, my question is: It possible that the nontradeable items for implementor will tradeable? If yes, where and what can i do? Edited February 26, 2023 by FuveZeq Link to comment Share on other sites More sharing options...
caanmasu 312 Posted February 26, 2023 Share Posted February 26, 2023 game -> exchange.cpp Find this method: bool CExchange::AddItem(TItemPos item_pos, BYTE display_pos) { Find this code into: if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_GIVE)) { m_pOwner->ChatPacket(CHAT_TYPE_INFO, "659"); return false; } Replace by: if (!m_pOwner->IsGM()) if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_GIVE)) { m_pOwner->ChatPacket(CHAT_TYPE_INFO, "659"); return false; } No tested. My code is a guide, it may or may not work, you should know what you are doing. Link to comment Share on other sites More sharing options...
FuveZeq 0 Posted February 26, 2023 Author Share Posted February 26, 2023 1 hour ago, caanmasu said: game -> exchange.cpp Find this method: bool CExchange::AddItem(TItemPos item_pos, BYTE display_pos) { Find this code into: if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_GIVE)) { m_pOwner->ChatPacket(CHAT_TYPE_INFO, "659"); return false; } Replace by: if (!m_pOwner->IsGM()) if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_GIVE)) { m_pOwner->ChatPacket(CHAT_TYPE_INFO, "659"); return false; } No tested. My code is a guide, it may or may not work, you should know what you are doing. Working, thank you very much! 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