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

[L4D2] Nerf Damage To Commons [v1.0.9 | 19-February-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-01-2021 , 12:54   Re: [L4D2] Nerf Damage To Commons [v1.0.6 | 01-February-2021]
Reply With Quote #31

Updated. (1.0.6)

Code:
1.0.6 (01-February-2021)
    - Code changes to be able to compile directly from SM forum.
    - Fixed damage dropoff calculation, same as sv_damage 2. (precise distance calculation between attacker and victim)
__________________

Last edited by Marttt; 02-01-2021 at 12:55.
Marttt is offline
Maur0
Senior Member
Join Date: Aug 2020
Old 02-01-2021 , 16:35   Re: [L4D2] Nerf Damage To Commons [v1.0.6 | 01-February-2021]
Reply With Quote #32

Quote:
Originally Posted by Marttt View Post
Updated. (1.0.6)

Code:
1.0.6 (01-February-2021)
    - Code changes to be able to compile directly from SM forum.
    - Fixed damage dropoff calculation, same as sv_damage 2. (precise distance calculation between attacker and victim)
Marttt Thanks for updating it. Although I notice a small flaw. When I damage the common infected with the 50 cal., No matter how much health they have or damage resistance they take, they will die instantly instead of taking the amount of damage they are entitled to.

I have disabled the command "l4d2_nerf_damage_common_damage_dropoff 0" and it will lower the damage of the 50 cal. to 10 to test and kill instantaneously even if they have 100 hp and with resistance in non-head.

The Minigun seems to be more or less fine, although it is kind of rare that it kills too quickly, perhaps because of the amount of bullets it fires.

Nothing more than that.
Maur0 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-01-2021 , 21:16   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 01-February-2021]
Reply With Quote #33

Thanks Maur0.

Updated. (1.0.7)

Code:
1.0.7 (02-February-2021)
    - Fixed wrong damage from machine guns. (thanks Maur0 for reporting)
    - Fixed insta-kill cvar. (thanks Maur0 for reporting)
__________________

Last edited by Marttt; 02-01-2021 at 21:36.
Marttt is offline
Maur0
Senior Member
Join Date: Aug 2020
Old 02-01-2021 , 22:21   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 01-February-2021]
Reply With Quote #34

Quote:
Originally Posted by Marttt View Post
Thanks Maur0.

Updated. (1.0.7)

Code:
1.0.7 (02-February-2021)
    - Fixed wrong damage from machine guns. (thanks Maur0 for reporting)
    - Fixed insta-kill cvar. (thanks Maur0 for reporting)
Marttt No problem and many thanks to you for this great plugin
Maur0 is offline
jeremyvillanueva
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 02-17-2021 , 09:03   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 01-February-2021]
Reply With Quote #35

Hi Marttt, I, as always, I'm very thankful with your job,

I wanted to report this crash,



https://crash.limetech.org/ot2h35ijku2m

This is the raw crash
Spoiler


I got the error everytime someone gets out of the server:

Crash ID Uploaded Function
OT2H-35IJ-KU2M 3 hours ago server_srv.so!NextBotCombatCharacter::OnTakeD amage_Dying(CTakeDamageInfo const&) + 0x38
IWWV-OHUN-IQUF 3 hours ago server_srv.so!NextBotCombatCharacter::OnTakeD amage_Dying(CTakeDamageInfo const&) + 0x38
4CAM-L5Y7-ELJP 3 hours ago server_srv.so!CDirector::OnChangeChapterVote( char const*) + 0xdb
PSC4-RMCH-B6UZ 3 hours ago server_srv.so!CDirector::OnChangeChapterVote( char const*) + 0xdb
J33J-PBEY-RX3A 3 hours ago server_srv.so!NextBotCombatCharacter::OnTakeD amage_Dying(CTakeDamageInfo const&) + 0x38
Z5EJ-SOSS-K3KW 3 hours ago server_srv.so!NextBotCombatCharacter::OnTakeD amage_Dying(CTakeDamageInfo const&) + 0x38


I removed the plugin and the server runs without errors,

For sure, the plugin will work standalone, maybe it is doing a conflict with another one?
jeremyvillanueva is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-17-2021 , 09:40   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 01-February-2021]
Reply With Quote #36

Well, I wasn't able to reproduce. I can only test in Windows SO, seem that you are using Linux.

I think that it can be a plugin conflict, otherwise someone would already have been reported it.

What I would recommend is removing some common infected related plugins and checking if the crash happens again, since seem easy to reproduce at your end.

I notice the "Dissolve" function in the crash log, may not be related, but are you using the Dissolve Infected plugin and its latest version?
__________________
Marttt is offline
jeremyvillanueva
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 02-17-2021 , 10:33   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 01-February-2021]
Reply With Quote #37

yep, I'm using the dissolve infected plugin,
well, I'm doing some tests right now, I will try eventually thanks Marttt!,
jeremyvillanueva is offline
Shao
Senior Member
Join Date: Jan 2015
Old 03-03-2021 , 15:09   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 02-February-2021]
Reply With Quote #38

Thank you for this, having to deal with visual bugs so often with the snipers was pretty annoying since the snipers are flagged to gib no matter what outside realism.
Shao is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-03-2021 , 22:17   Re: [L4D2] Nerf Damage To Commons [v1.0.7 | 02-February-2021]
Reply With Quote #39

@Shao, thanks for the feedback, although the logic that I implemented to ignore the wound/gibs logic may not be the best yet. I still have to make it more compatible with my Wounded Common plugin.

@jeremyvillanueva, I think I fixed the crash with the Dissolve Infected plugin, try the new version.

Updated (1.0.8)

Code:
1.0.8 (03-March-2021)
    - Fixed incompatibility with the [L4D & L4D2] Dissolve Infected plugin. (thanks "jeremyvillanueva" for reporting, and "Silvers" for the code to fix)
__________________

Last edited by Marttt; 03-03-2021 at 22:21.
Marttt is offline
Sempiro
Member
Join Date: Apr 2014
Old 10-01-2021 , 00:27   Re: [L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]
Reply With Quote #40

It is weird, but the plugin seems not working to me. Still can kill infected with one shot from snipers and other one-shot-kill weapons.
Sempiro 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 23:30.


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