Raised This Month: $ Target: $400
 0% 

[DODs,CSS, l4d] Showhits


Post New Thread Reply   
 
Thread Tools Display Modes
Author
psychocoder
Member
Join Date: Jan 2009
Location: Germany
Plugin ID:
911
Plugin Version:
0.2.2
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    15 
    Plugin Description:
    show in chat target/attacker name, hit part, damage and distance betweeen player on hit
    Old 05-25-2009 , 08:58   [DODs,CSS, l4d] Showhits
    Reply With Quote #1

    The name of target/attacker, hit part of body, damage and distance between player shown in chat if a player is hit.
    The message is shown to target and attacker.

    NOW for DODs, CSS and l4d

    Work with the new DODs update 08/2009.

    Installation:
    • Copy showhits.smx to addons/sourcemod/plugins
    • type sm plugins refresh in server console
    Configuration:

    The next CVars must write in sourcemod.cfg or map config file
    • sv_showhits 1 - enable/disaple the plugin (0=off, 1=on, default: 1)
    • sv_showhits_attacker 1 - enable/disable that attacker see hits that he made (0=not see, 1=see, default: 1) (since Version 0.2.0)
    Changelog:

    Version 0.2.2 [2009-08-017]
    fix bug in css and l4d

    Version 0.2.1 [2009-08-02]
    bugfix

    Version 0.2.0 [2009-08-02]
    new CVAR sv_showhits_attacker for diable that attacker see his hits
    runs now under CSS - I have no CSS Server and can not test this, please give me a feadback

    Version 0.1.9 [2009-06-07]
    fix a bug that plugins always disabled (thanks FeuerSturm)

    Version 0.1.8 [2009-06-06]
    add CVAR to enable/disble plugin (sv_showhits)
    change color of attaker message

    Version 0.1.7 [2009-06-03]
    fix bug that hitsgroups array out of bonce

    Version 0.1.6 [2009-05-29]
    bug fix (wrong Target message)

    Version 0.1.5 [2009-05-26]
    optimize chat message

    Version 0.1.4 [2009-05-26]
    fix a little bug

    Version 0.1.3 [2009-05-25]
    the first release to community
    Attached Files
    File Type: sp Get Plugin or Get Source (showhits.sp - 3577 views - 6.1 KB)

    Last edited by psychocoder; 08-17-2009 at 03:33. Reason: add new version
    psychocoder is offline
    psychocoder
    Member
    Join Date: Jan 2009
    Location: Germany
    Old 05-29-2009 , 09:39   Re: [DODs] Showhits
    Reply With Quote #2

    add a new version
    __________________
    psychocoder is offline
    psychocoder
    Member
    Join Date: Jan 2009
    Location: Germany
    Old 05-29-2009 , 15:24   Re: [DODs] Showhits
    Reply With Quote #3

    Add new Version. Sorry I have forget to change one line. Now the plugin is stable and work fine.
    __________________
    psychocoder is offline
    psychocoder
    Member
    Join Date: Jan 2009
    Location: Germany
    Old 06-03-2009 , 03:09   Re: [DODs] Showhits
    Reply With Quote #4

    add new version with bugfix!! Plugin write error to logfiles.
    __________________
    psychocoder is offline
    FeuerSturm
    AlliedModders Donor
    Join Date: Apr 2004
    Old 06-06-2009 , 05:48   Re: [DODs] Showhits
    Reply With Quote #5

    I'm pretty sure that adding a convar to enable/disable the plugin
    will NOT slow anything down but would for sure help some
    admins to quickly enable/disable it, just a thought though
    FeuerSturm is offline
    psychocoder
    Member
    Join Date: Jan 2009
    Location: Germany
    Old 06-06-2009 , 10:03   Re: [DODs] Showhits
    Reply With Quote #6

    Add a new Version with other color in chat and a CVAR to disble/enable plugin
    __________________
    psychocoder is offline
    FeuerSturm
    AlliedModders Donor
    Join Date: Apr 2004
    Old 06-06-2009 , 13:59   Re: [DODs] Showhits
    Reply With Quote #7

    I've taken a look at the code and you have a little problem with
    the new convar in it.

    The plugin will always be disabled if you don't change the convar
    at least once per map.

    The way you coded it the bool variable that you only update on convar change
    will always be "false" unless you use "sv_showhits 0" and "sv_showhits 1"
    after that.

    You might want to take a look at that again, after that's fixed it can
    be approved
    FeuerSturm is offline
    psychocoder
    Member
    Join Date: Jan 2009
    Location: Germany
    Old 06-07-2009 , 10:47   Re: [DODs] Showhits
    Reply With Quote #8

    I had fix the bug, thank you FeuerSturm! I have forgotten a line.
    __________________
    psychocoder is offline
    FeuerSturm
    AlliedModders Donor
    Join Date: Apr 2004
    Old 06-09-2009 , 02:02   Re: [DODs] Showhits
    Reply With Quote #9

    Looks good now
    FeuerSturm is offline
    igotfits
    Senior Member
    Join Date: May 2009
    Old 06-18-2009 , 20:48   Re: [DODs] Showhits
    Reply With Quote #10

    i was wondering if you can mod it so it wont show if your hitting some one... and only show when, where, an how far u got hit from.. i dont like when it shows u hitting some1 because an MG can just light up a building and see if hes hitting some one and it shows him its like a wall hack to some. can u please mod?
    igotfits 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 12:30.


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