Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] No Friendly-fire (v10.0, 6-1-2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-07-2021 , 04:12   Re: [L4D & L4D2] No Friendly-fire (v8.5, 9-3-2021)
Reply With Quote #51

Quote:
Originally Posted by VYRNACH_GAMING View Post
Sorry for the confusion. It's apparently the "Explosive Barrel". Some players in my big servers like to grief with this while other people mistakenly assumed all such fires do not cause friendly fire damage and usually die to it as we usually run Expert difficulty
I'll see what I can do about those. I remember having issues with the fires from those barrels in the past. Those barrels are the only props I couldn't block from causing friendly-fire.
__________________
Psyk0tik is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-07-2021 , 10:00   Re: [L4D & L4D2] No Friendly-fire (v8.5, 9-3-2021)
Reply With Quote #52

Maybe you can detect the last one who shot and if possible link it as the fire "owner"
__________________
Marttt is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-07-2021 , 18:27   Re: [L4D & L4D2] No Friendly-fire (v8.5, 9-3-2021)
Reply With Quote #53

Quote:
Originally Posted by Marttt View Post
Maybe you can detect the last one who shot and if possible link it as the fire "owner"
I already tried that. The fire and explosion created by explosive barrels are setup differently from gas cans and propane tanks. Getting their “owners” isn’t as straightforward and easy to track. I’ll keep investigating.
__________________
Psyk0tik is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-10-2021 , 20:43   Re: [L4D & L4D2] No Friendly-fire (v8.5, 9-3-2021)
Reply With Quote #54

I did some tests and what I have found is that the fire that can't track the attacker on OnTakeDamage is the fire created by the "prop_fuel_barrel_piece"
In my debugs the pos from both entities are always the same, so we can use it as a workaround to detect its "original" attacker.

Spoiler


Maybe this could be released as another plugin as a "FIX" for this kind of behaviour.

The logic could be:
  • detect who exploded the barrel
  • track the next prop_fuel_barrel_piece and set it to the same attacker
  • match the pos with the inferno pos created and set it to the same attacker
__________________

Last edited by Marttt; 10-10-2021 at 20:45.
Marttt is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-10-2021 , 22:53   Re: [L4D & L4D2] No Friendly-fire (v8.5, 9-3-2021)
Reply With Quote #55

Quote:
Originally Posted by Marttt View Post
I did some tests and what I have found is that the fire that can't track the attacker on OnTakeDamage is the fire created by the "prop_fuel_barrel_piece"
In my debugs the pos from both entities are always the same, so we can use it as a workaround to detect its "original" attacker.

Spoiler


Maybe this could be released as another plugin as a "FIX" for this kind of behaviour.

The logic could be:
  • detect who exploded the barrel
  • track the next prop_fuel_barrel_piece and set it to the same attacker
  • match the pos with the inferno pos created and set it to the same attacker
This is very helpful. Thank you Marttt.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-11-2021 , 01:31   Re: [L4D & L4D2] No Friendly-fire (v9.0, 10-10-2021)
Reply With Quote #56

Version 9.0 is out!

Download | Changelog

Recommended: [L4D & L4D2] Explosive Chains Credit
__________________
Psyk0tik is offline
Gyn Lam
Junior Member
Join Date: Jul 2018
Old 10-12-2021 , 12:37   Re: [L4D & L4D2] No Friendly-fire (v9.0, 10-10-2021)
Reply With Quote #57

I'm sorry but is there a version which except fire from all source of fire (Molotov/Gascan/Explosive Barrel) which still can cause damage to teammate ?
Thank you

Last edited by Gyn Lam; 10-12-2021 at 12:38.
Gyn Lam is offline
in2002
Member
Join Date: Apr 2021
Location: Taiwan
Old 10-12-2021 , 14:01   Re: [L4D & L4D2] No Friendly-fire (v9.0, 10-10-2021)
Reply With Quote #58

Quote:
Originally Posted by Psyk0tik View Post
Version 9.0 is out!

Download | Changelog

Recommended: [L4D & L4D2] Explosive Chains Credit
Compilation error
Attached Images
File Type: jpg error.jpg (59.5 KB, 50 views)
__________________
in2002 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-12-2021 , 18:35   Re: [L4D & L4D2] No Friendly-fire (v9.0, 10-10-2021)
Reply With Quote #59

Quote:
Originally Posted by Gyn Lam View Post
I'm sorry but is there a version which except fire from all source of fire (Molotov/Gascan/Explosive Barrel) which still can cause damage to teammate ?
Thank you
I already added a link to "Explosive Chains Credit" in the update post, main post, and README.md file. That plugin properly credits players for most damage sources they inflict, so that plugin complements this plugin's purpose. Install that plugin and see how it works for you.

Quote:
Originally Posted by in2002 View Post
Compilation error
Please redownload. I wasn't aware Left 4 DHooks Direct was updated before I released v9.0.
__________________
Psyk0tik is offline
VYRNACH_GAMING
Member
Join Date: Sep 2021
Old 10-20-2021 , 05:35   Re: [L4D & L4D2] No Friendly-fire (v9.0, 10-10-2021)
Reply With Quote #60

there seems to an exploit where you can bypass the friendly fire plugin by triggering a gascan fire and disconnecting. Kill feed will show "GamerTong incapacitated ...."
__________________
VYRNACH_GAMING is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode