L4DStats http://www.l4dstats.co.uk Left4Dead Stats Parser Wed, 25 Feb 2009 18:00:16 +0000 http://wordpress.org/?v=2.7.1 en hourly 1 L4DStats TwitterBot http://www.l4dstats.co.uk/2009/02/24/l4dstats-twitterbot/ http://www.l4dstats.co.uk/2009/02/24/l4dstats-twitterbot/#comments Tue, 24 Feb 2009 19:37:11 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=193 Left4Dead TwitterL4DStats now has Twitter functionality.

The Twitter feed is here: http://twitter.com/L4DStats

If you can’t wait till the next full release of L4DStats then the changed files are available here.

Update: L4DStats is now a Twitter Application so Tweets will show as from “L4DStats” instead of “from web”.

L4DStats 0.3.1 Released http://www.l4dstats.co.uk/2009/02/15/l4dstats-031-released/ http://www.l4dstats.co.uk/2009/02/15/l4dstats-031-released/#comments Sun, 15 Feb 2009 18:54:02 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=180 The 0.3.1 release is now available for download.

It contains many Bug Fixes and some additional improvements.

Download it here.

Support is available in the forums.

As always the source files can be downloaded using Subversion from the repository here.

0.3.1 Release Awaiting Signoff http://www.l4dstats.co.uk/2009/02/11/031-release-awaiting-signoff/ http://www.l4dstats.co.uk/2009/02/11/031-release-awaiting-signoff/#comments Wed, 11 Feb 2009 22:02:34 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=177 Subversion revision 70 is in the hands of the Beta Testing guys and if all checks out then 0.3.1 will be out by the end of this week!

0.3.1 Available Soon http://www.l4dstats.co.uk/2009/02/02/031-available-soon/ http://www.l4dstats.co.uk/2009/02/02/031-available-soon/#comments Mon, 02 Feb 2009 21:29:01 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=174 All of the 0.3 Bugs that were found and reported via the Bug Tracker and via email are now fixed.

All but one of the suggestions from the Improvement Cloud and a whole host of other improvements have been added.

Final checks of the 0.3.1 package are being made and it should be ready for release in the next week or so.

Bug Fix / Improvements Progress http://www.l4dstats.co.uk/2009/01/26/bug-fix-improvements-progress/ http://www.l4dstats.co.uk/2009/01/26/bug-fix-improvements-progress/#comments Mon, 26 Jan 2009 21:19:06 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=163 Its been a busy few evenings since the last Bug Fix update.

Bugs Fixed:

  • xmlswf path was incorrectly set in certain conditions
  • Worst Enemies now limited to a maxium of 10
  • Infected no longer show as a players ‘Best Fellow Surivior’
  • Added env_explosion images and friendly names
  • Added prop_car_alarm images
  • Best 10 players of last 10 games doesn’t show AI
  • Fixed the odd occasions that $Show_AI_Stats failed to work

Improvements Added:

  • Experimental Regular Expression matching functions for parsing
  • Log processors can now handle sv_log_onefile 0 & 1
  • PHP processer has been improved
  • The Player Matrix for individual games has improved labels to make better use of the space
  • SVN Repository now has tags and a development trunk (the way it should have been all along)
L4DStats Bug Tracker & A Forum http://www.l4dstats.co.uk/2009/01/21/l4dstats-bug-tracker-a-forum/ http://www.l4dstats.co.uk/2009/01/21/l4dstats-bug-tracker-a-forum/#comments Wed, 21 Jan 2009 20:14:26 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=152 As part of the drive to improve L4DStats I’ve added the Mantis Bug Tracker to the site.

Anonymous access is enabled or if you would like feedback or credit for reporting the bug then you can also register.

To assist the community with setup and general Q&A there is now a forum as well which is available at http://www.L4DStats.co.uk/forums/ .

Left4Dead Weapons I didn’t know existed http://www.l4dstats.co.uk/2009/01/19/left4dead-weapons-i-didnt-know-existed/ http://www.l4dstats.co.uk/2009/01/19/left4dead-weapons-i-didnt-know-existed/#comments Mon, 19 Jan 2009 19:00:07 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=135 When writing the parser I tried pre-empting all the different weapon types so I could ensure that they were parsed correctly, had the right ‘Friendly Name’ and had corresponding images. So far my dedicated server has racked up 1,905,192 kills and not all of them have been with conventional weapons….

Starting off with the mundane there are 116 deaths due to “prop_door_rotating_checkpoint”. I can imagine how a revolving door can be deadly to an infected who’s forgotten how to use door knobs but wait it gets stranger!

