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

[CS:GO] Friendly Fire > Killshot Reverse 2.0.0 [2018.05.19]


Post New Thread Reply   
 
Thread Tools Display Modes
Obyboby
Veteran Member
Join Date: Sep 2013
Old 05-12-2018 , 09:26   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #31

Quote:
Originally Posted by Neuro Toxin View Post
Ok, I've added this plugin to GitHub.

This is current master.

Below is the convar's for configs:

Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
Note: I havn't test this properly yet. Let me know if there are any issues.
It works BUT:
after the time has expired, a player is still protected from friendly fire damage.
It means that if after 20 seconds (according to the cvar you posted) I shoot a team mate, the damage is reflected to me but he's not actually taking any damage.
They should take the damage, and it should be MIRRORED to me.
If i attack a mate and the damage is 10 hp, we should both get 10 hp removed from our health (this assuming the damage ratio is 1.0 ofc)
But it's not happening right now. it's like if friendly fire is just reflected to the attacker but not taken by the victim.
Was the plugin supposed to work like this?
__________________
Obyboby is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-12-2018 , 20:37   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #32

That's how the plugin should work as it reverses damage from team mates that will kill them.

- Damage to team mates that wont kill them will not be changed
- Damage to team mates that will kill them will be blocked and applied to the attacker

I would be happy to work with you to add some more convars to achieve the result you are seeking.

Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	1		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	1		// Allows all friendly fire damage to be reversed
So: killshotreverse_blockvictimdamage being set to 0 would mirror damage (both attacker and victim receive damage)
And: killshotreverse_blockkillshotsonly being set to 0 would mirror all friendly fire damage, not just killshots.
__________________
Neuro Toxin is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 05-13-2018 , 13:04   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #33

Quote:
Originally Posted by Neuro Toxin View Post
That's how the plugin should work as it reverses damage from team mates that will kill them.

- Damage to team mates that wont kill them will not be changed
- Damage to team mates that will kill them will be blocked and applied to the attacker

I would be happy to work with you to add some more convars to achieve the result you are seeking.

Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	1		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	1		// Allows all friendly fire damage to be reversed
So: killshotreverse_blockvictimdamage being set to 0 would mirror damage (both attacker and victim receive damage)
And: killshotreverse_blockkillshotsonly being set to 0 would mirror all friendly fire damage, not just killshots.
Cool! So have you already pushed the update? Let me see the github page
__________________
Obyboby is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-13-2018 , 15:19   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #34

Quote:
Originally Posted by Obyboby View Post
Cool! So have you already pushed the update? Let me see the github page
I have not.

If what I've purposed sounds about right give me a couple of days.
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-13-2018 , 21:16   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #35

I've committed the updates to GitHub.

This is current master.

Below is the config I believe you want.
Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	0		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	0		// Allows all friendly fire damage to be reversed
This is untested. Let me know if it does not behave as you expect.
__________________

Last edited by Neuro Toxin; 05-13-2018 at 22:14.
Neuro Toxin is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 05-14-2018 , 14:06   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #36

Quote:
Originally Posted by Neuro Toxin View Post
I've committed the updates to GitHub.

This is current master.

Below is the config I believe you want.
Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	0		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	0		// Allows all friendly fire damage to be reversed
This is untested. Let me know if it does not behave as you expect.
Something's wrong. Victim is still immune to damage.

EDIT: they're not immune, I'm confused tho. Gotta test more
__________________

Last edited by Obyboby; 05-14-2018 at 14:16.
Obyboby is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-15-2018 , 05:05   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #37

You are right.

There was a logic error. I've patched it and done some testing.

I've committed the updates to GitHub.

This is current master.

Below is the config I believe you want.

Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	0		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	0		// Allows all friendly fire damage to be reversed
Please let me know if this what you expect so I can update the main post
__________________
Neuro Toxin is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 05-15-2018 , 13:03   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #38

Quote:
Originally Posted by Neuro Toxin View Post
You are right.

There was a logic error. I've patched it and done some testing.

I've committed the updates to GitHub.

This is current master.

Below is the config I believe you want.

Code:
killshotreverse_enable			1		// Enable/Disable the plugin from editing damage values.
killshotreverse_dmgratio		0.25		// The ratio of damage to apply back to the attacker.
killshotreverse_disablealldamage	0		// Disable all damage between all players.
killshotreverse_disablefalldamage	0		// Disables fall damage for players.
killshotreverse_reversealldamage	0		// Reverses all damage to attacking player.
killshotreverse_disableknifedamage	1		// Disabled friendly fire for knife damage.
killshotreverse_rounddisabletimer	20.0		// Disable friendly fire for the first x seconds of each round.
killshotreverse_blockvictimdamage	0		// Victims wont receive damage from friendly fire killshots
killshotreverse_blockkillshotsonly	0		// Allows all friendly fire damage to be reversed
Please let me know if this what you expect so I can update the main post
From a quick test it seems to be working perfectly. I will report back if I found any issues.

THANK YOU!!!

EDIT: I'm just getting this in the chat from time to time

PHP Code:
Plugin_Continue 1 
Not sure if it's from your plugin?
__________________

Last edited by Obyboby; 05-15-2018 at 13:05.
Obyboby is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-15-2018 , 17:26   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #39

Quote:
Originally Posted by Obyboby View Post
EDIT: I'm just getting this in the chat from time to time

PHP Code:
Plugin_Continue 1 
Not sure if it's from your plugin?
Dammit. That is a lingering debug msg. Ill patch it out shortly.

I noticed you probably want killshotreverse_reversealldamage set to 1 also.
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-15-2018 , 20:49   Re: [CS:GO] [KSR] Friendly Fire Killshot Reverse 1.5.1 [26.04.2015]
Reply With Quote #40

Quote:
Originally Posted by Neuro Toxin View Post
Dammit. That is a lingering debug msg. Ill patch it out shortly.

I noticed you probably want killshotreverse_reversealldamage set to 1 also.
LOL.

I forgot to sync the version where I removed the debug messages.

This is current master.
__________________
Neuro Toxin 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 13:05.


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