Jump to content

Recommended Posts

  • 5 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

I share my solution for people who use older sources:

Lets start with the char_item.cpp!
Add this include:

#include "wedding.h"

Search:

	if (true == IsRiding())
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("둔갑할 수 없는 상태입니다."));
		return false;
	}

Add under (with this code we will block the use of polymorph marble if the player is at one of the blocked maps):

	if ((marriage::WeddingManager::instance().IsWeddingMap(GetMapIndex()) == true) || (CWarMapManager::instance().IsWarMap(GetMapIndex()) == true) || ( CArenaManager::instance().IsArenaMap(GetMapIndex()) == true ) || (GetMapIndex() == 113))
	{
		if (IsAffectFlag(AFFECT_POLYMORPH))
			RemoveAffect(AFF_POLYMORPH);
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("여기서는 변경할 수 없습니다.")); 
		return false; 
	}

Now let's head to the char_affect.cpp!
Add this two includes:

#include "war_map.h"
#include "wedding.h"

Search for:

	if ( CArenaManager::instance().IsArenaMap(GetMapIndex()) == true )
	{
		RemoveGoodAffect();
	}

Replace with this (this will polymorph back the player at Duel Arena map if he/she enters as polymorphed):

	if ( CArenaManager::instance().IsArenaMap(GetMapIndex()) == true )
	{
		RemoveGoodAffect();
		if (IsPolymorphed() == true)
		{
			SetPolymorph(0);
			RemoveAffect(AFFECT_POLYMORPH);
		}
	}

Add under (this will polymorph back the player at Guild war Arena/Guild Flag war map/Wedding/OX if he/she enters as polymorphed :

	if ((CWarMapManager::instance().IsWarMap(GetMapIndex()) == true) || (marriage::WeddingManager::instance().IsWeddingMap(GetMapIndex()) == true) || (GetMapIndex() == 113))
	{
		if (IsPolymorphed() == true)
		{
			SetPolymorph(0);
			RemoveAffect(AFFECT_POLYMORPH);
		}
	}

And finally write this to your locale_string.txt:
 

"여기서는 변경할 수 없습니다.";
"You cannot polymorph at this map!";

Video proof:

 

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.