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

[TF2] Casualty Reports


Post New Thread Reply   
 
Thread Tools Display Modes
Author
simoneaolson
Member
Join Date: Sep 2009
Plugin ID:
1968
Plugin Version:
1.06
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Generates a casualty report at the end of each round
    Old 09-22-2010 , 21:06   [TF2] Casualty Reports
    Reply With Quote #1

    DESCRIPTION:

    A fun little plugin that creates a casualty report at the end of every round. The numbers would very likely rack up on a 32 or 24 person server, make a few laughs.


    CVARS:

    tf_casualtyreport_version - Current plugin version
    tf_casualtyreport_enabled - Enable/Disable TF2 Casualty Reporting (bool), Def:1
    tf_casualtyreport_time - Seconds to display casualty report menu (int), Def:14s
    tf_casualtyreport_ignorewounded - Ignore wounded players on the panel (players who are alive when the round ends)(bool), Def:false
    tf_casualtyreport_losingpanel - Show top players on the losing team on the panel (bool), Def: 0
    tf_casualtyreport_mvps - Number of MVPs to show on the losing team panel (int), Def: 3


    Changelog:
    1.0 - Initial release (bugged)
    1.05 -
    * Fixed IsClientInGame error (occured when the maximum amount of clients were reached in the server)
    * Fixed convars not being properly set if other than default
    * Updated translations to display which team won
    * Added Cvar (option to not display wounded players: tf_casualtyreport_ignorewounded)
    * Optimized plugin (better ConVar handling)

    v1.06 -
    * Added Losing team MVPs panel (not turned on by default)
    * Fixed the broken Ignore Wounded CVAR

    Installation:
    (1) Download tf_casualtyreport.zip
    (2) Drag the "addons" folder into the "tf" directory on your server
    (3) If you just want to look at the source, download the .sp

    Attached Files
    File Type: zip tf_casualtyreport.zip (14.2 KB, 765 views)
    File Type: sp Get Plugin or Get Source (tf_casualtyreport.sp - 1259 views - 12.9 KB)

    Last edited by simoneaolson; 10-25-2010 at 18:21. Reason: new version
    simoneaolson is offline
    RavensBro
    Veteran Member
    Join Date: Sep 2009
    Location: Wisonsin USA
    Old 10-06-2010 , 08:12   Re: [TF2] Casualty Reports
    Reply With Quote #2

    ok try'd it and here is what i found in the logs.


    L 10/06/2010 - 010:25: [SM] Native "IsClientInGame" reported: Client index 17 is invalid
    L 10/06/2010 - 010:25: [SM] Displaying call stack trace for plugin "tf_casualtyreport.smx":
    L 10/06/2010 - 010:25: [SM] [0] Line 153, scripting\tf_casualtyreport.sp::RoundWon()
    L 10/06/2010 - 014:41: [SM] Native "IsClientInGame" reported: Client index 17 is invalid
    L 10/06/2010 - 014:41: [SM] Displaying call stack trace for plugin "tf_casualtyreport.smx":
    L 10/06/2010 - 014:41: [SM] [0] Line 153, scripting\tf_casualtyreport.sp::RoundWon()
    L 10/06/2010 - 01:406: Error log file session closed.
    L 10/06/2010 - 02:12:23: SourceMod error session started
    RavensBro is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 10-10-2010 , 22:58   Re: [TF2] Casualty Reports
    Reply With Quote #3

    Quote:
    Originally Posted by RavensBro View Post
    [SM] Native "IsClientInGame" reported: Client index 17 is invalid
    Fixed in version 1.05. I apologize for the delayed release
    simoneaolson is offline
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 10-12-2010 , 06:04   Re: [TF2] Casualty Reports
    Reply With Quote #4

    Dont suppose theres a way to edit this to make it also work with [TF2] Win panel for losing team - AlliedModders
    __________________
    MrSaturn is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 10-12-2010 , 18:12   Re: [TF2] Casualty Reports
    Reply With Quote #5

    Quote:
    Originally Posted by MrSaturn View Post
    Dont suppose theres a way to edit this to make it also work with [TF2] Win panel for losing team - AlliedModders
    I am working on incorporating this into the main plugin. Will release it soon!
    simoneaolson is offline
    rdmx
    Junior Member
    Join Date: Oct 2010
    Old 10-18-2010 , 22:25   Re: [TF2] Casualty Reports
    Reply With Quote #6

    Nice plugin,
    The ignorewounded cvar doesn't work though - whatever I do, it sets the cvar back to 0
    rdmx is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 10-25-2010 , 18:21   Re: [TF2] Casualty Reports
    Reply With Quote #7

    Updated.

    v1.06 -
    * Added Losing team MVPs panel (not turned on by default)
    * Fixed the broken Ignore Wounded CVAR
    simoneaolson is offline
    RavensBro
    Veteran Member
    Join Date: Sep 2009
    Location: Wisonsin USA
    Old 01-02-2011 , 16:29   Re: [TF2] Casualty Reports
    Reply With Quote #8

    L 01/02/2011 - 13:50:22: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 01/02/2011 - 13:50:22: [SM] Native "Format" reported: Language phrase "class0" not found
    L 01/02/2011 - 13:50:22: [SM] Displaying call stack trace for plugin "tf_casualtyreport.smx":
    L 01/02/2011 - 13:50:22: [SM] [0] Line 258, scripting\tf_casualtyreport.sp:raw_PanelPla yer()
    L 01/02/2011 - 13:50:22: [SM] [1] Line 384, scripting\tf_casualtyreport.sp::AddLosingTeam MVPsToPanel()
    L 01/02/2011 - 13:50:22: [SM] [2] Line 183, scripting\tf_casualtyreport.sp::RoundWon()
    L 01/02/2011 - 13:57:57: Error log file session closed.
    RavensBro is offline
    RavensBro
    Veteran Member
    Join Date: Sep 2009
    Location: Wisonsin USA
    Old 06-30-2011 , 08:01   Re: [TF2] Casualty Reports
    Reply With Quote #9

    L 06/28/2011 - 16:06:29: SourceMod error session started
    L 06/28/2011 - 16:06:29: Info (map "pl_barnblitz") (file "errors_20110628.log")
    L 06/28/2011 - 16:06:29: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 06/28/2011 - 16:06:29: [SM] Native "Format" reported: Language phrase "class0" not found
    L 06/28/2011 - 16:06:29: [SM] Displaying call stack trace for plugin "tf_casualtyreport.smx":
    L 06/28/2011 - 16:06:29: [SM] [0] Line 258, scripting\tf_casualtyreport.sp:raw_PanelPla yer()
    L 06/28/2011 - 16:06:29: [SM] [1] Line 384, scripting\tf_casualtyreport.sp::AddLosingTeam MVPsToPanel()
    L 06/28/2011 - 16:06:29: [SM] [2] Line 183, scripting\tf_casualtyreport.sp::RoundWon()
    L 06/28/2011 - 160:05: Error log file session closed.
    RavensBro is offline
    SaintK
    Veteran Member
    Join Date: Mar 2004
    Old 07-07-2011 , 16:41   Re: [TF2] Casualty Reports
    Reply With Quote #10

    Ive not tried the plugin but i'm wondering, will the pannel / can it auto close?
    SaintK 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 21:49.


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