Jump to content

Recommended Posts

block put bonuses hair and costumes, have told me that it was something in "uitooltip.py" but I think it is the same source as I found no problem

 

 

FKz8TsX.png

can anyone give me fix for source? now thanks to all!

 

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/4782-help-block-put-bonuses-hair-and-costumes/
Share on other sites

Add these:

if (ITEM_HAIR == item2->GetType())
{
	ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Error"));
	return false;
}

if (ITEM_COSTUME == item2->GetType())
{
	ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Error"));
	return false;
}

to USE_ADD_ATTRIBUTE/USE_ADD_ATTRIBUTE2/USE_CHANGE_ATTRIBUTE (char_item.cpp)

  • 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.