Raised This Month: $51 Target: $400
 12% 

SuperLogs: TF2 1.4.5 (updated 2010-2-22)


Post New Thread Reply   
 
Thread Tools Display Modes
psychonic

BAFFLED
Join Date: May 2008
Old 01-19-2010 , 08:00   Re: SuperLogs: TF2 1.4.4 (updated 2009-12-20)
Reply With Quote #61

Quote:
Originally Posted by alinayg View Post
Is this normal?
Code:
L 01/19/2010 - 08:31:38: "boubonic_platypus<751><STEAM_0:0:27051656><Blue>" triggered "weaponstats" (weapon "tf_projectile_arrow") (shots "4") (hits "245") (kills "0") (headshots "0") (tks "0") (damage "21560") (deaths "0")
L 01/19/2010 - 08:34:38: "MiloCatastrium<750><STEAM_0:0:24954217><Red>" triggered "weaponstats" (weapon "blutsauger") (shots "57") (hits "5380") (kills "0") (headshots "0") (tks "0") (damage "53800") (deaths "0")
L 01/19/2010 - 08:32:16: "MiloCatastrium<750><STEAM_0:0:24954217><Red>" triggered "weaponstats" (weapon "tf_projectile_pipe") (shots "2") (hits "660") (kills "0") (headshots "0") (tks "0") (damage "61380") (deaths "0")
This may be related to a possible bug in SDK Hooks. I will look into it.
psychonic is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 01-19-2010 , 12:33   Re: SuperLogs: TF2 1.4.4 (updated 2009-12-20)
Reply With Quote #62

Is there an update for this plugin with HLx 1.6.6 ?
Cain is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-19-2010 , 13:21   Re: SuperLogs: TF2 1.4.4 (updated 2009-12-20)
Reply With Quote #63

Quote:
Originally Posted by Cain View Post
Is there an update for this plugin with HLx 1.6.6 ?
Not specifically. I do have a slightly newer version of the plugin, 1.4.5, that I can post later. Just minor bugfixes:
Code:
Fixed SDK Hooks being required in superlogs-tf2.sp.
Fixed first_blood and crit_kill actions occurring on suicide in superlogs-tf2.sp.
I plan on rewriting a bit of the weaponstats in it at some point to use some less hacky methods of tracking.
psychonic is offline
DrGamez
Member
Join Date: Jan 2005
Location: Seattle
Old 02-11-2010 , 17:01   Re: SuperLogs: TF2 1.4.4 (updated 2009-12-20)
Reply With Quote #64

I'd like to track who got crit by who and who assisted who. Is this possible at all? The events should fire right after each other so I could get them like that but I'm not 100% certain this is the most effective way of doing this.
__________________
DrGamez is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-13-2010 , 20:11   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #65

Updated today to add two more logged actions, "airshot_headshot" and "airshot_rocket". In addition, plugin will now fail to load on games other than TF2.
psychonic is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 02-17-2010 , 12:43   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #66

thx
Cain is offline
DrGamez
Member
Join Date: Jan 2005
Location: Seattle
Old 02-20-2010 , 17:37   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #67

Would there be any reason the plugin doesn't track the correct amount of kills? I track every kill in the server and then I put on the plugin and reran all my stats. It shows my most deadly weapon is the pipe launcher for 5 kills, when I have 438 kills with a sniper rifle.
__________________
DrGamez is offline
cmptrwz
Member
Join Date: Dec 2008
Old 02-20-2010 , 18:41   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #68

After helping debug some minor issues in the current (1.4.5) version I decided to try my hand at a re-write. Because it is a re-write it needs some testing before it is considered official.

Calling this one version 2.0.0.

FIXES from 1.4.5:
  • airshot_rocket/airshot_headshot should no longer trigger on swimmers.

CHANGES from 1.4.5:
  • wstatshelper.inc is no longer needed (functionality merged into main plugin)
  • Will compile without sdkhooks (but all sdkhooks functionality will be disabled) without having to comment lines out
  • HOPEFULLY more efficient in how it does things. If yes, good. If not, dang.

ADDITIONS (yes, I added stuff):

New CVAR: superlogs_teleports_again (default on) - If enabled, second use of a teleporter in a ten second period generates the _again events (see below).
  • teleport_used - Player used a teleporter (not their own)
  • teleport_again - Player's teleporter was used, but the player who used it had done so in the past ten seconds
  • teleport_self_again - Player used their own teleporter, but they had done so in the past ten seconds
  • teleport_used_again - Player used a teleporter (not their own), but they had used that same teleporter in the past ten seconds
  • sandvich_healself - Player used their sandvich at less than full health (note: assumes heavy has 300 health, doesn't dynamically update at this time)
  • airshot_pipebomb - Pipebomb damaged someone in the air
  • airshot_sticky - Sticky bomb damaged someone in the air
  • air2airshot_rocket - airshot_rocket happened during a rocket jump (airshot_rocket still fires)
  • air2airshot_pipebomb - airshot_pipebomb happened during a sticky jump (airshot_pipebomb still fires)
  • air2airshot_sticky - airshot_sticky happened during a sticky jump (airshot_sticky still fires)
  • rocket_jump - Player rocket jumped
  • sticky_jump - Player sticky (or pipebomb) jumped
  • rocket_jump_kill - Player killed someone while rocket jumping
  • sticky_jump_kill - Player killed someone while sticky jumping
  • rocket_jumper_kill - Player killed someone who was rocket jumping
  • sticky_jumper_kill - Player killed someone who was sticky jumping
  • rocket_failjump - Player died before (or upon) landing when rocket jumping
  • sticky_failjump - Player died before (or upon) landing when sticky jumping

Also, baseball weaponstats are now available (logs as "ball") when using sdkhooks.

Attached source and compiled version (loghelper/sdkhooks don't work with the compiler at this time). See first post for rest of usage info and links to things like loghelper (which is still required) and sdkhooks (required for full functionality).

Please report any issues you have.
Attached Files
File Type: sp Get Plugin or Get Source (superlogs-tf2.sp - 101 views - 33.9 KB)
File Type: smx superlogs-tf2.smx (20.8 KB, 100 views)
cmptrwz is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 02-21-2010 , 07:10   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #69

Very nice, I look forward to psychonic's comments.
Cain is offline
cmptrwz
Member
Join Date: Dec 2008
Old 02-22-2010 , 14:59   Re: SuperLogs: TF2 1.4.5 (updated 2010-2-13)
Reply With Quote #70

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.
Attached Files
File Type: sp Get Plugin or Get Source (superlogs-tf2.sp - 212 views - 41.0 KB)
File Type: smx superlogs-tf2.smx (23.5 KB, 336 views)
cmptrwz is offline
Reply



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 03:40.


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