Jump to content

Recommended Posts

Hello everyone, I have a little bug on my server. All players told me that when they attack a mob, only a few hits take damage. The rest will take nothing. Let's say I have mob 101, I take him 5 hits and only 2 or 3 work. The rest of hits do nothing. It doesn't even show MISS.

Little video: https://metin2.download/picture/1SNEKcnWKVl4UD41rgn5l1XM530jSHKd/.gif

Thank you!

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/22107-hit-bug/
Share on other sites

  • Replies 14
  • Created
  • Last Reply

Top Posters In This Topic

  • Contributor

Try this :

in :

int battle_melee_attack(LPCHARACTER ch, LPCHARACTER victim)

delete:

	if(ch->IsPC())
	{
		const bool bAttacking = (get_dword_time() - ch->GetLastAttackTime()) < ch->IsRiding() ? 800 : 750;
		if (!bAttacking)
			return BATTLE_NONE;
		//if (test_server&&ch->IsPC())
		//	ch->ChatPacket(CHAT_TYPE_INFO, "Melee Attack: %d", get_dword_time() - ch->GetLastAttackTime());
		if (!battle_distance_valid(ch, victim))
			return BATTLE_NONE;
	}

and see what happens ...

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
https://metin2.dev/topic/22107-hit-bug/#findComment-120370
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.