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

[L4D1&2] Witch crown statistic


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DieTeetasse
Senior Member
Join Date: Jul 2009
Plugin ID:
1592
Plugin Version:
1.0.2
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adding a statistic of witch crowns
    Old 04-05-2010 , 10:30   [L4D1&2] Witch crown statistic
    Reply With Quote #1

    This plugin adds a witch crown statistic to the server, so you can see who is the best witch killer.

    There are 2 say and console commands for displaying.
    Either say in the chat "!crowned" or use the sm_crowns_own command to see your own crowns.
    Or say "!topcrowners" or sm_crowns_top to see the 5 best crowners and the totally count of crowned witches.

    There is only one cvar for the version yet: l4d2_crownstat_version

    The plugin will create a textfile named "witch_crown_database.txt" to store the values inside the cfg directory.

    Original request by ne0cha0s (again ): http://forums.alliedmods.net/showthread.php?t=122431

    Update history:
    v1.0.2:
    - added l4d1 support
    - added 2 admin commands to reset one client or all data
    - added command decriptions
    - changed messages text
    - added cvar for join notification

    v1.0.1:
    - added join notification
    - added fail crown message
    Attached Thumbnails
    Click image for larger version

Name:	Clipboard01.jpg
Views:	5701
Size:	15.1 KB
ID:	63065   Click image for larger version

Name:	Clipboard02.jpg
Views:	2251
Size:	2.8 KB
ID:	63066   Click image for larger version

Name:	Clipboard03.jpg
Views:	2387
Size:	4.6 KB
ID:	63067  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_crown_statistic.sp - 4171 views - 8.8 KB)
    __________________

    Last edited by DieTeetasse; 10-09-2010 at 21:49.
    DieTeetasse is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 04-05-2010 , 16:55   Re: [L4D2] Witch crown statistic
    Reply With Quote #2

    Nice plugin dude haven't tested it yet, but it's something that is much needed for me seeing as how I play hard rain so much.

    EDIT: I tested it, works great. Don't see a need or reason to update any current stuff. Though maybe a number of witches that weren't crowned but still killed by you and a Crown to Not Crown ration would be nice, but those are just suggestions.

    Last edited by McFlurry; 04-05-2010 at 18:59.
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    ne0cha0s
    Senior Member
    Join Date: Mar 2010
    Old 04-05-2010 , 20:22   Re: [L4D2] Witch crown statistic
    Reply With Quote #3

    Thanks again die, you're slowly turning into my hero <3

    I found this in the source code though, and had a small laugh:
    Code:
    //L4D2 check
        decl String:game[12];
        GetGameFolderName(game, sizeof(game));
        if (StrContains(game, "left4dead2") == -1) SetFailState("Jockey jump will only work with Left 4 Dead 2!");
    I also changed some of the text that gets printed. Thanks again =)
    __________________


    ne0cha0s is offline
    IronWarrior
    Veteran Member
    Join Date: Jan 2010
    Old 04-05-2010 , 21:34   Re: [L4D2] Witch crown statistic
    Reply With Quote #4

    I think this could be expanded with how many tanks you killed as well?

    But saying this, couldn't it also be updated with how many things you have killed?
    IronWarrior is offline
    mustafata
    Member
    Join Date: Nov 2009
    Old 04-07-2010 , 04:38   Re: [L4D2] Witch crown statistic
    Reply With Quote #5

    Umm ... i put the .smx file in the plugins directory and nothing happens, neither the plugin works, nor it creates the text file in which to store data(i checked in /left4dead2/cfg and in /left4dead2/cfg/sourcemod folders, no such file).
    Im using Sourcemod 1.4 branch .
    mustafata is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 04-07-2010 , 07:23   Re: [L4D2] Witch crown statistic
    Reply With Quote #6

    Updated my sourcemod to 1.4.0-hg2946 and its working fine.

    Is the plugin really loaded?
    Did you restarted the server or entered the command line "sm plugins load l4d2_crown_statistic"?
    __________________
    DieTeetasse is offline
    ne0cha0s
    Senior Member
    Join Date: Mar 2010
    Old 04-08-2010 , 04:09   Re: [L4D2] Witch crown statistic
    Reply With Quote #7

    thanks again die, i think adding notices that that you can type "!topcrowners" and "!crowned" when you first join would be a good addition to the plugin, and also adding "you have failed to crown the witch" or something like that if someone didn't crown her. so far it's working great. thanks =)
    __________________


    ne0cha0s is offline
    mustafata
    Member
    Join Date: Nov 2009
    Old 04-08-2010 , 09:42   Re: [L4D2] Witch crown statistic
    Reply With Quote #8

    Quote:
    Originally Posted by DieTeetasse View Post
    Updated my sourcemod to 1.4.0-hg2946 and its working fine.

    Is the plugin really loaded?
    Did you restarted the server or entered the command line "sm plugins load l4d2_crown_statistic"?
    When i use the command "sm plugins load l4d2_crown_statistic" it says its already loaded, but still doesn't work :E
    mustafata is offline
    ne0cha0s
    Senior Member
    Join Date: Mar 2010
    Old 04-15-2010 , 10:38   Re: [L4D2] Witch crown statistic
    Reply With Quote #9

    I updated the plugin to support left 4 dead and left 4 dead 2. I also changed some of the text, kind of fixed some of the grammar. Attached is the updated version.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_crown_statistic.sp - 1525 views - 6.3 KB)
    __________________


    ne0cha0s is offline
    Jo-Barf_Creepy
    Member
    Join Date: Mar 2010
    Location: Denmark
    Old 04-16-2010 , 12:57   Re: [L4D2] Witch crown statistic
    Reply With Quote #10

    Nice plugin. Is it possible to make a common kill and headshot statistics too?
    __________________
    I <3 SourceMod
    _____________
    (L4D2) Can anyone make a plugin to set the spit's size and damage?
    Jo-Barf_Creepy 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 20:20.


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