Raised This Month: $32 Target: $400
 8% 

[L4D/L4D2] Reciprocal Friendly Fire


Post New Thread Reply   
 
Thread Tools Display Modes
Bugzee
Junior Member
Join Date: Jan 2010
Location: ***Account Deleted***
Old 02-06-2010 , 19:04   Re: [L4D2] Reciprocal Friendly Fire
Reply With Quote #11

Quote:
Originally Posted by triggerman View Post
no dont remove this. that plugin has always come across as skeptical with unnecessary features and doesnt work in l4d2 anyways.

EDIT: WORKS! updated to 1.4
Sweet, thanks for testing Triggerman!
Bugzee is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 02-06-2010 , 19:14   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #12

how much testing did you do? I did alot of testing. It seems to work fine until someone gets incapped. Then after they get back up, they can incap other people who have low health.

edit: ok, maybe not a whole lot of testing (5 minutes) but i still found a bug.
__________________
Steam_id: thejuice027
thejuice027 is offline
Bugzee
Junior Member
Join Date: Jan 2010
Location: ***Account Deleted***
Old 02-06-2010 , 19:20   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #13

Quote:
Originally Posted by thejuice027 View Post
how much testing did you do? I did alot of testing. It seems to work fine until someone gets incapped. Then after they get back up, they can incap other people who have low health.

edit: ok, maybe not a whole lot of testing (5 minutes) but i still found a bug.
Thanks, I appreciate it. It is still beta, but I do see why this is happening. I'll get it fixed. Thank you for reporting back.
Bugzee is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 02-06-2010 , 19:27   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #14

the damage return on FF deosnt affect pill health.
__________________
triggerman is offline
Bugzee
Junior Member
Join Date: Jan 2010
Location: ***Account Deleted***
Old 02-06-2010 , 20:33   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #15

I can't get the plugin to work with pill health. If anyone has pointers on how to do that, please do share.

I was not able to duplicate the reported bug where the incapped attacker got up and was then able to incap another player (who was at very low health). When I did that, no further damage was done to either party(both were already at 1 health). This is because when a player is incapped or has pill health, it doesn't seem to register as normal health.

Last edited by Bugzee; 02-06-2010 at 20:51. Reason: Made clearer
Bugzee is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 02-06-2010 , 20:40   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #16

i found that if you reduce you health to one but doing FF then you can be incapped but if its reduced by normal means then you cant.
__________________
triggerman is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 02-06-2010 , 20:50   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #17

Quote:
Originally Posted by Bugzee View Post
I can't get the plugin to work with pill health. If anyone has pointers on how to do that, please do share.

I was not able to duplicate the reported bug where the incapped attacker got up and was then able to incap another player. When I did that, no damage was done to either party. This is because when a player is incapped or has pill health, it doesn't seem to register as normal health.
Both player had gone down if that helps. Add me, i can help test it with more than 1 player if you need. bots for testing doesn't always work out.
__________________
Steam_id: thejuice027
thejuice027 is offline
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 02-07-2010 , 06:22   Re: [L4D2] Reciprocal Friendly Fire
Reply With Quote #18

Sorry, didn't know that the old plugin isn't working.

I got an idea. If you use SDK Hooks, you can change the damage before it is dealt to the victim to avoid people going incap.

To get the temphealth of an player you have to calculate it like this. Maybe it will help you.
PHP Code:
new temphealth RoundToCeil(GetEntPropFloat(iProp_Send"m_healthBuffer") - ((GetGameTime() - GetEntPropFloat(iProp_Send"m_healthBufferTime")) * GetConVarFloat(FindConVar("pain_pills_decay_rate")))) - 1;
if (
temphealth 0temphealth 0
__________________
DieTeetasse is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 02-07-2010 , 11:59   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #19

Quote:
Originally Posted by thejuice027 View Post
Both player had gone down if that helps. Add me, i can help test it with more than 1 player if you need. bots for testing doesn't always work out.
I found exactly the cause. If a player takes enough damage to go down from another player, he/she will go down.

This is wha I did.
1. Got into server
2. Did a test shot (worked)
3. Slapped Nick for 99 damage
4. Did another test shot (And Nick got incapped)

Also, I haven't tested it yet, but what about the tank? What if he accidently slaps that hunter thats pounced on Ellis?
__________________
Steam_id: thejuice027
thejuice027 is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 02-16-2010 , 14:29   Re: [L4D/L4D2] Reciprocal Friendly Fire
Reply With Quote #20

standing in someones molotov causes the person that threw it to take damage. if everyone is in the fire then the person that threw the molotov takes huge damage.

i dont use this plugin because of that.
__________________
triggerman is offline
Reply


Thread Tools
Display Modes

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 05:05.


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