Jump to content

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

20 minutes ago, HellBoy said:

/e change_itemattr_cycle 0

it giving this

https://metin2.download/picture/73dwK092V2FjxHSSiU4bfcLj2qBF9T0T/.png

and when i try to change it didn't work 

Edited by Metin2 Dev
Core X - External 2 Internal

Search in char_item.cpp

Find this:

Spoiler

if (pPC)
{
	DWORD dwNowMin = get_global_time() / 60;

	DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);

	if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
				dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
	return false;
	}

	pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}

and change it to this:

Spoiler

if (pPC)
{
	DWORD dwNowMin = get_global_time() / 60;

	//Comment for 0 switch players start
	//DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);

	//if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
	//{
		//ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
			//dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
		//return false;
		//}
	//Comment for 0 switch players end

	pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
	}
}

 

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.