Jump to content

Retro

Inactive Member
  • Posts

    53
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Retro

  1. You say that the bonus are not shown, but you checked in player status to see if they are applied? Also a problem could be db file if it is precompiled the columns could be changed and they are more or less than you have in clientmanagerboot, there are many cases that could generate the problem you have.

  2. Heya, i was browsing the forum and i saw this topic:

    Firstly i want to say that i din't this post to make a bad image to the people who written there, i saw that they complicated it very much, the fix is pretty easy so i'm gonna share with you.

    Open char.cpp

    Search for:

        if (g_bNeedMoney)
        {
            if (GetGold() < static_cast<int>(g_dwNeedMoney))
            {
                ChatPacket(CHAT_TYPE_INFO, "Your money is not enough for open offline shop. Required money : %u", g_dwNeedMoney);
                return;
            }
        }

    After that function you will see that:

        
        char szSign[SHOP_SIGN_MAX_LEN+1];
        strlcpy(szSign, c_pszSign, sizeof(szSign));

        m_stOfflineShopSign = szSign;

        if (m_stOfflineShopSign.length() == 0)
            return;    
        
        if (CBanwordManager::instance().CheckString(m_stShopSign.c_str(), m_stShopSign.length()))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("비속어나 은어가 포함된 상점 이름으로 상점을 열 수 없습니다."));
            return;
        }

    There's also a image: https://metin2.download/picture/dz8FBGD0F8oWYaUCoh8Zxi3wYO51TrA4/.png

    So replace this:

        char szSign[SHOP_SIGN_MAX_LEN+1];
        strlcpy(szSign, c_pszSign, sizeof(szSign));

        m_stOfflineShopSign = szSign;

        if (m_stOfflineShopSign.length() == 0)
            return;    
        
        if (CBanwordManager::instance().CheckString(m_stShopSign.c_str(), m_stShopSign.length()))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("비속어나 은어가 포함된 상점 이름으로 상점을 열 수 없습니다."));
            return;
        }

    With:

        if (!check_name(c_pszSign))
        {
            ChatPacket(CHAT_TYPE_INFO, "Pretty easy,huh?");
            ChatPacket(CHAT_TYPE_INFO, "If it works go to the topic title and give a thanks to the author.");       

            ChatPacket(CHAT_TYPE_INFO, "Just Kidding!");        
            return;
        }

        m_stOfflineShopSign = c_pszSign;
        
        if (CBanwordManager::instance().CheckString(m_stShopSign.c_str(), m_stShopSign.length()))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("비속어나 은어가 포함된 상점 이름으로 상점을 열 수 없습니다."));
            return;
        }

    There's a image again to see how it should look likehttps://metin2.download/picture/K4uOqryS4tB6JS4Og68qXhNoe13DGGHZ/.png

     

    Have a nice day!

    • Love 2
  3. it could be something wrong in your item.cpp function check if it is like this

        switch (m_pProto->bType)
        {
            case ITEM_PICK:
            case ITEM_ROD:
                {
                    if (bAdd)
                    {
                        if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
                            m_pOwner->SetPart(PART_WEAPON, GetVnum());
                    }
                    else
                    {
                        if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
    #ifdef __WEAPON_COSTUME_SYSTEM__
                            m_pOwner->SetPart(PART_WEAPON, 0);
    #else
                            m_pOwner->SetPart(PART_WEAPON, m_pOwner->GetOriginalPart(PART_WEAPON));
    #endif
                    }
                }
                break;

    Also the problem could be caused by costume weapon check the installing tutorial again!

    • Love 2
  4. M2 Download Center

    This is the hidden content, please
    ( Internal )

    Hello community, i saw that the links for test fur 40k client expired so i decied to reupload it.

    There's the link:

     

    This is the hidden content, please

     

    I think that images are not needed everyone knows what  client is it!

    • Metin2 Dev 38
    • Dislove 4
    • Sad 1
    • Cry 1
    • Smile Tear 1
    • Think 4
    • Confused 3
    • Good 17
    • Love 6
    • Love 40
×
×
  • 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.