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

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
ragnasin
Junior Member
Join Date: May 2010
Old 08-24-2010 , 05:37   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #991

i compiled and downloaded the plugin (from http://www.sourcemod.net/compiler.php) and when i paste it to my server....i got error and the plugin can't run...but if i download the plugin from here, i can use it
ragnasin is offline
apuokas
New Member
Join Date: Aug 2010
Old 08-24-2010 , 05:38   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #992

not see server place in google map, but players see.... (sorry bad eng)
my config.php
<?php
/*
============================================= ===
LEFT 4 DEAD AND LEFT 4 DEAD 2 PLAYER RANK
Copyright (c) 2010 Mikko Andersson
============================================= ===
Configuration file - "config.php"
============================================= ===
*/
// MySQL information for L4D Stats DB
$mysql_server = "localhost";
$mysql_db = "l4dstats";
$mysql_user = "user";
$mysql_password = "password";
$mysql_tableprefix = "";
// MySQL information for IP to Country DB
// Fill this information only if a separate database is used
$mysql_ip2c_server = "";
$mysql_ip2c_db = "";
$mysql_ip2c_user = "";
$mysql_ip2c_password = "";
$mysql_ip2c_tableprefix = "";
// Heading for the stats page.
$site_name = "L4D-RequieM-[1.0.1.8]";
// Game server address (adds a Steam connection link over the site name)
// Multiple game server addresses supported (just write multiple configurations and use the correct syntax for each of them)
/* THIS LINE: DO NOT MODIFY OR REMOVE */ $game_addresses = array();
// Syntax:
// $game_addresses[] = array("<NAME>", "<ADDRESS>[:<PORT>]");
// Examples:
// $game_addresses[] = array("Server 1: Left 4 Dead 2", "my.site.net:27016");
// $game_addresses[] = array("Server 2: Kill Them Zombies", "123.0.0.234");
// Supported game versions
// 0 = Support both L4D1 and L4D2
// 1 = Left 4 Dead 1 (default)
// 2 = Left 4 Dead 2
$game_version = 1;
// Template for the stats page.
// Leave empty if the default template is used.
// Usage: "mytemplate" (requires directory ./templates/mytemplate existence)
$site_template = "";
// Award definitions file
$award_file = "awards.en.php";
$award_l4d2_file = "awards.l4d2.en.php";
// Refresh interval (seconds) for the front page (index.php)
// 0 = disabled
$stats_refreshinterval = 0;
// Minimum playtime and points required to be eligible for any awards, in minutes
$award_minplaytime = 60;
$award_minpointstotal = 0;
// Minimum kills, headshots and points to be eligible for "Headshot Ratio" award
$award_minkills = 1000;
$award_minheadshots = 1000;
$award_minpoints = 1000;
// Amount of time in minutes between Awards page cache updates.
// 0 to disable cacheing
$award_cache_refresh = 60;
// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod = 0;
// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
// Example: 24h - "M d, Y H:i";
$lastonlineformat = "M d, Y g:ia";
// Show player flags next to their names based on their IP
// 0 to disable
// Installation instructions:
// 1. Download and extract http://www.maxmind.com/download/geoi...CountryCSV.zip to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoIPCountryCSV.zip and GeoIPCountryWhois.csv when installation is successful
$showplayerflags = 1;
// Show player city name next to their flag and country name (player.php) based on their IP (has no effect when $showplayerflags = 0)
// 0 to disable
// Installation instructions:
// 1. Download latest GeoLiteCity_YYYYMMDD.zip from http://www.maxmind.com/app/geolitecity and extract the files to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoLiteCity_YYYYMMDD.zip, GeoLiteCity-Blocks.csv and GeoLiteCity-Location.csv when installation is successful
$showplayercity = 1;
// Google Maps (player.php) additional URL parameters (URL postfix)
// Default: "&t=h&z=5"
// Examples: (there is more!)
// t => h = Satellite with labels / k = Satellite without labels / p = Terrain
// z => Zoom factor
// lci => com.panoramio.all = Photos / org.wikipedia.en = Wikipedia / com.youtube.all = Videos (combined with comma)
// Try out the usable parameters yourself
$googlemaps_addparam = "&t=h&z=5";
// Google Maps (index.php) API key (get yours from http://code.google.com/apis/maps/signup.html)
$googlemaps_apikey = "ABQIAAAApU5GE1fbFgLJ7sXoJct7QBRrODovWx8E3Kbs I9NOopJPL8Rf4hRu7uIOSN1dUwUPpnQI4Rqw6GCisg";
// Show Google Maps (index.php) location for the first # players online (useful when web stats hosts multiple game servers)
// 0 to show all players
$googlemaps_showplayersonlinecount = 0;
// Google Maps (index.php) players online additional URL parameters (URL postfix)
// Default: "&size=600x300&maptype=satellite&sensor=false "
$googlemaps_playersonline_addparam = "&size=600x300&maptype=satellite&sensor=false ";
// Google Maps (index.php) zoom when only one players online (or only server is displayed)
$googlemaps_playersonline_zoom = 3;
/*
Population CSV file. This is taken from the United States Census Bureau, you
can download a (possibly) more up-to-date file from this URL:
http://www.census.gov/popest/datasets.html
The file will be about half way down, under "Metropolitan, micropolitan, and
combined statistical area datasets", the CSV file under "Combined
statistical area population and estimated components of change". Or, check
the release thread and I can provide an exact URL for the download.
Keep in mind that the file has been drastically altered from it's original
state, including adding individual States as well as the entire US. If you
want to create your own CSV file, message me on Allied Modders and I will
help and possibly include it in a next release.
*/
$population_file = "population.usa.csv";
/*
Only display City results, and not Counties. Note: This will drastically
reduce the uniqueness of the results, cities only make up about 1/3rd of
the list. Set to True to enable. Default is False.
Also note, the minimum kills if you are using only citites needs to be
14000 or else you will get erroneous results! Default is 3000.
*/
$population_minkills = 3000;
$population_cities = False;
?>
apuokas is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 08-24-2010 , 07:57   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #993

Quote:
Originally Posted by apuokas View Post
not see server place in google map, but players see.... (sorry bad eng)
my config.php
<?php
/*
============================================= ===
LEFT 4 DEAD AND LEFT 4 DEAD 2 PLAYER RANK
Copyright (c) 2010 Mikko Andersson
============================================= ===
Configuration file - "config.php"
============================================= ===
*/
// MySQL information for L4D Stats DB
$mysql_server = "localhost";
$mysql_db = "l4dstats";
$mysql_user = "user";
$mysql_password = "password";
$mysql_tableprefix = "";
// MySQL information for IP to Country DB
// Fill this information only if a separate database is used
$mysql_ip2c_server = "";
$mysql_ip2c_db = "";
$mysql_ip2c_user = "";
$mysql_ip2c_password = "";
$mysql_ip2c_tableprefix = "";
// Heading for the stats page.
$site_name = "L4D-RequieM-[1.0.1.8]";
// Game server address (adds a Steam connection link over the site name)
// Multiple game server addresses supported (just write multiple configurations and use the correct syntax for each of them)
/* THIS LINE: DO NOT MODIFY OR REMOVE */ $game_addresses = array();
// Syntax:
// $game_addresses[] = array("<NAME>", "<ADDRESS>[:<PORT>]");
// Examples:
// $game_addresses[] = array("Server 1: Left 4 Dead 2", "my.site.net:27016");
// $game_addresses[] = array("Server 2: Kill Them Zombies", "123.0.0.234");
$game_addresses[] = array("L4D-RequieM-[1.0.1.8]", "1.2.3.4"); // EDIT "1.2.3.4" TO POINT YOUR GAME SERVER IP (AND PORT IF NOT THE DEFAULT 27015)
// Supported game versions
// 0 = Support both L4D1 and L4D2
// 1 = Left 4 Dead 1 (default)
// 2 = Left 4 Dead 2
$game_version = 1;
// Template for the stats page.
// Leave empty if the default template is used.
// Usage: "mytemplate" (requires directory ./templates/mytemplate existence)
$site_template = "";
// Award definitions file
$award_file = "awards.en.php";
$award_l4d2_file = "awards.l4d2.en.php";
// Refresh interval (seconds) for the front page (index.php)
// 0 = disabled
$stats_refreshinterval = 0;
// Minimum playtime and points required to be eligible for any awards, in minutes
$award_minplaytime = 60;
$award_minpointstotal = 0;
// Minimum kills, headshots and points to be eligible for "Headshot Ratio" award
$award_minkills = 1000;
$award_minheadshots = 1000;
$award_minpoints = 1000;
// Amount of time in minutes between Awards page cache updates.
// 0 to disable cacheing
$award_cache_refresh = 60;
// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod = 0;
// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
// Example: 24h - "M d, Y H:i";
$lastonlineformat = "M d, Y g:ia";
// Show player flags next to their names based on their IP
// 0 to disable
// Installation instructions:
// 1. Download and extract http://www.maxmind.com/download/geoi...CountryCSV.zip to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoIPCountryCSV.zip and GeoIPCountryWhois.csv when installation is successful
$showplayerflags = 1;
// Show player city name next to their flag and country name (player.php) based on their IP (has no effect when $showplayerflags = 0)
// 0 to disable
// Installation instructions:
// 1. Download latest GeoLiteCity_YYYYMMDD.zip from http://www.maxmind.com/app/geolitecity and extract the files to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoLiteCity_YYYYMMDD.zip, GeoLiteCity-Blocks.csv and GeoLiteCity-Location.csv when installation is successful
$showplayercity = 1;
// Google Maps (player.php) additional URL parameters (URL postfix)
// Default: "&t=h&z=5"
// Examples: (there is more!)
// t => h = Satellite with labels / k = Satellite without labels / p = Terrain
// z => Zoom factor
// lci => com.panoramio.all = Photos / org.wikipedia.en = Wikipedia / com.youtube.all = Videos (combined with comma)
// Try out the usable parameters yourself
$googlemaps_addparam = "&t=h&z=5";
// Google Maps (index.php) API key (get yours from http://code.google.com/apis/maps/signup.html)
$googlemaps_apikey = "ABQIAAAApU5GE1fbFgLJ7sXoJct7QBRrODovWx8E3Kbs I9NOopJPL8Rf4hRu7uIOSN1dUwUPpnQI4Rqw6GCisg";
// Show Google Maps (index.php) location for the first # players online (useful when web stats hosts multiple game servers)
// 0 to show all players
$googlemaps_showplayersonlinecount = 0;
// Google Maps (index.php) players online additional URL parameters (URL postfix)
// Default: "&size=600x300&maptype=satellite&sensor=false "
$googlemaps_playersonline_addparam = "&size=600x300&maptype=satellite&sensor=false ";
// Google Maps (index.php) zoom when only one players online (or only server is displayed)
$googlemaps_playersonline_zoom = 3;
/*
Population CSV file. This is taken from the United States Census Bureau, you
can download a (possibly) more up-to-date file from this URL:
http://www.census.gov/popest/datasets.html
The file will be about half way down, under "Metropolitan, micropolitan, and
combined statistical area datasets", the CSV file under "Combined
statistical area population and estimated components of change". Or, check
the release thread and I can provide an exact URL for the download.
Keep in mind that the file has been drastically altered from it's original
state, including adding individual States as well as the entire US. If you
want to create your own CSV file, message me on Allied Modders and I will
help and possibly include it in a next release.
*/
$population_file = "population.usa.csv";
/*
Only display City results, and not Counties. Note: This will drastically
reduce the uniqueness of the results, cities only make up about 1/3rd of
the list. Set to True to enable. Default is False.
Also note, the minimum kills if you are using only citites needs to be
14000 or else you will get erroneous results! Default is 3000.
*/
$population_minkills = 3000;
$population_cities = False;
?>
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
Ace1564
Member
Join Date: Dec 2008
Old 08-24-2010 , 08:08   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #994

Hi have followed the instructions, and have read all others who had simular problem but none worked for me. I get nothing on my L4D2 Stat http://www.mowclan.us/l4d_stats_web/index.php

This is my database.cfg file
Quote:
"l4dstats"
"driver" "mysql"
"host" "localhost"
"database" "database name here"
"user" "database user here"
"pass" "password here"
"port" "3306"
I have all files installed on my game server as requested but no stats on website are showing up even when there are players on server.

Heres my Config file:

Quote:
<?php
/*
============================================= ===
LEFT 4 DEAD AND LEFT 4 DEAD 2 PLAYER RANK
Copyright (c) 2010 Mikko Andersson
============================================= ===
Configuration file - "config.php"
============================================= ===
*/
// MySQL information for L4D Stats DB
$mysql_server = "localhost";
$mysql_db = "l4d2";
$mysql_user = "l4d2";
$mysql_password = "";
$mysql_tableprefix = "l4d2";
// MySQL information for IP to Country DB
// Fill this information only if a separate database is used
$mysql_ip2c_server = "";
$mysql_ip2c_db = "";
$mysql_ip2c_user = "";
$mysql_ip2c_password = "";
$mysql_ip2c_tableprefix = "";
// Heading for the stats page.
$site_name = "MOWCLAN L4D2 STATS";
// Game server address (adds a Steam connection link over the site name)
// Multiple game server addresses supported (just write multiple configurations and use the correct syntax for each of them)
/* THIS LINE: DO NOT MODIFY OR REMOVE */ $game_addresses = array();
// Syntax:
$game_addresses[] = array("MOWCLAN S1 MODDED", "208.167.247.192","27015");
// Examples:
// $game_addresses[] = array("Server 1: Left 4 Dead 2", "my.site.net:27016");
// $game_addresses[] = array("Server 2: Kill Them Zombies", "123.0.0.234");
// Supported game versions
// 0 = Support both L4D1 and L4D2
// 1 = Left 4 Dead 1 (default)
// 2 = Left 4 Dead 2
$game_version = 2;
// Template for the stats page.
// Leave empty if the default template is used.
// Usage: "mytemplate" (requires directory ./templates/mytemplate existence)
$site_template = "";
// Award definitions file
$award_file = "awards.en.php";
$award_l4d2_file = "awards.l4d2.en.php";
// Refresh interval (seconds) for the front page (index.php)
// 0 = disabled
$stats_refreshinterval = 0;
// Minimum playtime and points required to be eligible for any awards, in minutes
$award_minplaytime = 60;
$award_minpointstotal = 0;
// Minimum kills, headshots and points to be eligible for "Headshot Ratio" award
$award_minkills = 1000;
$award_minheadshots = 1000;
$award_minpoints = 1000;
// Amount of time in minutes between Awards page cache updates.
// 0 to disable cacheing
$award_cache_refresh = 60;
// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod = 0;
// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
// Example: 24h - "M d, Y H:i";
$lastonlineformat = "M d, Y g:ia";
// Show player flags next to their names based on their IP
// 0 to disable
// Installation instructions:
// 1. Download and extract http://www.maxmind.com/download/geoi...CountryCSV.zip to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoIPCountryCSV.zip and GeoIPCountryWhois.csv when installation is successful
$showplayerflags = 1;
// Show player city name next to their flag and country name (player.php) based on their IP (has no effect when $showplayerflags = 0)
// 0 to disable
// Installation instructions:
// 1. Download latest GeoLiteCity_YYYYMMDD.zip from http://www.maxmind.com/app/geolitecity and extract the files to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoLiteCity_YYYYMMDD.zip, GeoLiteCity-Blocks.csv and GeoLiteCity-Location.csv when installation is successful
$showplayercity = 1;
// Google Maps (player.php) additional URL parameters (URL postfix)
// Default: "&t=h&z=5"
// Examples: (there is more!)
// t => h = Satellite with labels / k = Satellite without labels / p = Terrain
// z => Zoom factor
// lci => com.panoramio.all = Photos / org.wikipedia.en = Wikipedia / com.youtube.all = Videos (combined with comma)
// Try out the usable parameters yourself
$googlemaps_addparam = "&t=h&z=5";
// Google Maps (index.php) API key (get yours from http://code.google.com/apis/maps/signup.html)
$googlemaps_apikey = "ABQIAAAA0HgbE1eoM22Lw05p6WBRQBQtt2wtsq9C vP-l4rlkK9ZWfRfW4BQpuh9AlSuVQyagwiZ4KR8YxSu4fg";
// Show Google Maps (index.php) location for the first # players online (useful when web stats hosts multiple game servers)
// 0 to show all players
$googlemaps_showplayersonlinecount = 0;
// Google Maps (index.php) players online additional URL parameters (URL postfix)
// Default: "&size=600x300&maptype=satellite&sensor=false "
$googlemaps_playersonline_addparam = "&size=600x300&maptype=satellite&sensor=false ";
// Google Maps (index.php) zoom when only one players online (or only server is displayed)
$googlemaps_playersonline_zoom = 3;
/*
Population CSV file. This is taken from the United States Census Bureau, you
can download a (possibly) more up-to-date file from this URL:
http://www.census.gov/popest/datasets.html
The file will be about half way down, under "Metropolitan, micropolitan, and
combined statistical area datasets", the CSV file under "Combined
statistical area population and estimated components of change". Or, check
the release thread and I can provide an exact URL for the download.
Keep in mind that the file has been drastically altered from it's original
state, including adding individual States as well as the entire US. If you
want to create your own CSV file, message me on Allied Modders and I will
help and possibly include it in a next release.
*/
$population_file = "population.usa.csv";
/*
Only display City results, and not Counties. Note: This will drastically
reduce the uniqueness of the results, cities only make up about 1/3rd of
the list. Set to True to enable. Default is False.
Also note, the minimum kills if you are using only citites needs to be
14000 or else you will get erroneous results! Default is 3000.
*/
$population_minkills = 3000;
$population_cities = False;
?>

Last edited by Ace1564; 08-24-2010 at 19:45.
Ace1564 is offline
Danny_l4d
Senior Member
Join Date: Feb 2010
Old 08-24-2010 , 08:26   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #995

No problem Muukis,

take your time with the update, it runs good, mabye an idead for the updat as well, a lot of server are using a revive plugin mabye you can add that also when you revive you get x points.

Danny
__________________
Danny_l4d is offline
pirko7
Junior Member
Join Date: Dec 2009
Old 08-24-2010 , 09:00   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #996

Hi.
I want game to save stats on my web, I need webhosting with remote control right? Is there any free webhosting that supports remote control?
My web is www.l4d2humr.bluefile.cz , but remote acess don't work. In this webhosting I have to post database manualy, but I want game to automaticaly updating it.
pirko7 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 08-25-2010 , 02:16   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #997

Quote:
Originally Posted by Ace1564 View Post
Hi have followed the instructions, and have read all others who had simular problem but none worked for me. I get nothing on my L4D2 Stat http://www.mowclan.us/l4d_stats_web/index.php

This is my database.cfg file


I have all files installed on my game server as requested but no stats on website are showing up even when there are players on server.

Heres my Config file:
What does your game server logs say? Is the plugin enabled (sm plugins list)?
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
Ace1564
Member
Join Date: Dec 2008
Old 08-25-2010 , 06:47   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #998

Quote:
Originally Posted by muukis View Post
What does your game server logs say? Is the plugin enabled (sm plugins list)?
The logs have no errors listed and the plugins list shows that the plugin is active.
Ace1564 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 08-25-2010 , 08:37   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #999

Quote:
Originally Posted by Ace1564 View Post
The logs have no errors listed and the plugins list shows that the plugin is active.
When you play at the server, does the plugin record the stats? Can you use the rankmenu to display top10 etc? If yes, your game server and the plugin is working properly, but your web stats is not. In that case, you will need to do a double check on your web stats connection info.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
Ace1564
Member
Join Date: Dec 2008
Old 08-25-2010 , 14:35   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #1000

Quote:
Originally Posted by muukis View Post
When you play at the server, does the plugin record the stats? Can you use the rankmenu to display top10 etc? If yes, your game server and the plugin is working properly, but your web stats is not. In that case, you will need to do a double check on your web stats connection info.
When on game server if i type rank in chat i get my stats position 1 of 5,000

If i type rankmenu as you indicated, i get nothing...

This is my config settings on website:
Quote:
<?php
/*
============================================= ===
LEFT 4 DEAD AND LEFT 4 DEAD 2 PLAYER RANK
Copyright (c) 2010 Mikko Andersson
============================================= ===
Configuration file - "config.php"
============================================= ===
*/
// MySQL information for L4D Stats DB
$mysql_server = "localhost";
$mysql_db = "l4dstats";
$mysql_user = "l4dstat";
$mysql_password = "mypassword here";
$mysql_tableprefix = "l4d";
// MySQL information for IP to Country DB
// Fill this information only if a separate database is used
$mysql_ip2c_server = "";
$mysql_ip2c_db = "";
$mysql_ip2c_user = "";
$mysql_ip2c_password = "";
$mysql_ip2c_tableprefix = "";
// Heading for the stats page.
$site_name = "MOWCLAN L4D2 STATS";
// Game server address (adds a Steam connection link over the site name)
// Multiple game server addresses supported (just write multiple configurations and use the correct syntax for each of them)
/* THIS LINE: DO NOT MODIFY OR REMOVE */ $game_addresses = array();
// Syntax:
$game_addresses[] = array("MOWCLAN S1 MODDED", "208.167.247.192:27015");
// Examples:
// $game_addresses[] = array("Server 1: Left 4 Dead 2", "my.site.net:27016");
// $game_addresses[] = array("Server 2: Kill Them Zombies", "123.0.0.234");
// Supported game versions
// 0 = Support both L4D1 and L4D2
// 1 = Left 4 Dead 1 (default)
// 2 = Left 4 Dead 2
$game_version = 2;
// Template for the stats page.
// Leave empty if the default template is used.
// Usage: "mytemplate" (requires directory ./templates/mytemplate existence)
$site_template = "";
// Award definitions file
$award_file = "awards.en.php";
$award_l4d2_file = "awards.l4d2.en.php";
// Refresh interval (seconds) for the front page (index.php)
// 0 = disabled
$stats_refreshinterval = 0;
// Minimum playtime and points required to be eligible for any awards, in minutes
$award_minplaytime = 60;
$award_minpointstotal = 0;
// Minimum kills, headshots and points to be eligible for "Headshot Ratio" award
$award_minkills = 1000;
$award_minheadshots = 1000;
$award_minpoints = 1000;
// Amount of time in minutes between Awards page cache updates.
// 0 to disable cacheing
$award_cache_refresh = 60;
// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod = 0;
// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
// Example: 24h - "M d, Y H:i";
$lastonlineformat = "M d, Y g:ia";
// Show player flags next to their names based on their IP
// 0 to disable
// Installation instructions:
// 1. Download and extract http://www.maxmind.com/download/geoi...CountryCSV.zip to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoIPCountryCSV.zip and GeoIPCountryWhois.csv when installation is successful
$showplayerflags = 1;
// Show player city name next to their flag and country name (player.php) based on their IP (has no effect when $showplayerflags = 0)
// 0 to disable
// Installation instructions:
// 1. Download latest GeoLiteCity_YYYYMMDD.zip from http://www.maxmind.com/app/geolitecity and extract the files to web stats root (same folder as updatetable.php)
// 2. Execute updatetable.php (use a web browser) - BE PATIENT AND WAIT FOR THE EXECUTION TO FINISH!
// 3. Delete files GeoLiteCity_YYYYMMDD.zip, GeoLiteCity-Blocks.csv and GeoLiteCity-Location.csv when installation is successful
$showplayercity = 1;
// Google Maps (player.php) additional URL parameters (URL postfix)
// Default: "&t=h&z=5"
// Examples: (there is more!)
// t => h = Satellite with labels / k = Satellite without labels / p = Terrain
// z => Zoom factor
// lci => com.panoramio.all = Photos / org.wikipedia.en = Wikipedia / com.youtube.all = Videos (combined with comma)
// Try out the usable parameters yourself
$googlemaps_addparam = "&t=h&z=5";
// Google Maps (index.php) API key (get yours from http://code.google.com/apis/maps/signup.html)
$googlemaps_apikey = "ABQIAAAA0HgbE1eoM22Lw05p6WBRQBQtt2wtsq9C vP-l4rlkK9ZWfRfW4BQpuh9AlSuVQyagwiZ4KR8YxSu4fg";
// Show Google Maps (index.php) location for the first # players online (useful when web stats hosts multiple game servers)
// 0 to show all players
$googlemaps_showplayersonlinecount = 0;
// Google Maps (index.php) players online additional URL parameters (URL postfix)
// Default: "&size=600x300&maptype=satellite&sensor=false "
$googlemaps_playersonline_addparam = "&size=600x300&maptype=satellite&sensor=false ";
// Google Maps (index.php) zoom when only one players online (or only server is displayed)
$googlemaps_playersonline_zoom = 3;
/*
Population CSV file. This is taken from the United States Census Bureau, you
can download a (possibly) more up-to-date file from this URL:
http://www.census.gov/popest/datasets.html
The file will be about half way down, under "Metropolitan, micropolitan, and
combined statistical area datasets", the CSV file under "Combined
statistical area population and estimated components of change". Or, check
the release thread and I can provide an exact URL for the download.
Keep in mind that the file has been drastically altered from it's original
state, including adding individual States as well as the entire US. If you
want to create your own CSV file, message me on Allied Modders and I will
help and possibly include it in a next release.
*/
$population_file = "population.usa.csv";
/*
Only display City results, and not Counties. Note: This will drastically
reduce the uniqueness of the results, cities only make up about 1/3rd of
the list. Set to True to enable. Default is False.
Also note, the minimum kills if you are using only citites needs to be
14000 or else you will get erroneous results! Default is 3000.
*/
$population_minkills = 3000;
$population_cities = False;
?>

And this is copy of my current database file on game server

Quote:
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"l4dstats"
"driver" "mysql"
"host" "localhost"
"database" "l4dstats"
"user" "l4dstat"
"pass" "mypassword here"
//"timeout" "0"
"port" "3306"
}
}
Attached Files
File Type: cfg databases.cfg (714 Bytes, 156 views)

Last edited by Ace1564; 08-25-2010 at 15:00.
Ace1564 is offline
Reply


Thread Tools
Display Modes

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 10:32.


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