Raised This Month: $169 Target: $400
 42% 

[L4D1/2] Respawn Statistics Fixer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Senior Member
Join Date: Nov 2017
Location: Ukraine
Plugin ID:
6255
Plugin Version:
1.5
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Save statistics of player on manual respawn doing by any plugin
    Old 09-11-2018 , 15:51   [L4D1/2] 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
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_RespawnStat.sp - 18 views - 8.6 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D1 Bloody Witch //^.^\\ server

    Last edited by Dragokas; 12-09-2018 at 14:53. Reason: new version
    Dragokas is offline
    Spirit_12
    Veteran Member
    Join Date: Dec 2012
    Location: Toronto, CA
    Old 09-11-2018 , 15: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
    Senior Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 09-11-2018 , 16: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. L4D1 Bloody Witch //^.^\\ server
    Dragokas is offline
    Crasher_3637
    AlliedModders Donor
    Join Date: May 2012
    Old 09-11-2018 , 16:16   Re: [L4D] Respawn Statistics Fixer
    Reply With Quote #4

    Nice! I'm loving all this support for L4D1!
    __________________
    AFK like JFK
    Crasher_3637 is offline
    Dragokas
    Senior Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 09-15-2018 , 20: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. L4D1 Bloody Witch //^.^\\ server
    Dragokas is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Black Hole
    Old 09-16-2018 , 19: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 19:36.
    cravenge is offline
    Dragokas
    Senior Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 09-16-2018 , 20: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. L4D1 Bloody Witch //^.^\\ server
    Dragokas is offline
    Dragokas
    Senior Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 09-17-2018 , 13: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. L4D1 Bloody Witch //^.^\\ server
    Dragokas is offline
    Iizuka07
    Member
    Join Date: Aug 2018
    Old 09-20-2018 , 16:25   Re: [L4D1/2] Respawn Statistics Fixer
    Reply With Quote #9

    works fine on l4d2
    __________________
    死が待っている
    Iizuka07 is offline
    Dragokas
    Senior Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 12-09-2018 , 14: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. L4D1 Bloody Witch //^.^\\ server

    Last edited by Dragokas; 12-09-2018 at 14:54.
    Dragokas 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:36.


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