Jump to content

Recommended Posts

search in char_item.cpp

	case 50011:
	{
		DWORD dwBoxVnum = 50011;
		std::vector <DWORD> dwVnums;
		std::vector <DWORD> dwCounts;
		std::vector <LPITEM> item_gets(NULL);
		int count = 0;

Add

	if (CountEmptyInventory() < 2)
	{	
		ChatPacket(CHAT_TYPE_INFO, "error checkspace");
		return;
	}
Link to comment
https://metin2.dev/topic/13480-cgm-restriction/#findComment-76956
Share on other sites

search (char_item.cpp function UseItemEx)

	if ( CArenaManager::instance().IsLimitedItem( GetMapIndex(), item->GetVnum() ) == true )
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("대련 중에는 이용할 수 없는 물품입니다."));
		return false;
	}

add after

	switch (item->GetVnum())
	{
		case 50011:
		case 50012:
		case 50013:
		case 50014:
		case 50127:
		case 50128:
		case 50129:
		case 50130:
		case 50131:
		case 50131:
			if (CountEmptyInventory() < 2) {	
				ChatPacket(CHAT_TYPE_INFO, "error checkspace");
				return;
			}
		break;	
	}	
  • Love 2
Link to comment
https://metin2.dev/topic/13480-cgm-restriction/#findComment-76958
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.