There are weapon that are pretty much the same and I’m not quite sure what the difference is. An example is the “env_fire” and “inferno” deaths, one would guess these are fire elements that exist in the map before the players start throwing molotovs. I would love to see such an event happening - an infected wanders over to one of those barrels with a fire in them and then whoosh goes up in flames because they were too close.

Then there was the instances when someone killed an infected with the pain pills - can you overdose an infected? If Pills aren’t your thing then maybe you would prefer to kill them with kindness; 57 people managed to kill the infected with a First Aid Kit.

Even if you don’t have to resort to the pills then there is always those from the ‘other side’; 445 infected were killed by “trigger_hurt_ghost”.

The final Weapon or to be more accurate a ’cause of death’ that I really wasn’t expecting was this: “prop_car_alarm”.

At first guess one would assume that it is a death resulting from alerting the horde after setting off a car alarm. However further investigation makes it look like its the Tank throwing the car at a survivor. The only thing that makes it more amusing is that I have no idea how to accurately represent it as an image.

If anyone has any suggestions or seen anything else then please let me know.

Bugs Fixed, Features Added and a Linux Log Parser http://www.l4dstats.co.uk/2009/01/18/bug-fixed-features-added-and-a-linux-log-parser/ http://www.l4dstats.co.uk/2009/01/18/bug-fixed-features-added-and-a-linux-log-parser/#comments Sun, 18 Jan 2009 02:09:54 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=115 Since I was stuck in limbo between the DataCenter and home this weekend I took the opportunity to squash some bugs and add features from the Improvement Cloud.

The subversion repository (Revision 27) currently has the following improvements:

Bugs Fixed:

  • Player Death Stats on the front page now display correctly
  • Staticly Linked resources in Templates are fixed
  • PHP Short tags
  • Blood Harvest VS Map Names
  • PHP Processor doesn’t move files to ./old/
  • PHP Processor doesn’t count headshots
  • Mono always complains about trailing slash [Removed, see below for details]
  • Flash graphs hang if no data in DB

Improvements Added:

  • Dateranoth’s graph improvements [Labelling, Headshots - see Subversion notes for full changes]
  • Ability to disable AI stats displaying
  • Front page player names clickable to players page
  • Friendly names for the weapons in graphs etc
  • All Weapon Stats Page shows headshot counts
  • Top 50 Players shows total headshots instead of the broken % thing
  • Players Page has been improved and now features; best fellow Surivor, worst enemies, best maps and some more graphs
  • Each ‘Movie’ now has its own section to see which has the most kills
  • Top Games now Paginated

Checkout http://dev.l4dstats.co.uk to see what these changes will look like.

Native C++ Log Parser for Linux

There have been a lot of issues and complaints regarding the decision to compile the .NET app with Mono to save time on porting it.

Well I’m glad to say that as part of this weekends Bug fixing session I bit the bullet and ported the .NET parser to plain ol’ C++.

The Linux binary now weighs in at a miniscule 57k, its only non standard pre-requiste is libcurl and the performance improvement over the Mono compile is amazing:

530 logs weighing in at 70Mb were parsed, POST’d and processed in 43 seconds on a budget dedicated server (I looked for the lowest spec machine I could find) that was also hosting an instance of the Source Dedicated Server and the LAMP Stack.

Peak memory usage was only 3.9Mb and peak CPU utilisation was only 2%.

Bug Fix Progress http://www.l4dstats.co.uk/2009/01/11/bug-fix-progress/ http://www.l4dstats.co.uk/2009/01/11/bug-fix-progress/#comments Sun, 11 Jan 2009 12:18:33 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=111 Dateranoth has been busy finding me extra work so there are a couple of extra bugs that are now fixed for 0.4 namely the Player deaths display on the front page and some Template problems.

As rightly pointed out by Reali I was using <? instead of <?php which is quite poor form so this is sorted.

A few other non critical bits are fixed now too, I’m intending to get php processor bugs fixed in the next week or so (moving files to ./old/ and name parsing) as these seem to be the major headaches for everyone.

Documentation Updated http://www.l4dstats.co.uk/2009/01/06/documentation-updated/ http://www.l4dstats.co.uk/2009/01/06/documentation-updated/#comments Tue, 06 Jan 2009 23:36:25 +0000 Gareth Llewellyn http://www.l4dstats.co.uk/?p=108 As promised the Documentation has been updated with a detailed setup guide for the initial setup of L4DStats.

The documentation page is split into a general overview, .NET Binary Overview, the MONO Binary, a detailed setup guide, a detailed guide to the .NET Binaries.