• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

wings can be added shining system

Director
Premium
Designer
Developer
Dec
Threads
107
185
2,939
93
HubMoney
4,173
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,354
2
1,284
113
HubMoney
1,669
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
HubMoney
592
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
HubMoney
629
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