Jump to content

[FIX]Metin2_Map_Duel ring and map_attr


Recommended Posts

  • VIP
Posted (edited)

M2 Download Center

Download Here ( Internal )

Before:

 

https://imgur.com/7Z3Iwux

 

After:

 

https://imgur.com/c632MpQ

 

Fix List

 

-Fix Ring mdattr.

-Fix Block attr.

-Fix BanPk attr.


Fix C++
 

//On UserInterface/InstanceBase.cpp
//In bool CInstanceBase::CanUseSkill() search:

	return true;
	
//Add above:

#ifdef ENABLE_FIX_MAP_DUEL_SKILL
	CPythonBackground& rkBG = CPythonBackground::Instance();
	const D3DXVECTOR3& rv3Position = m_GraphicThingInstance.GetPosition();
	D3DXVECTOR3 v3CheckPosition = rv3Position;
	std::string stringMapName = CPythonBackground::Instance().GetWarpMapName();

	if (stringMapName == "metin2_map_duel")
	{
		if (rkBG.isAttrOn(v3CheckPosition.x, -v3CheckPosition.y, CTerrainImpl::ATTRIBUTE_BANPK))
			return false;
	}
#endif


 

GitHub Fix:

GitHub
 

Download:

MEGA

 

 

Edited by TokiSan (see edit history)
  • Love 4
  • Good 1
Link to post
  • VIP

thanks  +10000 ❤️ 

  • Love 1

" Don`t pretend things change if you always do the same thing"

"Don`t give up on a dream for how long it will take, time will pass the same"

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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