As many people have pointed out Left4Dead actually shipped earlier than the 21st for those in the US so rather than delaying till the anniversary of the Europe release date L4DStats is available as of midnight!
See all available downloads here: http://www.l4dstats.co.uk/download/




nice work however i am having some problems importing the sql. It gives me errors
import.php: Missing parameter: import_type (FAQ 2.8)
import.php: Missing parameter: format (FAQ 2.8)
when i do the import.
also i have a question on the install.. maybe you can write a better guide for me since im not a master at hosting and playing with files.
the situation is right now i have two servers im using. One is for the clan webpage and the other is the game server that i bought. The only thing the webpage server will allow me to do is create mysql and use the ftp functions. While the gameserver allows me to go into their ftp and game config file. Im not really sure how i would go about installing your stats problem. Please any help would be appriciated. thanks love your demo by the way
Hi Charles,
Unfortunately I can’t really help with the errors you are receiving with the MySQL import as these are to do with phpMyAdmin ( http://wiki.cihar.com/pma/FAQ_2.8 ). You could try opening up l4dstats.sql in Notepad and then copy and paste the contents into the textarea of phpMyAdmin.
As for using L4DStats, I would recommend you set the “sv_logsdir” variable to somewhere that you can access via FTP and then grab the logs and move to the logs/ directory on your webserver, once they are uploaded simply visit http://your_url.com/process_logs.php to process them or download the logs to your PC and use one of the .NET applications!
Hope this helps.
hi i have 0 problem with the import of logfiles.
it seems everything is running fine. the process_logs.php gives no error
the stats on the website get updated but the logfiles were not move in the folder “old”?
maybe someone can help me with this?
Hello,
Can someone show me a demo of L4Dstats?
PHP Processor:
Unfortunately the PHP processor doesn’t move old files, it does however make sure that it doesn’t process files that have already been processed.
Demo Available:
http://demo.l4dstats.co.uk
I get these errors while trying to get to see the stats:
Warning: Smarty::include(templates_c/%%BC^BCF^BCFA7618%%Default.tpl.php) [smarty.include]: failed to open stream: No such file or directory in libs/Smarty.class.php on line 1258
Warning: Smarty::include() [function.include]: Failed opening ‘templates_c/%%BC^BCF^BCFA7618%%Default.tpl.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in libs/Smarty.class.php on line 1258
Any idea what the heck is this?
Ensure that the templates_c directory is writeable by apache (755 or 775).
Check the other bullet points in the LAMP setup section of http://www.l4dstats.co.uk/documentation/ to ensure a smooth install.
The dir was 766, 755 gave only 1 line of error about smarty but i tried 777, bad, i know but it worked. However, bumped into parsing error after that. I guess it didnt like 380MB of logs
Total Kills: 556744, Total SMG Kills: 54637, Total Auto Shotgun Kills: 106950, Total Rifle Kills: 123631
These are all i got by refreshing it. I will try again tomorrow.
Hi,
You’re referring to your email address in the readme file but didn’t find it. Am I just too blind to find it..
Had some problems with flash animation on the site so would want to report those.
Best Regards,
Reali
Hi Reali,
Ah yes, it used to be down in the copyright bit at the bottom but I accidentally removed it whilst formatting. :/
You can email me: gareth _AT_ NetworksAreMadeOfString + co + uk
Gareth
I successfully set up your stat server, and I want to say first. Thanks for the hard work! I also wanted to voice my support for continued PHP development as it works well on my windows box. The only think I’ve seen so far is two bugs: 1.)Not really a bug, but the LAMP images is missing env_explosion_small.png . 2.) The Top Games menu lists “Unknown Map” for all Blood Harvest maps.
Thanks again for your development of this stat tracker. All of my friends and I love it!
Sorry for the double post, but I wanted to clarify that it lists Unknown Map for all VS Blood Harvest maps.
Sorry if this is the wrong place to keep posting this. If so, please let me know where I can post bug submissions. However, I found the reason the Blood Harvest VS maps were showing Unknown because they were completely left out of the FormatMapNames Function. Once I added them, it worked like a charm. Thanks again.
You can mail him at: gareth _AT_ NetworksAreMadeOfString + co + uk (Just get the address together :))
Very kind and fast responses!
first i want to report these:
1- flash doesnt work in the page
2- its very hard to edit settings.php in the notepad, but its easier in winword
3- in the readme it says this is gonna work in php 5.1 or later but
this is not true i tried all 5.1.X but it didnt work , it worked with me on php 5.0.5 or less (im using wampserver)
i could’t make this work i tried everything it give me this error in the
top of the page :
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\Left4Dead\L4DStats.class.php on line 1274
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\Left4Dead\L4DStats.class.php on line 1282
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\Left4Dead\L4DStats.class.php on line 1288
please someone help.
Hi mazzbott,
1) Can you describe the symptoms? - I would suggest its either because not all the files are present or by looking at the mysql warnings you posted later it cannot talk to the DB / the DB is empty
2) settings.php has *nix line returns so it would probably be best to edit in Wordpad on a Windows Platform
3) I’ve tested this on a variety of 5.1.X LAMP platforms and had no issues - Can you elaborate on your issues (WAMP is evil)
Lines 1274 etc relate to the GetRecentStats function which requires MySQL connectivity.
I would suggest unzipping a fresh copy of settings.php and editing it with Wordpad.
hi Gareth,
for your support
thank you so much
1) i think you are correct im sure there is no connectivity to db.
2) thank you its show better now i also worked in winword (microsoft word)
3) using wamp server i tried all the 5.1.x it didnt work so it show me the page code when try to visit the website but with 5.0.5 and less it worked with the sql errors i mentioned be4
so if these errors because im using wamp server can you suggest me what should i use? ( ISS +php+mysql )or there somthing more reliable i can use?
thanks again
Hi Mazzbott,
Without getting on my soapbox I would recommend using a Linux server (RedHat / CentOS) variant for hosting Apache/MySQL/PHP or at a push IIS7 (Windows Server 2008) with PHP. MySQL can be wherever (although I would recommend on a Linux box).
If I get chance I’ll deploy a virtual and install WAMP and see if I can find out what the issue is.
For anyone who is wondering; SRCDS is running a Windows 2008 box and the L4DStats website (and all my websites) run on CentOS. SRCDS is on the Windows server so I can test the .NET Binaries.
Gareth
thanks Gareth, you are doing greate job.
i will try window IIS+PHP+mysql because im not familiar with Linux.