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
Shao
Senior Member
Join Date: Jan 2015
Old 02-11-2023 , 15:46   Re: [L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]
Reply With Quote #61

Oxygen Tanks seems to be bugged with this plugin enabled, I've had it for a while and now commons don't die. Only get gibbed pretty hard, you get funny results like running legs at you though. Has anything notable changed since?
Shao is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-15-2023 , 20:19   Re: [L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]
Reply With Quote #62

Plugin updated.

Code:
1.0.9 (19-February-2023)
    - Fixed a bug where commons didn't die from oxygen tank explosion. (thanks "Shao" for reporting)
__________________

Last edited by Marttt; 02-19-2023 at 21:21.
Marttt is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 04-22-2023 , 10:58   Re: [L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]
Reply With Quote #63

Quote:
Originally Posted by Marttt View Post
Plugin updated.
Wow, it took me a ton of time, but I finally found a plugin that spams the "isIncendiary" message into chat (screen in attach).
This spam is because of a 778 line of code in your plugin:
Code:
776 bool isIncendiary = (g_bCvar_IncendiaryAmmo && (damagetype & DMG_BULLET && damagetype & DMG_BURN));
777    if (isIncendiary)
778    PrintToChatAll("isIncendiary %b", isIncendiary);
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-04-11 235154.jpg
Views:	45
Size:	48.4 KB
ID:	200342  
Mika Misori is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-02-2023 , 11:12   Re: [L4D2] Nerf Damage To Commons [v1.0.9 | 19-February-2023]
Reply With Quote #64

line 825
PHP Code:
bool isExplosive = (g_bCvar_IncendiaryAmmo && (damagetype DMG_BULLET && damagetype DMG_BLAST));
    
bool isIncendiary = (g_bCvar_IncendiaryAmmo && (damagetype DMG_BULLET && damagetype DMG_BURN)); 
should be

PHP Code:
bool isExplosive = (g_bCvar_ExplosiveAmmo && (damagetype DMG_BULLET && damagetype DMG_BLAST));
    
bool isIncendiary = (g_bCvar_IncendiaryAmmo && (damagetype DMG_BULLET && damagetype DMG_BURN)); 
__________________

Last edited by HarryPotter; 08-02-2023 at 11:12.
HarryPotter is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 08-02-2023 , 20:59   Re: [L4D2] Nerf Damage To Commons [v1.0.9 | 19-February-2023]
Reply With Quote #65

Thanks fixed.
__________________
Marttt 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 12:24.


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