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

[L4D1 & L4D2] Respawn Statistics Fixer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
6255
Plugin Version:
1.5
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Save statistics of player on manual respawn doing by any plugin
    Old 09-11-2018 , 14:51   [L4D1 & L4D2] Respawn Statistics Fixer
    Reply With Quote #1

    Description:
    It save all values of round statistics when player death, and restore it when player respawn.
    So, you don't loose your round stat when e.g., somebody use admin. command sm_respawn or if you use some plugin that can call SDKCall to respawn player manually.
    Settings:
    l4d_repawn_stat_enable - Enable RespawnStat plugin (1 - On / 0 - Off)
    l4d_repawn_stat_team (default - 4) - What team should statistics be saved for (4 - Survivors only, 8 - Infected only, 16 - Both)
    Using:
    Copy l4d_RespawnStat.smx to addons/sourcemod/plugins
    Respect:
    SilverShot - for providing list of statistics properties and initial code for saving/loading stat for each player.
    cravenge - list of L4d2 properties
    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_RespawnStat.sp - 1205 views - 8.6 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-15-2021 at 08:50. Reason: new version
    Dragokas is offline
    Spirit_12
    Veteran Member
    Join Date: Dec 2012
    Location: Toronto, CA
    Old 09-11-2018 , 14:58   Re: [L4D] Respawn Statistics Fixer
    Reply With Quote #2

    Couldn’t look at code, birdies it support both l4d and l4d2?
    __________________
    Spirit_12 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-11-2018 , 15:04   Re: [L4D] Respawn Statistics Fixer
    Reply With Quote #3

    I didn't block it for using with L4d2, but I didn't test it for support.
    I will be glag if somebody do it.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 09-11-2018 , 15:16   Re: [L4D] Respawn Statistics Fixer
    Reply With Quote #4

    Nice! I'm loving all this support for L4D1!
    __________________
    Psyk0tik is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-15-2018 , 19:32   Re: [L4D] Respawn Statistics Fixer
    Reply With Quote #5

    Updated to v.1.3.
    It was a bug when old round statistics moved to next round. It happens on limited number of servers.
    Sorry for the inconvenience.

    Please check it.
    And also, check is it correctly work on L4d2. I see no reasons why it should not work.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 09-16-2018 , 18:32   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #6

    A suggestion:


    These are all the map stats I can find in L4D2:

    Last edited by cravenge; 09-16-2018 at 18:36.
    cravenge is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-16-2018 , 19:24   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #7

    Quote:
    // or whatever respawn cmd has been set to
    It can be "set" to SDKCall from another plugin, so no "sm_respawn" command to listen at all.
    My plugin intended for general using, no matter how command is called.

    Thank you for the list of properties you found.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-17-2018 , 12:27   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #8

    Updated to v1.4 (untested for L4d2, please report)

    - Added the list of L4d2 properties (thanks to cravenge)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Iizuka07
    Senior Member
    Join Date: Aug 2018
    Location: Underground
    Old 09-20-2018 , 15:25   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #9

    works fine on l4d2
    __________________
    死が待っている
    Iizuka07 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 12-09-2018 , 13:54   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #10

    1.5 (05-Dec-2018 )
    - Added additional events to be extra safe in clearing statistics on round start.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 12-09-2018 at 13:54.
    Dragokas is offline
    Reply



    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 03:11.


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