AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoDS] Extra weapon Logging. (https://forums.alliedmods.net/showthread.php?t=93182)

Mosalar 05-25-2009 11:22

[DoDS] Extra weapon Logging.
 
1 Attachment(s)
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....

Mosalar 06-03-2009 15:07

Re: [DoDS] Extra weapon Logging.
 
Updated.

Goofed on placement of a cpl lines.

And_One 06-06-2009 09:55

Re: [DoDS] Extra weapon Logging.
 
I will use this Plugin in the upcoming Release 3 of http://www.schlachtumeuropa.at

Crabby 09-16-2009 20:36

Re: [DoDS] Extra weapon Logging.
 
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

Mosalar 09-16-2009 21:23

Re: [DoDS] Extra weapon Logging.
 
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".

ocbigriver 05-02-2010 23:23

Re: [DoDS] Extra weapon Logging.
 
Please update this plugin. Since the TF2 update the server will crash on the first players death. wonderful plugin btw!

coach 05-03-2010 03:28

Re: [DoDS] Extra weapon Logging.
 
Quote:

Originally Posted by ocbigriver (Post 1168788)
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.

ocbigriver 05-03-2010 10:54

Re: [DoDS] Extra weapon Logging.
 
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.

Mosalar 05-03-2010 16:57

Re: [DoDS] Extra weapon Logging.
 
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..

coach 05-03-2010 18:20

Re: [DoDS] Extra weapon Logging.
 
This plugin works fine with the above SM. I would be looking elsewhere for the cause of your crashes.


All times are GMT -4. The time now is 22:51.

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