Monthly Target: $400 Donations: $147
 36% 

[L4D] Exact FF Damage Announcer (1.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Frus
Senior Member
Join Date: Aug 2009
Plugin ID:
1098
Plugin Version:
1.4
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    87 
    Plugin Description:
    Displays the exact damage done by friendly fire
    Old 08-16-2009 , 16:50   [L4D] Exact FF Damage Announcer (1.4)
    Reply With Quote #1

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (l4dffannounce.sp - 4033 views - 4.7 KB)

    Last edited by Frus; 09-11-2009 at 17:20.
    Frus is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-16-2009 , 17:41   Re: [L4D] True FF Damage Announcer
    Reply With Quote #2

    Is this better than broadcast?
    __________________
    olj is offline
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 08-16-2009 , 18:46   Re: [L4D] True FF Damage Announcer
    Reply With Quote #3

    Quote:
    Originally Posted by olj View Post
    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.
    Frus is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-16-2009 , 18:49   Re: [L4D] True FF Damage Announcer
    Reply With Quote #4

    Broadcast displays wrong info ? Why?
    __________________
    olj is offline
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 08-16-2009 , 18:50   Re: [L4D] True FF Damage Announcer
    Reply With Quote #5

    Quote:
    Originally Posted by olj View Post
    Broadcast displays wrong info , 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.

    Last edited by Frus; 08-16-2009 at 18:58.
    Frus is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-17-2009 , 03:25   Re: [L4D] True FF Damage Announcer
    Reply With Quote #6

    Quote:
    Originally Posted by Frus View Post
    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
    __________________
    olj is offline
    Whosat
    Senior Member
    Join Date: Nov 2007
    Location: Singapore
    Old 08-17-2009 , 07:15   Re: [L4D] Exact FF Damage Announcer
    Reply With Quote #7

    Yeah I'm definitely grabbing this!
    Couldn't stand the hinttext spammages from a bad molo throw for the broadcast plugin.
    __________________
    Whosat is offline
    overthehill
    New Member
    Join Date: Aug 2009
    Old 08-17-2009 , 16:22   Re: [L4D] Exact FF Damage Announcer
    Reply With Quote #8

    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
    overthehill is offline
    Frus
    Senior Member
    Join Date: Aug 2009
    Old 08-17-2009 , 17:37   Re: [L4D] Exact FF Damage Announcer
    Reply With Quote #9

    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.
    Frus is offline
    overthehill
    New Member
    Join Date: Aug 2009
    Old 08-17-2009 , 18:01   Re: [L4D] Exact FF Damage Announcer
    Reply With Quote #10

    Quote:
    Originally Posted by Frus View Post
    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.
    overthehill 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 22:30.


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