Raised This Month: $89 Target: $400
 22% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-16-2018 , 11:37   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1871

Don't know why it's not letting me post this line... getting blocked by CloudFlare. Here's the pastebin of the error: https://pastebin.com/NJZDHBbc

Edit: based off of this post here - https://forums.alliedmods.net/showpo...postcount=1842 my server's running PHP7 and that might be the reason why this isn't working. Still haven't been fixed?

Last edited by Mr. Man; 06-16-2018 at 12:16.
Mr. Man is offline
Natan
AlliedModders Donor
Join Date: Aug 2015
Location: Behind you
Old 06-16-2018 , 23:38   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1872

That function is obsolete.
try to change to mysqli or PDO xD
__________________
Natan is offline
Tiger50
Member
Join Date: Feb 2010
Location: Southampton UK
Old 06-18-2018 , 10:23   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1873

Their is a work around as see on my servers custom stats

http://pwwebhosting.site.nfoservers....tats/index.php

Just a shame they are letting this plugin die, as I love it
Tiger50 is offline
Send a message via Yahoo to Tiger50
muukis
Veteran Member
Join Date: Apr 2009
Old 06-26-2018 , 03:28   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1874

I have created GitHub branch PHP7, where you can find a version that should work with the latest PHP version. I have not tested it properly and for instance the install wizard will most likely fail until I have fixed that too.

Take a look and please comment here if you find some issues with it.
__________________
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
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-26-2018 , 04:34   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1875

I cannot update anything after the year of 2017 until you add natives for PPM, Rank and Points.
__________________
Accepting private work. Contact me if you're interested.
If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

Total Donated: 10$
eyal282 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-26-2018 , 13:55   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1876

Quote:
Originally Posted by eyal282 View Post
I cannot update anything after the year of 2017 until you add natives for PPM, Rank and Points.
I have added the requested natives in THIS GitHub branch. However, I have little to none knowledge about natives and how they're supposed to be coded or used outside the plugin. If you could check them out and I will then merge the feature branch to the master - could you do that for me? Thanks!

The natives are called:
Code:
StatsGetClientPpm
StatsGetClientRank
StatsGetClientPoints
__________________
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
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-05-2018 , 14:29   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1877

I have https enabled on my web server and the individual player stats profile page doesn't seem to play nice... getting 500 error when I click on their names.
Mr. Man is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-06-2018 , 04:17   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1878

Went back a few pages and Johnny's repo just WURKS with https! Steps to do it:

1. Backup your current stats DB into a .sql dump
2. Get Webstats from Johnny's repo:
3. Change config.php to reflect current DB info (user name/password)
4. Deleted everything off current web /html/ folder or wherever you put your stats webpage in
5. Upload Johnny's webstats files
6. chmod 777 config.php
7. chmod 777 cache folder inside savi
8. Delete install folder
9. Change _web_installed = false; to true;

Your new spankin new website works. Also, what's the fix to Awards page being blank here: https://forums.alliedmods.net/showpo...postcount=1775 ? I am running into this now and haven't found a solution. This issue here: https://forums.alliedmods.net/showpo...postcount=1721 is also still unresolved.

Last edited by Mr. Man; 07-06-2018 at 20:44.
Mr. Man is offline
ZBzibing
Junior Member
Join Date: Dec 2012
Old 10-24-2018 , 13:13   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1879

Whether it is only supported to pass the score, as long as the player does not arrive in the security room, the score will not be recorded in SQL.
ZBzibing is offline
XBlade_RunnerX
Member
Join Date: Jun 2009
Old 07-05-2019 , 22:51   Re: [L4D & L4D2] Custom Player Stats v1.4B121
Reply With Quote #1880

Sorry to be a pain. I know that this is an old Plugin.

It still works awesome though!! I have no complaints. Love it!!

I was hoping that you could help me with coming up with a solution though for the flags not showing. I am pretty sure that it is because maxmind.com changed the format of the CSV files for the IP2Country DBs etc... Is there something we can do to get this working again? Maybe configure the plugin to use the new "GeoLite2 Free Downloadable Databases" format?? I dunno.. I am a noob and don't know much but would love to see the flags working again. My website is hosting it here:

http://fragzealot.com/l4d1_coop_stats.php

Although still in testing/development stages...

Much Thanks in advance
__________________
XBlade_RunnerX,
XBlade_RunnerX 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 16:56.


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