Jump to content

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
https://metin2.dev/topic/29741-gm-character-problem/
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

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.