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

[DoDS] Extra weapon Logging.


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Plugin ID:
895
Plugin Version:
1.5
Plugin Category:
Statistical
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    This adds events in the log to track kills of weapons with alternate positions.
    Old 05-25-2009 , 11:22   [DoDS] Extra weapon Logging.
    Reply With Quote #1

    This adds events in the log to track kills of weapons with alternate positions. Such as the ironsights for the rifle class, noscope kills for the snipers, single shot kills for the support, and obviously RAMBO kills from the mg class.
    Both HLStatsX:CE and Psychostats will be able to track these events in their awards/bonuses.
    I started this just to alert my admins to certain noscope exploits, but then decided to add support for the other weapons.

    Plugin will create a config file in mod/cfg/sourcemod/

    The cvars turn on/off the ingame chat messages. The logging continues as long as the plugin runs.

    CVARS:

    sm_dod_xlog_ns
    1|0
    Turns on/off the NoScope messages.

    sm_dod_xlog_hs
    1|0
    Turns on/off the NoScope Headshot messages.

    sm_dod_xlog_mg
    1|0
    Turns on/off the MG messages.

    sm_dod_xlog_support
    1|0
    Turns on/off the Support messages.

    sm_dod_xlog_rifle
    1|0
    Turns on/off the Ironsight messages.

    Sample log lines:
    Code:
    L 05/19/2009 - 20:57:46: "Extra<212><STEAM_0:1234567><Axis>" triggered "noscope" with "weapon_k98_scoped"
    L 05/19/2009 - 20:58:30: "Rttf. Ackermann |9.SS|<213><STEAM_0:123456><Allies>" triggered "rambo" with "weapon_30cal"
    Kudos:

    Tsunami: pm secks
    Psychonic: "proper valve logging format"

    This will eventually become unneeded when psychonic adds these features to the basecode of hlstatsx:ce. But until then....
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_xlog.sp - 1410 views - 4.2 KB)

    Last edited by Mosalar; 06-03-2009 at 15:06.
    Mosalar is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 06-03-2009 , 15:07   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #2

    Updated.

    Goofed on placement of a cpl lines.
    Mosalar is offline
    And_One
    Junior Member
    Join Date: Sep 2005
    Old 06-06-2009 , 09:55   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #3

    I will use this Plugin in the upcoming Release 3 of http://www.schlachtumeuropa.at
    And_One is offline
    Send a message via ICQ to And_One
    Crabby
    Junior Member
    Join Date: Sep 2008
    Old 09-16-2009 , 20:36   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #4

    Cant get it to work on dod source
    Running metamod source 1.8.0
    and sourcemod V1.2.3
    Im running the plugin cfg file at default
    Any ideas?

    these are my plugins
    [SM] Listing 33 plugins:
    01 "[DoD TMS] Addon - Secret Spectate" (0.2) by FeuerSturm
    02 "[DoD TMS] Addon - Anti-VoiceCmdSpam" (0.1) by FeuerSturm
    03 "[DoD TMS] Addon - AutoTeamBalance" (0.5) by FeuerSturm
    04 "[DoD TMS] Addon - Player / Team Commands" (0.4) by FeuerSturm
    05 "Admin File Reader" (1.2.3) by AlliedModders LLC
    06 "Admin Help" (1.2.3) by AlliedModders LLC
    07 "Admin Menu" (1.2.3) by AlliedModders LLC
    08 "Anti-Flood" (1.2.3) by AlliedModders LLC
    09 "Basic Ban Commands" (1.2.3) by AlliedModders LLC
    10 "Basic Chat" (1.2.3) by AlliedModders LLC
    11 "Basic Comm Control" (1.2.3) by AlliedModders LLC
    12 "Basic Commands" (1.2.3) by AlliedModders LLC
    13 "Basic Info Triggers" (1.2.3) by AlliedModders LLC
    14 "Basic Votes" (1.2.3) by AlliedModders LLC
    15 "Client Preferences" (1.2.3) by AlliedModders LLC
    16 "DoD BasicGore" (1.0) by FeuerSturm
    17 "DoD Medic" (1.2) by Tsunami
    18 "[DoD TMS] Base - DoD TeamManager Source" (1.0) by FeuerSturm
    19 "DoD Xtralog" (1.5) by Mosalar
    20 "Dog's Bonus Round" (1.09SM) by <eVa>Dog
    21 "Fun Commands" (1.2.3) by AlliedModders LLC
    22 "Fun Votes" (1.2.3) by AlliedModders LLC
    23 "MapChooser" (1.2.3) by AlliedModders LLC
    24 "Nextmap" (1.2.3) by AlliedModders LLC
    25 "Player Commands" (1.2.3) by AlliedModders LLC
    26 "Required Cappers Changer" (1.0.1) by Knagg0
    27 "Reserved Slots" (1.2.3) by AlliedModders LLC
    28 "Rock The Vote" (1.2.3) by AlliedModders LLC
    29 "Simple TK Manager" (0.9) by Lebson506th
    30 "DoD Pistols" (1.0.102) by <eVa>Dog
    31 "SM Parachute" (2.0) by SWAT_88
    32 "SoDStats" (1.0.11) by ]SoD[ Frostbyte
    33 "Sound Commands" (1.2.3) by AlliedModders LLC

    Last edited by Crabby; 09-16-2009 at 20:36. Reason: spelling mistakes
    Crabby is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 09-16-2009 , 21:23   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #5

    Crabito!

    1st off, what isn't working? The logging, the in game output? Do me a favor and copy two things and re post them. The contents of "plugin.dod_xlog.cfg" located in cfg/sourcemod/. And the output of "sm cvars 19".
    Mosalar is offline
    ocbigriver
    Junior Member
    Join Date: Feb 2010
    Location: Orange*County
    Old 05-02-2010 , 23:23   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #6

    Please update this plugin. Since the TF2 update the server will crash on the first players death. wonderful plugin btw!
    ocbigriver is offline
    coach
    SourceMod Donor
    Join Date: Jun 2008
    Old 05-03-2010 , 03:28   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #7

    Quote:
    Originally Posted by ocbigriver View Post
    Please update this plugin. Since the TF2 update the server will crash on the first players death. wonderful plugin btw!
    Update to SM 1.3.2.2955 it works fine.
    coach is offline
    ocbigriver
    Junior Member
    Join Date: Feb 2010
    Location: Orange*County
    Old 05-03-2010 , 10:54   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #8

    I am running MM 1.8.1 and SM 1.3.2. on windows box. I have tried recompiling with this latest release of Sourcemod and it will still crash when the first player dies. This is the contents of plugin.dod_xlog.cfg and Server.cfg:

    plugin.dod_xlog.cfg
    // NoSocpe HeadShot messages
    // -
    // Default: "1"
    sm_dod_xlog_hs "1"

    // MG Messages
    // -
    // Default: "1"
    sm_dod_xlog_mg "1"

    // NoSocpe messages
    // -
    // Default: "1"
    sm_dod_xlog_ns "1"

    // Ironsight Messages
    // -
    // Default: "1"
    sm_dod_xlog_rifle "1"

    // Support Messages
    // -
    // Default: "1"
    sm_dod_xlog_support "1"

    // Extra weapon logging info version
    // -
    // Default: "1.5"
    sm_dod_xlog_version "1.5"

    Server.cfg:
    // Extra Weapons Logging
    sm_dod_xlog_ns 1 //Turns on/off the NoScope messages.
    sm_dod_xlog_hs 0 //Turns on/off the NoScope Headshot messages.
    sm_dod_xlog_mg 0 //Turns on/off the MG messages.
    sm_dod_xlog_support 1 //Turns on/off the Support messages.
    sm_dod_xlog_rifle 1 //Turns on/off the Ironsight messages.
    ocbigriver is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 05-03-2010 , 16:57   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #9

    It's also running fine on the servers I maintain. Are you sure that you did a complete upgrade of sm and mms?
    We're on mms 1.8.1|702 and sm 1.3.2|2952, also on windoze..
    Mosalar is offline
    coach
    SourceMod Donor
    Join Date: Jun 2008
    Old 05-03-2010 , 18:20   Re: [DoDS] Extra weapon Logging.
    Reply With Quote #10

    This plugin works fine with the above SM. I would be looking elsewhere for the cause of your crashes.
    coach 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:17.


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