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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-14-2020 , 09:43   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1941

That's not the version Primeas posted. They uploaded the .smx without the source, this is against sourcemod rules.
__________________
Silvers is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 05-27-2020 , 02:52   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1942

Hello, all attachments have been removed, please add them again =)
KadabraZz is offline
sxslmk
Member
Join Date: Dec 2017
Location: CN
Old 05-27-2020 , 07:58   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1943

Quote:
Originally Posted by Silvers View Post
That's not the version Primeas posted. They uploaded the .smx without the source, this is against sourcemod rules.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_stats.sp - 248 views - 347.6 KB)
sxslmk is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 05-28-2020 , 05:39   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1944

Hello, thanks for the plugin, but I was referring to the whole thing, website, mysql and plugin, I would like to create a website like the one shown before
KadabraZz is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 05-28-2020 , 18:21   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1945

Quote:
Originally Posted by KadabraZz View Post
Hello, thanks for the plugin, but I was referring to the whole thing, website, mysql and plugin, I would like to create a website like the one shown before

I think all of Primea's stuff was blocked because he didn't provide the plugin source. May need to get in touch with him or a site mod to sort it out.
__________________
Mr. Man is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 06-01-2020 , 22:20   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1946

Quote:
Originally Posted by Primeas View Post
Hello, since Corona came I am not on the computer anymore. Yes I was reported because I didn't upload the source, I can't upload a source because I didn't "change" the plugin. I just created the template. The plugin is from Foxhound and I don't have the source. My template is based on the original plugin from Muukis, the modified version (plugin) is based on Foxhound. I am currently working on my own project and will soon bring my website online in my new server rack. Then I wanted to renew the template based on Muukis plugin without changes to the plugin except for the menu for agreeing the player stats. Corona got something in between ... Sorry for not uploading the plugin source, but I have nothing to do with the "modified plugin" only with the template. Contact Foxhound about plugin ...
Can you make the website available again? please. A question will your project support L4D1? Please think about us
KadabraZz is offline
sxslmk
Member
Join Date: Dec 2017
Location: CN
Old 06-05-2020 , 07:48   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1947

Quote:
Originally Posted by Primeas View Post
This is not true, Foxhound posted the source and it was stated in the description that I am only doing the template and Foxhound is writing the plugin. Foxhound also posted the plugin with the source file. Anyway, I removed the template and provided a fix for the original.



I will revise my linked post from Muukis and speak to the admin that he will unlock it. I will fix Muukis original webstats to PHP 7.4 and upload it over the next few days. To put it clearly again, the plugin is not changed by Muukis, only the PHP code / template. Foxhound is not available again so I will take the modified plugin out and hope that the lock will soon disappear. I will then upload different versions as a template, starting with the original one from Muukis which is fixed for PHP 7.4 and then a modern template which takes some time. both are L4D / L4D2 compatible based on the ORIGINAL plugin from Muukis
The last preview version with Foxhound won't be released? That webui is cool.

Last edited by sxslmk; 06-05-2020 at 07:49.
sxslmk is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 06-07-2020 , 05:55   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1948

Hello, I made the site as the tutorial said, the site works but when anything is saved in the database the site stops working

HTTP ERROR 500
KadabraZz is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 06-13-2020 , 08:36   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1949

Hello my settings are these.
PHP Code:
<?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 "ranking";
$mysql_user "root";
$mysql_password "mypassword";
$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 "N-BR ARCADE";

// 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 100;
$award_minheadshots 100;
$award_minpoints 1000;

// How many top players would you like to show on the awards page on each award?
// Note! You should set this value to at least 1.
$award_display_players 3;

// 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/geoip/database/GeoIPCountryCSV.zip to web stats root (same folder as updatetable.php)
//   2. Execute install.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 0;

// 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 install.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 0;

// 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 "";

// 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;

// Show/hide link for the timed maps (also disables the page for parameterless use)
$timedmaps_show_all False;

// Allow reading of player Steam profile (overrides all avatar related if set to False)
// Warning! Setting value to true can slow loading of some pages.
$steam_profile_read True;

// Show/hide player avatars (overrides all other avatar related if set to False)
$players_avatars_show True;

// Show/hide online player avatars
// Warning! Setting value to true will slow down the index page some, depending how
// many players are currently online.
$players_online_avatars_show False;

// Number of players to show additional info at Top 10 -players list (set to 0 to disable)
// Shows player avatar and some other information.
// Warning! Setting a number higher than 0 (zero) will slow every page load a little.
$top10players_additional_info 0;

// Show Message Of The Day in each page
$show_motd True;
?>
And my mysql is like this
https://prnt.sc/sz0gq3
KadabraZz is offline
Natan
BANNED
Join Date: Aug 2015
Location: Usa
Old 06-16-2020 , 11:01   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1950

Are you using Mukkis version or primeas/Fox version ?

In case you´re using the second one. That´s the wrong _config.php file

Last edited by Natan; 06-16-2020 at 11:02.
Natan is offline
Send a message via ICQ to Natan Send a message via AIM to Natan Send a message via Yahoo to Natan Send a message via Skype™ to Natan
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:42.


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