SuperLogs: TF2 2.0.2
(2.0.1 was a private release to a select few)
Changes include re-working several checks to use SDKHooks for accuracy reasons (when available) and adding more events and weapon tracking.
For SuperLogs: TF2, the following features are available:
Actions
- air2airshot_pipebomb
- air2airshot_rocket
- air2airshot_sticky
- airblast_player
- airshot_arrow
- airshot_flare
- airshot_headshot
- airshot_pipebomb
- airshot_rocket
- airshot_sticky
- airshot_stun
- backstab
- buff_deployed (deployed soldier buff)
- crit_kill
- defended_medic
- deflected_arrow
- deflected_baseball
- deflected_flare
- deflected_jarate
- deflected_pipebomb
- deflected_rocket
- deflected_rocket_dh
- drowned
- escort_score (got in-game points for pushing cart)
- first_blood
- force_suicide
- headshot
- healed (dumped number of points healed on death, or respawn in the event of lack of death)
- jarate
- mvp1, mvp2, and mvp3 (round end mvp winners)
- rocket_failjump
- rocket_jump
- rocket_jump_kill
- rocket_jumper_kill
- sandvich (eating)
- sandvich_healself (eating w/out full health)
- shield_blocked
- steal_sandvich
- sticky_failjump
- sticky_jump
- sticky_jump_kill
- sticky_jumper_kill
- stun
- teleport
- teleport_again
- teleport_self
- teleport_self_again
- teleport_used
- teleport_used_again
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, including stunballs and deflects (stunball deflects not included)**
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")
Weapon Logging For Direct Hit and Scottish Resistance
Log as tf_projectile_rocket_dh and tf_projectile_pipe_remote_sr
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_teleports_again - Enable logging of repeated teleporter use with _again (default on, requires superlogs_teleports)
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)
Compiling Notes
SuperLogs: TF2 requires
loghelper 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). If you are not using Sourcemod
1.3 or later you may get occasional errors when tracking stunballs. They should be harmless.
* 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.
NOTE: THE ATTACHED COMPILED VERSION WAS COMPILED AGAINST 1.3 AND REFERENCES A NATIVE NOT AVAILABLE IN 1.2.x AS A RESULT. DOWNLOAD AND COMPILE THE SOURCE YOURSELF FOR 1.2.x SUPPORT.