cato-a / CoDaM_MiscMod

Official MiscMod for CoDaM in Call of Duty 1.1
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

Mutual kill is prevented #8

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello When 2 players shoot each other at the same time, they don't both die, one does but the other one loses some health.

Noticed when doing melee and using bolt weapon scr_mm_instantkill, scr_mm_pistolkill and scr_mm_meleekill are enabled in this case.

I didn't have this effect when taking over finishPlayerDamage before, when using the (a bit modified to re-enable instantkill) misaligned hitmarker from vcodmods website. (hoping this information could help identifying the cause)

Is this effect intended ? Is it caused by eAttacker thread _showHitm... ? I can't find in there code where this is managed.

Or is it that they don't shoot at the exact same time ?

cato-a commented 1 year ago

Hi, it is very rare to have 2 players kill eachother at the same time. CoDaM is quite big and bulky causing overhead making it even more rare for this happen, and the slower the host, the rarer it will be.

MiscMod doesn't do anything to limit players killing eachother that I know of. If instantkill is enabled and both hits are registered by the server, the chances should be higher that you get 2 players kill eachother.