AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Exact FF Damage Announcer (1.4) (https://forums.alliedmods.net/showthread.php?t=100654)

Frus 08-16-2009 15:50

[L4D] Exact FF Damage Announcer (1.4)
 
3 Attachment(s)
This used to be part of my competitive plugin, but since it doesn't fit in with the rest of the plugin, and there seems to be interest in a true FF damage plugin. I am releasing it on it's own.

Description

This will send a message to both the attacker and victim of friendly fire with exactly how much damage was done. It will not spam damage reports on every point of damage done, instead it waits for the friendly fire to finish and announces the damage. It also auto-disables when in ready-up-mode with Downtown1's plugin.

CVARS
  • l4d_ff_announce_version (1.4) - The version of the plugin
  • l4d_ff_announce_enable (1) - Enables/Disables the plugin
  • l4d_ff_announce_type (1) - Changes how FF announcer displays FF damage (1:In chat; 2: In Hint Box; 3: In center text) (NOTE: Not reccomended to use anything other than chat)
Updates

1.4 -
Removed depreciated commands, and any errors with the plugin.
1.2 - Added cvar to change how it announces FF damage
1.1 - Added in more checks to eliminate errors in the server log
1.0 - Initial Release

olj 08-16-2009 16:41

Re: [L4D] True FF Damage Announcer
 
Is this better than broadcast?

Frus 08-16-2009 17:46

Re: [L4D] True FF Damage Announcer
 
Quote:

Originally Posted by olj (Post 902588)
Is this better than broadcast?

This displays the exact damage done, which I don't believe broadcast or any other plugin for L4D can do.

olj 08-16-2009 17:49

Re: [L4D] True FF Damage Announcer
 
Broadcast displays wrong info :shock: ? Why?

Frus 08-16-2009 17:50

Re: [L4D] True FF Damage Announcer
 
Quote:

Originally Posted by olj (Post 902671)
Broadcast displays wrong info :shock: , why?

From the plugin page it describes that it only says who you did FF damage to, and where you hit them.

I did not mean to imply there were incorrect plugins, only that mine tells you how much damage was done.

olj 08-17-2009 02:25

Re: [L4D] True FF Damage Announcer
 
Quote:

Originally Posted by Frus (Post 902673)
From the plugin page it describes that it only says who you did FF damage to, and where you hit them.

I did not mean to imply there were incorrect plugins, only that mine tells you how much damage was done.

Sorry, forgot that. Actually i have Broadcast + DID, but i frogot that damage you done displayed by DID, not by Broadcast. Does your one displays damage received, so you will know how much hp you lost because someone shot ya in the face from shottie? Nwm, red description, thats nice :)

Whosat 08-17-2009 06:15

Re: [L4D] Exact FF Damage Announcer
 
Yeah I'm definitely grabbing this! :D
Couldn't stand the hinttext spammages from a bad molo throw for the broadcast plugin.

overthehill 08-17-2009 15:22

Re: [L4D] Exact FF Damage Announcer
 
Hello Frus. I added your plugin and noticed my error log inside sourcemod was growing fast. The below is doing the same thing every minute. I disabled it for now. What might cause this?

Code:

L 08/17/2009 - 11:44:10: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/17/2009 - 11:44:10: [SM] Displaying call stack trace for plugin "l4dffannounce.smx":
L 08/17/2009 - 11:44:10: [SM]  [0]  Line 36, /home/groups/alliedmodders/forums/files/5/8/3/8/6/47646.attach::Event_HurtConcise()
L 08/17/2009 - 11:44:10: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/17/2009 - 11:44:10: [SM] Displaying call stack trace for plugin "l4dffannounce.smx":
L 08/17/2009 - 11:44:10: [SM]  [0]  Line 36, /home/groups/alliedmodders/forums/files/5/8/3/8/6/47646.attach::Event_HurtConcise()
L 08/17/2009 - 11:44:10: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/17/2009 - 11:44:10: [SM] Displaying call stack trace for plugin "l4dffannounce.smx":
L 08/17/2009 - 11:44:10: [SM]  [0]  Line 36, /home/groups/alliedmodders/forums/files/5/8/3/8/6/47646.attach::Event_HurtConcise()

Regards,
oth

Frus 08-17-2009 16:37

Re: [L4D] Exact FF Damage Announcer
 
Thanks for the bug report, I added more checks to ensure the client is in game and not a bot. It should eliminate most if not all errors.

overthehill 08-17-2009 17:01

Re: [L4D] Exact FF Damage Announcer
 
Quote:

Originally Posted by Frus (Post 903703)
Thanks for the bug report, I added more checks to ensure the client is in game and not a bot. It should eliminate most if not all errors.

Excellent work Frus. Thanks for the plugin.


All times are GMT -4. The time now is 18:56.

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