Jump to content

GM character problem


Recommended Posts

Hello, I have a problem with the complete disappearance, the character remains visible,

this is for GM only Can someone tell me where to find the function responsible for this? Or how can I fix that?

This is an example of the problem https://metin2.download/picture/TKBtmvSbePl6UYtiHhhIiRJE0FN9o57U/.png

weGDan..

solved

Search:

Spoiler

        case AFFECT_INVISIBILITY:
#ifdef ENABLE_CANSEEHIDDENTHING_FOR_GM
            if (__MainCanSeeHiddenThing())
            {
                if (isVisible)
                    m_GraphicThingInstance.BlendAlphaValue(0.5f, 1.0f);
                else
                    m_GraphicThingInstance.BlendAlphaValue(1.0f, 1.0f);
                break;
            }
#endif
            if (isVisible)
            {
                m_GraphicThingInstance.ClearAttachingEffect();
                __EffectContainer_Destroy();
                DetachTextTail();
            }
            else
            {
                m_GraphicThingInstance.BlendAlphaValue(1.0f, 1.0f);

                AttachTextTail();
                RefreshTextTail();
            }
            return;
            break;

replace: 

Spoiler

        case AFFECT_INVISIBILITY:
#ifdef ENABLE_CANSEEHIDDENTHING_FOR_GM
            if (__MainCanSeeHiddenThing())
            {
                if (isVisible)
                    m_GraphicThingInstance.BlendAlphaValue(0.5f, 1.0f);
                else
                    m_GraphicThingInstance.BlendAlphaValue(1.0f, 1.0f);
                break;
            }
#endif
            if (isVisible)
            {
                m_GraphicThingInstance.HideAllAttachingEffect();
                //m_GraphicThingInstance.ClearAttachingEffect();
                //__EffectContainer_Destroy();
                DetachTextTail();
            }
            else
            {
                m_GraphicThingInstance.BlendAlphaValue(1.0f, 1.0f);
                m_GraphicThingInstance.ShowAllAttachingEffect();

                AttachTextTail();
                RefreshTextTail();
            }
            return;
            break;

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


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