wings can be added shining system



Thread Author
Director
Premium
Designer
Developer
Dec
Threads
113
191
3,385
93
Rating - 0%
0   0   0
hello my brothers, i am sharing the shining system with you so that you can add wings

Link:

Let those who use Acce do it:

C++:
Find:



CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData);



Change:



    if (!CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData))

        return;

#ifdef ENABLE_SHINING_SYSTEM

    else

        __GetShiningEffect(pItemData);

#endif

Errors Edit here:

C++:
Find:

    //Weapon Effect
    CItemData * pItemData;
    if (CItemManager::Instance().GetItemDataPointer(eWeapon, &pItemData))
        __GetRefinedEffect(pItemData);
#ifdef ENABLE_SHINING_SYSTEM
        __GetShiningEffect(pItemData);
#endif
    else
        __ClearWeaponRefineEffect();
#ifdef ENABLE_SHINING_SYSTEM
        __ClearWeaponShiningEffect();
#endif

    return true;
}

Change:

//Weapon Effect
    CItemData* pItemData;
    if (CItemManager::Instance().GetItemDataPointer(eWeapon, &pItemData))
    {
#ifdef ENABLE_SHINING_SYSTEM
        __GetShiningEffect(pItemData);
#endif
        __GetRefinedEffect(pItemData);
    }
    else
    {
        __ClearWeaponRefineEffect();
#ifdef ENABLE_SHINING_SYSTEM
        __ClearWeaponShiningEffect();
#endif
    }

    return true;
}



135341_398c1c057ea6633b915377268c037e0e.jpg
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,435
2
1,339
113
Rating - 0%
0   0   0
hello my brothers, i am sharing the shining system with you so that you can add wings

Link:

Let those who use Acce do it:

C++:
Find:



CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData);



Change:



    if (!CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData))

        return;

#ifdef ENABLE_SHINING_SYSTEM

    else

        __GetShiningEffect(pItemData);

#endif

Errors Edit here:

C++:
Find:

    //Weapon Effect
    CItemData * pItemData;
    if (CItemManager::Instance().GetItemDataPointer(eWeapon, &pItemData))
        __GetRefinedEffect(pItemData);
#ifdef ENABLE_SHINING_SYSTEM
        __GetShiningEffect(pItemData);
#endif
    else
        __ClearWeaponRefineEffect();
#ifdef ENABLE_SHINING_SYSTEM
        __ClearWeaponShiningEffect();
#endif

    return true;
}

Change:

//Weapon Effect
    CItemData* pItemData;
    if (CItemManager::Instance().GetItemDataPointer(eWeapon, &pItemData))
    {
#ifdef ENABLE_SHINING_SYSTEM
        __GetShiningEffect(pItemData);
#endif
        __GetRefinedEffect(pItemData);
    }
    else
    {
        __ClearWeaponRefineEffect();
#ifdef ENABLE_SHINING_SYSTEM
        __ClearWeaponShiningEffect();
#endif
    }

    return true;
}



View attachment 925

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Member
Jun
Threads
4
96
1
2
8
Rating - 0%
0   0   0
Thanks

But for Acce

Change this
C++:
void    __AttachAcceShiningEffect(int effectIndex, const char* effectFileName, const char* boneName = "Bip01 Spine2");

To
C++:
void    __AttachAcceShiningEffect(int effectIndex, const char* effectFileName, const char* boneName = "Bip01");

and instead of this
C++:
    if (!CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData))
        return;
#ifdef ENABLE_SHINING_SYSTEM
    else
        __GetShiningEffect(pItemData);
#endif

use it like this

C++:
    CItemData * pItemData = NULL;
    CItemManager::Instance().GetItemDataPointer(dwAcce, &pItemData);

#ifdef ENABLE_SHINING_SYSTEM
    if (pItemData)
        __GetShiningEffect(pItemData);
#endif
 
Last edited:
Member
Jul
Threads
5
139
1
2
18
Rating - 0%
0   0   0
Where could the problem be please? Would anyone be willing to add it to the source for me? Much please. Problem with CEterPackManager

Snímek obrazovky 2024-03-17 121928.png
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock