bluedrago 28 Posted April 3, 2016 Share Posted April 3, 2016 help in binary game error my files https://metin2.download/picture/yk0S427Z4uU6jyR1EHyRQ30m21De0i32/.png Link to comment Share on other sites More sharing options...
Kenny1337 8 Posted April 3, 2016 Share Posted April 3, 2016 Edit InstanceBase.cpp -> void CInstanceBase::SetAcce(DWORD eAcce) void CInstanceBase::SetAcce(DWORD eAcce) { if (IsPC() == false) return; __ClearAcceRefineEffect(); float fSpecular = 0.0f; int iAcce = (eAcce > 100) ? (int)(eAcce - 100) : (int)(eAcce); if (eAcce > 100) { fSpecular = 100.0f; m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL; __EffectContainer_AttachEffect(m_acceEffect); } m_awPart[CRaceData::PART_ACCE] = iAcce; m_GraphicThingInstance.SetAcce(iAcce, fSpecular); } Link to comment Share on other sites More sharing options...
bluedrago 28 Posted April 3, 2016 Author Share Posted April 3, 2016 (edited) change this 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 (pItemData->GetType() == CItemData::ITEM_TYPE_COSTUME && pItemData->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); //} } and copy your lines? update error https://metin2.download/picture/cpm4Kmu9OZTKgdEy4gRCn70dOH3tDOw5/.png Edited September 2, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
bluedrago 28 Posted April 5, 2016 Author Share Posted April 5, 2016 up help please 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