Jump to content

qTupeu

Inactive Member
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by qTupeu

  1. Hello. I have a bug to chat, that you put an item on chat put everything ok but when I click on that item to see bonuses such as not working.
    In syserr is blank.

    syserr:

    1214 15:58:46078 :: Traceback (most recent call last):
    
    1214 15:58:46078 ::   File "game.py", line 1594, in OnMouseLeftButtonUp
    
    1214 15:58:46078 ::   File "interfaceModule.py", line 409, in MakeHyperlinkTooltip
    
    1214 15:58:46078 ::   File "uiToolTip.py", line 1955, in SetHyperlinkItem
    
    1214 15:58:46079 ::   File "uiToolTip.py", line 1050, in AddItemData
    
    1214 15:58:46079 ::   File "uiToolTip.py", line 1751, in __AppendMetinSlotInfo
    
    1214 15:58:46079 ::   File "uiToolTip.py", line 1762, in __AppendMetinSlotInfo_IsEmptySlotList
    
    1214 15:58:46080 :: IndexError
    1214 15:58:46080 :: :
    1214 15:58:46080 :: list index out of range
    1214 15:58:46080 :: 

     

  2. Hey Dev´s :)

    I implemented this line in instancebase.cpp :

    Spoiler

     

    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 receive the following error:

    Spoiler

        1    IntelliSense: identifier "pItemData" is undefined    d:\mega\majcher\klient\userinterface\instancebase.cpp    2635
        2    IntelliSense: more than one instance of overloaded function "CActorInstance::SetAcce" matches the argument list:    d:\mega\majcher\klient\userinterface\instancebase.cpp    2648

    Can someone help me to implement shoulder sash system?

     

     

×
×
  • 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.