Jump to content

Recommended Posts

Just edit the CMD file (or create it) on each channel and put only the mute command for LOW_WIZARD. If the LOW_WIZARD have the gm logo just edit this function in char.cpp

if (GetGMLevel() >= GM_LOW_WIZARD)
        {
            m_afAffectFlag.Set(AFF_YMIR);
            m_bPKMode = PK_MODE_PROTECT;
        }

replace by

if (GetGMLevel() > GM_LOW_WIZARD)
        {
            m_afAffectFlag.Set(AFF_YMIR);
            m_bPKMode = PK_MODE_PROTECT;
        }
  • Love 3
Link to comment
https://metin2.dev/topic/5423-c-low_wizard/#findComment-34292
Share on other sites

 

Just edit the CMD file (or create it) on each channel and put only the mute command for LOW_WIZARD. If the LOW_WIZARD have the gm logo just edit this function in char.cpp

if (GetGMLevel() >= GM_LOW_WIZARD)
        {
            m_afAffectFlag.Set(AFF_YMIR);
            m_bPKMode = PK_MODE_PROTECT;
        }

replace by

if (GetGMLevel() > GM_LOW_WIZARD)
        {
            m_afAffectFlag.Set(AFF_YMIR);
            m_bPKMode = PK_MODE_PROTECT;
        }

thank you

Link to comment
https://metin2.dev/topic/5423-c-low_wizard/#findComment-34296
Share on other sites

The block chat function have a double check, modify this line on cmd_gm.cpp

if (ch && (ch->GetGMLevel() < GM_HIGH_WIZARD && ch->GetQuestFlag("chat_privilege.block") <= 0))

change by

if (ch && ch->GetQuestFlag("chat_privilege.block") <= 0)

same for block_chat_list

  • Love 1
Link to comment
https://metin2.dev/topic/5423-c-low_wizard/#findComment-34709
Share on other sites

The block chat function have a double check, modify this line on cmd_gm.cpp

if (ch && (ch->GetGMLevel() < GM_HIGH_WIZARD && ch->GetQuestFlag("chat_privilege.block") <= 0))

change by

if (ch && ch->GetQuestFlag("chat_privilege.block") <= 0)

same for block_chat_list

thank , what about the pkmode can you help me to fix it please ? 

Link to comment
https://metin2.dev/topic/5423-c-low_wizard/#findComment-34710
Share on other sites

Open char.cpp and search void CHARACTER::SetLevel(BYTE level)

 

Edit it by that

void CHARACTER::SetLevel(BYTE level)
{
	m_points.level = level;

	if (IsPC())
	{
		if (level < PK_PROTECT_LEVEL)
			SetPKMode(PK_MODE_PROTECT);
		else if (GetGMLevel() > GM_LOW_WIZARD)
			SetPKMode(PK_MODE_PROTECT);
		else if (m_bPKMode == PK_MODE_PROTECT)
			SetPKMode(PK_MODE_PEACE);
	}
}
  • Love 1
Link to comment
https://metin2.dev/topic/5423-c-low_wizard/#findComment-34714
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.