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

[L4D - L4D2 ] Basic Player Kill Stats - Stage and Campaign Kill Tracker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
teddyruxpin
Overseer of lost packets
Join Date: Feb 2008
Plugin ID:
741
Plugin Version:
0.0.11
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    24 
    Plugin Description:
    Basic plugin that tracks the total number of common zombies you have killed. Head shots and Head shot accuracy per stage and campaign
    Old 01-28-2009 , 19:42   [L4D - L4D2 ] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #1

    This is a basic plugin that tracks the total number of common zombies you have killed. This is a re-write of the 'common kill tracker' plugin I made several weeks ago. This plugin will now properly track the following.

    Common Zombies Killed
    Per Stage
    Per Campaign (Updates after each stage)
    Head Shots Per Stage
    Head Shots Per Campaign
    Head Shots Accuracy Per Stage
    Head Shots Accuracy Per Campaign


    There is no persistent storage so it is simply for a team to see how many zombies they have eliminated that campaign and is a great tool for people trying to improve their head shot accuracy or tally up kills for Zombie Genocidist Achievements. If you are looking for more detailed stats please check out the 'L4D Stats' that msleeper put together.

    There is also a small advertisement on player_spawn that tells the stats feature is available and how to access it via chat !zinfo.

    Usage:
    Type:
    Code:
    !zinfo
    into the chat box while in game and it will display your player info.

    or

    Code:
    bind "x" "sm_zinfo"
    Then press "x" and it will display your player stats. Change "x" to any key you wish to use.

    Team Stats (Still buggy)

    Usage:
    Type:
    Code:
    !zinfoteam
    into the chat box while in game and it will display your team info in a per player chat message.

    Screen Shot:


    Credits to everyone I nagged in the SM IRC channel to figure this out.

    -Teddy
    Attached Files
    File Type: smx zinfo.smx (4.1 KB, 4530 views)
    File Type: sp Get Plugin or Get Source (zinfo.sp - 9141 views - 4.0 KB)
    __________________
    Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
    http://blacktusklabs.com/ - Mah blog and stuff

    My Crappy Plugins: SuperBuilds, Parent Buildables,
    L4D Player Info

    Last edited by teddyruxpin; 11-21-2009 at 15:33. Reason: L4D2 Support
    teddyruxpin is offline
    ApocalypseDan
    Member
    Join Date: Jan 2009
    Old 01-28-2009 , 20:43   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #2

    awsome teddyruxpin You are a true legend
    __________________
    ApocalypseDan is offline
    Number Six
    Senior Member
    Join Date: Dec 2008
    Old 01-28-2009 , 20:50   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #3

    L 01/29/2009 - 02:42:25: SourceMod error session started
    L 01/29/2009 - 02:42:25: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090129.log")
    L 01/29/2009 - 02:42:25: [SM] Native "IsClientConnected" reported: Client index 15 is invalid
    L 01/29/2009 - 02:42:25: [SM] Displaying call stack trace for plugin "zinfo.smx":
    L 01/29/2009 - 02:42:25: [SM] [0] Line 51, /home/groups/alliedmodders/forums/files/3/5/1/5/2/36398.attach::cmdGetInfo()
    L 01/29/2009 - 02:46:18: Error log file session closed.



    MAJ : Tested second version http://forums.alliedmods.net/attachm...7&d=1233189685 , work , thx
    __________________



    Last edited by Number Six; 01-28-2009 at 21:40.
    Number Six is offline
    teddyruxpin
    Overseer of lost packets
    Join Date: Feb 2008
    Old 01-28-2009 , 22:48   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #4

    Quote:
    Originally Posted by Number Six View Post
    L 01/29/2009 - 02:42:25: SourceMod error session started
    L 01/29/2009 - 02:42:25: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090129.log")
    L 01/29/2009 - 02:42:25: [SM] Native "IsClientConnected" reported: Client index 15 is invalid
    L 01/29/2009 - 02:42:25: [SM] Displaying call stack trace for plugin "zinfo.smx":
    L 01/29/2009 - 02:42:25: [SM] [0] Line 51, /home/groups/alliedmodders/forums/files/3/5/1/5/2/36398.attach::cmdGetInfo()
    L 01/29/2009 - 02:46:18: Error log file session closed.



    MAJ : Tested second version http://forums.alliedmods.net/attachm...7&d=1233189685 , work , thx

    The above error was from the zinfoteam command which I found is not working as expected. Looks like it was trying to pull the stats from a infected bot. I will look into the team stats this week and post and updated version once I get it working as I wanted. For now the single player stats works great.

    -Teddy
    __________________
    Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
    http://blacktusklabs.com/ - Mah blog and stuff

    My Crappy Plugins: SuperBuilds, Parent Buildables,
    L4D Player Info
    teddyruxpin is offline
    Dark-Reaper
    Member
    Join Date: Jan 2009
    Old 01-29-2009 , 12:36   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #5

    Great plugin but could you disable it for the Infected team ?

    Seeing the advert each time I spawn is really bad.
    Dark-Reaper is offline
    WiseOwl
    Junior Member
    Join Date: Jan 2009
    Old 01-29-2009 , 19:01   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #6

    I don't have a problem with it telling you when you spawn as infected, it doesn't stay for long and lets people see again that they can use it.

    Really like this plugin, thanks a lot
    WiseOwl is offline
    Dark-Reaper
    Member
    Join Date: Jan 2009
    Old 01-30-2009 , 12:30   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #7

    Quote:
    Originally Posted by WiseOwl View Post
    I don't have a problem with it telling you when you spawn as infected, it doesn't stay for long and lets people see again that they can use it.

    Really like this plugin, thanks a lot
    I didn't say it stays for a long moment, but, anyway, it's useless as infected.
    Dark-Reaper is offline
    Singe
    Junior Member
    Join Date: Jan 2009
    Old 02-01-2009 , 15:03   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #8

    I really like this plugin. Excellent work bro. Keep at it!
    Singe is offline
    AntDX316
    Member
    Join Date: Apr 2009
    Old 04-23-2009 , 10:01   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #9

    can u make it where if i type it everyone sees it

    like their own name and the stats too

    and have the ability to have on the middle left the stats on all the time with a server command
    AntDX316 is offline
    teddyruxpin
    Overseer of lost packets
    Join Date: Feb 2008
    Old 10-30-2009 , 13:35   Re: [L4D] Basic Player Kill Stats - Stage and Campaign Kill Tracker
    Reply With Quote #10

    Appears this plugin does work for L4D2 Demo. I will confirm it fully once the game is released.

    Thanks

    --Teddy
    __________________
    Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
    http://blacktusklabs.com/ - Mah blog and stuff

    My Crappy Plugins: SuperBuilds, Parent Buildables,
    L4D Player Info
    teddyruxpin 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:19.


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