Jump to content
  • Create New...
  • 0




Hello guys I installed some sf and there was a pre-installed acce system. About that when I login for the first time in my character the acce part is not displayed in the character select screen but if I relog without closing completely the client everything is fine. If I close the client it does it again for the first login and then back to normal... I checked the acce_part record in the database and nothing is changing. Can someone give me a hand?

Link to comment
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
29 minutes ago, Mind Rapist said:


Btw you should show us some functions dude it might be helpful :P


void CActorInstance::SetAcce(DWORD eAcce, float fSpecular)
    m_eAcce = eAcce;
    CRaceData * pRaceData;
    const char * szBoneName;
    if (!GetAttachingBoneName(CRaceData::PART_ACCE, &szBoneName))

    if (!CRaceManager::Instance().GetRaceDataPointer(m_eRace, &pRaceData))

    CRaceData::SAcce* pkAcce = pRaceData->FindAcce(eAcce);
    if (pkAcce)
        if (!pkAcce->m_stModelFileName.empty())
            CGraphicThing * pkAcceThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkAcce->m_stModelFileName.c_str());
            RegisterModelThing(CRaceData::PART_ACCE, pkAcceThing);
            SetModelInstance(CRaceData::PART_ACCE, CRaceData::PART_ACCE, 0);
            AttachModelInstance(0, szBoneName, CRaceData::PART_ACCE);

        const std::vector<CRaceData::SSkin>& c_rkVct_kSkin = pkAcce->m_kVct_kSkin;
        std::vector<CRaceData::SSkin>::const_iterator i;
        for (i = c_rkVct_kSkin.begin(); i != c_rkVct_kSkin.end(); ++i)
            const CRaceData::SSkin& c_rkSkinItem = *i;
            CResource * pkRes = CResourceManager::Instance().GetResourcePointer(c_rkSkinItem.m_stDstFileName.c_str());
            if (pkRes)
                if (fSpecular > 0.0f)
                    SMaterialData kMaterialData;
                    kMaterialData.pImage = static_cast<CGraphicImage*>(pkRes);
                    kMaterialData.isSpecularEnable = TRUE;
                    kMaterialData.fSpecularPower = fSpecular;
                    kMaterialData.bSphereMapIndex = 0;
                     SetMaterialData(CRaceData::PART_ACCE, c_rkSkinItem.m_stSrcFileName.c_str(), kMaterialData);
                    SetMaterialImagePointer(CRaceData::PART_ACCE, c_rkSkinItem.m_stSrcFileName.c_str(), static_cast<CGraphicImage*>(pkRes));


The black lines are the problem but if i delete this i dont have more the scale...

sorry for my bad english btw :D

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021

  • Read our Rules
  • Activity

    1. 3

      Quest Craft

    2. 3

      Quest Craft

    3. 414

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 11

      Metin2 Patcher with Electron

    5. 17

      I Want Find freebsd 11.4 with remove unnecessary codes

    6. 17

      I Want Find freebsd 11.4 with remove unnecessary codes

    7. 3

      Quest Craft

  • Recently Browsing

    • No registered users viewing this page.

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.