SuperLogs: TF2 2.0.26 (updated 2011-01-22)
6 Attachment(s)
SuperLogs: TF2
This is one of a series of plugins for many mods to enable more detailed logging, all in HL Log Standard. This plugin replaces the 1.x series by psychonic: http://forums.alliedmods.net/showthread.php?t=98684 These plugins give the ability to track many things not normally logged by the game in log parsers such as HLstatsX:CE, Psychostats, and others. Events A collection of additional information events, split into three categories. The following normal player events are available:
The following Player/Player events are available:
The following special case player events are available:
Ex. Code:
L 07/16/2009 - 21:28:21: "Xibalba<138><STEAM_0:0:23333692><Red>" triggered "crit_kill" TF2 does not normally provide weapon statistics. When enabled the weaponstats action will fire dumping information about the weapons used during that life, as well as the weapon that killed the player (if tracked). This is not all that accurate without SDKHooks, and a number of things won't be tracked at all without SDKHooks. The following weapons are tracked for weaponstats:
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")
Cvars (1 = on, 0 = off)
Changes 2.0.6 - Fixed possible RTE with invalid client index in loadout timer callback 2.0.5 - Stupid me, wasn't paying enough attention, mix and matched some HL log stuff with non-HL log stuff I was fighting with this week from work. player_loadout should now follow the standard when logging. Thanks Thanks to Psychonic for the original plugin, the people on IRC for any random questions I may have asked. 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 SuperLogs: HL2DM/SourceForts SuperLogs: CSpromod SuperLogs: PVKII Compiling Notes SuperLogs: TF2 requires loghelper to be in the scripting/include directory when compiling, and therefore, will not compile on the web compiler. * SDK Hooks here is required for damage to log in weapon stats, as well as for some loadout logging and more accurate events. Some weapons may not log properly without SDK Hooks, if at all. The attached binary is compiled with SDKHooks support for 1.3 Source: http://code.google.com/p/hlstatsxcom...gs%2Fscripting Binary : http://nicholashastings.com/temp/superlogs-tf2.smx |
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
cmptrwz, thanks for extending the work that psychonic has done. Looking forward towards the next version of hlstatsx:ce to show the aditions.
|
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
is this anythin to worry about ?
L 03/23/2010 - 21:53:15: Info (map "ctf_turbine") (file "errors_20100323.log") L 03/23/2010 - 21:53:15: [SM] Native "GetPlayerWeaponSlot" reported: Entity index 0 is not a valid client L 03/23/2010 - 21:53:15: [SM] Displaying call stack trace for plugin "superlogs-tf2.smx": L 03/23/2010 - 21:53:15: [SM] [0] Line 983, superlogs-tf2.sp::CheckPlayerLoadout() L 03/23/2010 - 22:08:17: Error log file session closed. linux server SM 1.3.1 MM 1.8 cheers Onedda |
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
Is there a way to log the number of pellets that hit? Since the shotguns have pellets I'd like to parse these stats to figure out how often people are getting meatshots.
|
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
Quote:
Quote:
|
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
thank you cmptrwz
|
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
You need to check that the clientid is valid in CheckPlayerLoadout() to prevent spamming this:
Code:
L 03/31/2010 - 03:53:29: [SM] Native "GetPlayerWeaponSlot" reported: Entity index 0 is not a valid client |
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
Quote:
|
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
I posted this here http://forums.alliedmods.net/showthr...t=98684&page=9
Quote:
cvar_crits = FindConVar("tf_weapon_criticals"); to cvar_crits = FindConVar("tf_damage_disablespread"); and it is dumping the weaponstats (logging damage :)) Hope this helps someone else... maybe change it to some obscure cvar thats always true? Or just remove it? |
Re: SuperLogs: TF2 2.0.5 (updated 2010-3-20)
Quote:
The weaponstats are disabled for a reason when tf_weapon_criticals is disabled. This is because the TF2_CalcIsAttackCritical forward will never be called (because crits are disabled) and thus, no shots will be tracked. That alone isn't a huge issue except that hits will continue to be tracked. If you aggregate data, you will get things like 0 shots, 4,348 hits with (however-you-handle-dividing-by-zero accuracy). |
All times are GMT -4. The time now is 06:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.