Jump to content
×
×
  • Create New...
  • 0

Compile error


Xerneas

Question

Good morning ..

i dont know why..

 

Fehler    288    error C2065: 'item': nichtdeklarierter Bezeichner  InstanceBase.cpp    2645    1    UserInterface
Fehler    289    error C2227: Links von "->GetType" muss sich ein Zeiger auf Klassen-/Struktur-/Union-/generischen Typ befinden.    InstanceBase.cpp    2645    1    UserInterface
Fehler    290    error C2059: Syntaxfehler: ')'   InstanceBase.cpp    2645    1    UserInterface
Fehler    291    error C2143: Syntaxfehler: Es fehlt ')' vor '}'    InstanceBase.cpp    2667    1    UserInterface
Fehler    292    error C2143: Syntaxfehler: Es fehlt ';' vor ')'    InstanceBase.cpp    2667    1    UserInterface

 

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Of Course!
 

this function says my visual Studio..

What is wrong?

void CInstanceBase::SetAcce(DWORD eAcce)
{
    if (IsPC() == false)
        return;

    //__ClearAcceRefineEffect();
    //long lAbsChance = 0;
    //float fSpecularPower = 0.0f;
    //int iItemIndex = CPythonPlayer::Instance().GetItemIndex(TItemPos(INVENTORY, c_Costume_Slot_Acce));
    //if (iItemIndex > 0)
    //{
    //    CItemManager::Instance().SelectItemData(iItemIndex);
    //    CItemData * pItemData = CItemManager::Instance().GetSelectedItemDataPointer();
    if (item->GetType(() == CItemData::ITEM_TYPE_COSTUME && item->GetSubType() == CItemData::COSTUME_ACCE)
        //    {
        //        fSpecularPower = pItemData->GetSpecularPowerf();
        //        lAbsChance = CPythonPlayer::Instance().GetItemMetinSocket(TItemPos(INVENTORY, c_Costume_Slot_Acce), 1);
        //        if (lAbsChance >= 19)
        //        {
        //            m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL;
        //            __EffectContainer_AttachEffect(m_acceEffect);
        //        }
        //    }
        //}

        m_awPart[CRaceData::PART_ACCE] = eAcce;
    m_GraphicThingInstance.SetAcce(eAcce);
    //if (lAbsChance >= 19)
    //{
    //    m_GraphicThingInstance.SetAcce(eAcce, fSpecularPower);
    //}
    //else
    //{
    //    m_GraphicThingInstance.SetAcce(eAcce);
    //}
}

 

Link to comment
  • 0
Spoiler

void CInstanceBase::SetAcce(DWORD eAcce)   // Line 2632
{
    if (IsPC() == false)
        return;

    //__ClearAcceRefineEffect();
    //long lAbsChance = 0;
    //float fSpecularPower = 0.0f;
    //int iItemIndex = CPythonPlayer::Instance().GetItemIndex(TItemPos(INVENTORY, c_Costume_Slot_Acce));
    //if (iItemIndex > 0)
    //{
    //    CItemManager::Instance().SelectItemData(iItemIndex);
    //    CItemData * pItemData = CItemManager::Instance().GetSelectedItemDataPointer();
    if (item->GetType(() == CItemData::ITEM_TYPE_COSTUME && item->GetSubType() == CItemData::COSTUME_ACCE) // 2645
        //    {
        //        fSpecularPower = pItemData->GetSpecularPowerf();
        //        lAbsChance = CPythonPlayer::Instance().GetItemMetinSocket(TItemPos(INVENTORY, c_Costume_Slot_Acce), 1);
        //        if (lAbsChance >= 19)
        //        {
        //            m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL;
        //            __EffectContainer_AttachEffect(m_acceEffect);
        //        }
        //    }
        //}

        m_awPart[CRaceData::PART_ACCE] = eAcce;
    m_GraphicThingInstance.SetAcce(eAcce);
    //if (lAbsChance >= 19)
    //{
    //    m_GraphicThingInstance.SetAcce(eAcce, fSpecularPower);
    //}
    //else
    //{
    //    m_GraphicThingInstance.SetAcce(eAcce);
    //}
}  // Line 2667

 

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

Announcements

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


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.