Jump to content

Recommended Posts

Hi, so here's my problem: When using a thief glove or experience ring while stacked it will equip the whole stack. How can i solve that on source? 

Image: https://metin2.download/picture/PKnr1zQLBXU02a5Z052F0nbpG72awf1Y/.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/26106-souce-exp-ring-and-thief-gloves-stack-problem/
Share on other sites

Char_item.cpp

 

Add this:

	if (item->GetCount() > 1) 
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("In order to be able to equip this object, you must separate it first. (Shift + Left Click) ."));
		return false;
	}

in this function:

bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell):

 

Edited by Kr1G3R™
  • Love 2

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.