AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   SuperLogs: TF2 1.4.5 (updated 2010-2-22) (https://forums.alliedmods.net/showthread.php?t=98684)

psychonic 07-27-2009 22:20

SuperLogs: TF2 1.4.5 (updated 2010-2-22)
 
3 Attachment(s)
SuperLogs: TF2

Update:
Test the fully rewritten version with better performance and many new actions written!
http://forums.alliedmods.net/showpos...9&postcount=70


This is the first plugin in a series of plugins for many mods to enable more detailed logging, all in HL Log Standard.

These plugins give the ability to track many things not natively logged by the game in log parsers such as HLstatsX:CE, Psychostats, and others.

For SuperLogs: TF2, the following features are available:

Actions
  • headshot
  • backstab
  • force_suicide
  • crit_kill
  • drowned
  • first_blood
  • steal_sandvich
  • stun
  • jarate
  • shield_blocked
  • teleport
  • teleport_self
  • sandvich (eating)
  • healed (dumped number of points healed on death)
  • mvp1, mvp2, and mvp3 (round end mvp winners)
  • escort_score (got in-game points for pushing cart)
  • buff_deployed (deployed soldier buff)
  • defended_medic
  • airshot_rocket
  • airshot_headshot
Ex.
Code:

L 07/16/2009 - 21:28:21: "Xibalba<138><STEAM_0:0:23333692><Red>" triggered "crit_kill"
L 07/16/2009 - 21:28:30: "neG:. peEtr<118><STEAM_0:0:5191121><Blue>" triggered "backstab" against "Agent Cthulhoo<146><STEAM_0:1:16842486><Red>"
L 07/16/2009 - 21:28:30: "armistice<144><STEAM_0:0:18260028><Red>" triggered "healed" (heal "510")
L 07/16/2009 - 21:35:46: "Narcoleptic Squirrel<149><STEAM_0:1:13876794><Red>" triggered "teleport"

Weapon logging for accuracy and damage* statistics for all non-melee, non-flamethrower weapons**
Ex.
Code:

L 07/23/2009 - 20:11:36: "nNnl Gun's'n'Butter<55><STEAM_0:1:15976406><Blue>" triggered "weaponstats" (weapon "scattergun") (shots "9") (hits "6") (kills "2") (headshots "0") (tks "0") (damage "375") (deaths "0")
L 07/23/2009 - 20:24:36: "breadpudding<66><STEAM_0:1:24867371><Red>" triggered "weaponstats" (weapon "sniperrifle") (shots "2") (hits "1") (kills "1") (headshots "1") (tks "0") (damage "188") (deaths "1")

Logging "Fixes"
  • Fire Arrow kills are logged as weapon tf_projectile_arrow_fire instead of tf_projectile_arrow)
  • Class changes are no longer logged until player spawns as new class
  • Object destruction (sentrys, etc.) is logged when switching teams/classes
  • Logs a "Started Map:..." line for the first map of the server (would normally happen too early to be logged)

There are many cvars available to control what does and does not get logged by the plugin as some plugins may overlap functionality (ex. HLstatsX:CE Ingame Plugin <=1.5.6 logs headshot, backstab, and some others) or if you do not agree with some of the "fixes'.

Cvars (1 = Enable; 0 = Disable)
superlogs_actions - Enable logging of most player actions, such as "stun" (default on)
superlogs_teleports - Enable logging of teleports (default on)
superlogs_headshots - Enable logging of headshot player action (default off)
superlogs_backstabs - Enable logging of backstab player action (default on)
superlogs_sandvich - Enable logging of sandvich eating (default off)
superlogs_fire - Enable logging of fiery arrows as a separate weapon from regular arrows (default on)
superlogs_wstats - Enable logging of weapon stats (default on, only works when tf_weapon_criticals is 1)
superlogs_heals - Enable logging of healpoints upon death (default on)
superlogs_rolelogfix - Enable delay of logging class change until first spwan as new class (default on)
superlogs_objlogfix - Enable logging of owner object destruction on team/class change (default on)
superlogs_ktraj - Enable psychostats-style "KTRAJ" location logging (default off)

Thanks
Thanks to Tsunami for the building-checking code in TF2 Build Restrictions plugin. Also thanks Packhead, KingJ, HLDS.pl, and WMD Gaming for help testing and reporting feedback.

Also see
SuperLogs: L4D
SuperLogs: Insurgency
SuperLogs: NeoTokyo
SuperLogs: Age of Chivalry
SuperLogs: Fistful Of Frags
SuperLogs: GoldenEye: Source
SuperLogs: CSS
SuperLogs: DODS
SuperLogs: Generic
SuperLogs: ZPS


Compiling Notes
SuperLogs: TF2 requires loghelper and wstatshelper.inc to be in the scripting/include directory when compiling, and therefore, will not compile on the web compiler. If you are not using Sourcemod 1.2.4 or later, you may get some erroneous statistics logged for the huntsman (hits with 0 shots).

* SDK Hooks here is required for damage to log in weapon stats.
** SDK Hooks is also required for non-instant-hit weapons to be tracked at all, such as the needle gun or bow.

Cooltad 07-28-2009 00:59

Re: SuperLogs: TF2
 
Is this needed for hlstatsx:ce?
Or perhaps in 1.6?

psychonic 07-28-2009 06:51

Re: SuperLogs: TF2
 
Quote:

Originally Posted by Cooltad (Post 883604)
Is this needed for hlstatsx:ce?
Or perhaps in 1.6?

Yes, it will be "needed" by the next release of HLstatsX:CE. Technically, none of it is needed; it only adds extra functionality, but the functions that this duplicates will no longer be in the "HLstatsX:CE Ingame Plugin"). I've pulled all logging functions out of it to slim it down and making SuperLogs plugins for each game to be better optimized and to be able to share with users of other log parsing utilities.

psychonic 08-02-2009 21:44

Re: SuperLogs: TF2 1.0.1 (updated 2009-8-2)
 
Updated to 1.0.1. See version history in first post.

psychonic 08-09-2009 11:26

Re: SuperLogs: TF2 1.1 (updated 2009-8-9)
 
Updated to 1.1

alinayg 08-09-2009 13:16

Re: SuperLogs: TF2 1.1 (updated 2009-8-9)
 
Awesome stuff, looks like I'm going to have to get HLstatsX Community Edition for our server!

psychonic 08-19-2009 10:55

Re: SuperLogs: TF2 1.1.1 (updated 2009-8-19)
 
Updated to version 1.1.1 to fix firearrow logging fix not being on by default unless turning it off then back on.

0verdose 08-25-2009 01:31

Re: SuperLogs: TF2 1.1.1 (updated 2009-8-19)
 
Is there a way to have logging in the backround but turn off the in game point spamming?

psychonic 08-25-2009 06:48

Re: SuperLogs: TF2 1.1.1 (updated 2009-8-19)
 
Quote:

Originally Posted by 0verdose (Post 912082)
Is there a way to have logging in the backround but turn off the in game point spamming?

This plugin alone doesn't cause any "in game point spamming". You'll have to turn that off in whatever system it's stemming from.

Onedda 08-27-2009 01:32

Re: SuperLogs: TF2 1.1.1 (updated 2009-8-19)
 
Nice addition to HLStatsX


All times are GMT -4. The time now is 13:21.

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